ctlsurf Usage API

The usage API from ctlsurf — 3 operation(s) for usage.

GitHub OpenAPI

Operations 3

GET /api/usage Get Usage #
GET /api/usage/limits Get Limits #
GET /api/usage/check/{limit_type} Check Usage Limit #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ctlsurf-com:ctlsurf-com-usage-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ctlsurf-com-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ctlsurf Com Usage API
  version: 0.1.0
  description: 'Operations tagged usage across 2 of this provider''s published API definitions: ctlsurf-com-openapi.json, ctlsurf-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.ctlsurf.com
  description: ctlsurf application host (documented MCP endpoint https://app.ctlsurf.com/api/mcp; spec served at /openapi.json)
tags:
- name: Usage
paths:
  /api/usage:
    get:
      tags:
      - Usage
      summary: Get Usage
      description: Get current usage stats for the authenticated user.
      operationId: get_usage_api_usage_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageResponse'
      security:
      - HTTPBearer: []
  /api/usage/limits:
    get:
      tags:
      - Usage
      summary: Get Limits
      description: Get limits for the user's current tier.
      operationId: get_limits_api_usage_limits_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TierLimitsResponse'
      security:
      - HTTPBearer: []
  /api/usage/check/{limit_type}:
    get:
      tags:
      - Usage
      summary: Check Usage Limit
      description: 'Check if user is at or over a specific limit.


        Args:

        limit_type: One of ''api_calls'', ''storage'', ''folders'''
      operationId: check_usage_limit_api_usage_check__limit_type__get
      security:
      - HTTPBearer: []
      parameters:
      - name: limit_type
        in: path
        required: true
        schema:
          type: string
          title: Limit Type
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitCheckResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UsageResponse:
      properties:
        api_calls:
          type: integer
          title: Api Calls
        storage_bytes:
          type: integer
          title: Storage Bytes
        folders:
          type: integer
          title: Folders
        project_skills:
          type: integer
          title: Project Skills
        period_start:
          type: string
          format: date
          title: Period Start
        limits:
          $ref: '#/components/schemas/TierLimitsResponse'
        api_calls_percent:
          type: number
          title: Api Calls Percent
        storage_percent:
          type: number
          title: Storage Percent
        folders_percent:
          type: number
          title: Folders Percent
        project_skills_percent:
          type: number
          title: Project Skills Percent
        tier:
          type: string
          title: Tier
        in_grace_period:
          type: boolean
          title: In Grace Period
          default: false
        grace_period_ends:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Grace Period Ends
        over_api_calls_limit:
          type: boolean
          title: Over Api Calls Limit
          default: false
        over_storage_limit:
          type: boolean
          title: Over Storage Limit
          default: false
        over_folders_limit:
          type: boolean
          title: Over Folders Limit
          default: false
        over_project_skills_limit:
          type: boolean
          title: Over Project Skills Limit
          default: false
      type: object
      required:
      - api_calls
      - storage_bytes
      - folders
      - project_skills
      - period_start
      - limits
      - api_calls_percent
      - storage_percent
      - folders_percent
      - project_skills_percent
      - tier
      title: UsageResponse
      description: Current usage stats.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    LimitCheckResponse:
      properties:
        allowed:
          type: boolean
          title: Allowed
        current:
          type: integer
          title: Current
        limit:
          type: integer
          title: Limit
        limit_type:
          type: string
          title: Limit Type
        usage_percent:
          type: number
          title: Usage Percent
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
      type: object
      required:
      - allowed
      - current
      - limit
      - limit_type
      - usage_percent
      title: LimitCheckResponse
      description: Result of a limit check.
    TierLimitsResponse:
      properties:
        api_calls:
          type: integer
          title: Api Calls
        storage_bytes:
          type: integer
          title: Storage Bytes
        folders:
          type: integer
          title: Folders
        project_skills:
          type: integer
          title: Project Skills
        workers:
          type: integer
          title: Workers
      type: object
      required:
      - api_calls
      - storage_bytes
      - folders
      - project_skills
      - workers
      title: TierLimitsResponse
      description: Limits for a tier.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- ctlsurf-com-openapi.json
- ctlsurf-com-openapi.yml