Patricia Usage Limits API

The usage-limits API from Patricia — 1 operation(s) for usage-limits.

GitHub OpenAPI

Operations 1

GET /v1/usage-limits Get the workspace usage against every 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/patricia-app:patricia-app-usage-limits-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

patricia-app-usage-limits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Usage Limits API
  version: 0.1.0
tags:
- name: usage limits
paths:
  /v1/usage-limits:
    get:
      tags:
      - usage limits
      summary: Get the workspace usage against every limit
      description: 'Every limit the caller''s workspace has, with current usage where one applies: monthly spend and per-run budgets, credits, browser time, AI-app runs, proactive-reply caps, the bug-report filing cap, the data-retention window, and the reasoning posture. Read-only; each limit is changed on its own settings surface.'
      operationId: get_usage_limits_v1_usage_limits_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageLimitsResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    UsageLimitsResponse:
      properties:
        sections:
          items:
            $ref: '#/components/schemas/UsageLimitSection'
          type: array
          title: Sections
      type: object
      required:
      - sections
      title: UsageLimitsResponse
      description: Every limit the caller's workspace has, with current usage, in display order.
    UsageLimitItem:
      properties:
        key:
          type: string
          title: Key
          description: Stable machine id for this limit (e.g. 'spend.monthly_cap').
        label:
          type: string
          title: Label
          description: Friendly name shown on the card.
        summary:
          type: string
          title: Summary
          description: Plain-language one-liner explaining what the limit does.
        kind:
          type: string
          enum:
          - meter
          - balance
          - setting
          title: Kind
          description: 'How the item renders: meter, balance, or setting.'
        status:
          type: string
          enum:
          - ok
          - near
          - reached
          - 'off'
          title: Status
          description: 'Honest state: ok, near (80%+), reached, or off.'
        used:
          anyOf:
          - type: number
          - type: 'null'
          title: Used
          description: Current usage (meters) or remaining amount (balances).
        limit:
          anyOf:
          - type: number
          - type: 'null'
          title: Limit
          description: The cap (meters) or configured value (settings).
        unit:
          anyOf:
          - type: string
            enum:
            - usd
            - credits
            - minutes
            - recordings
            - replies
            - reports
            - days
            - runs
          - type: 'null'
          title: Unit
          description: How to format the numbers.
        period_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Period Label
          description: When the numbers apply, e.g. 'this month' or 'right now'.
        source:
          anyOf:
          - type: string
            enum:
            - default
            - custom
          - type: 'null'
          title: Source
          description: Whether the cap is Patricia's recommended default or a workspace override.
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
          description: Honest context, e.g. why a feature-off limit has nothing to show.
        detail:
          anyOf:
          - type: string
          - type: 'null'
          title: Detail
          description: Technical detail for the advanced reveal.
        manage_tab:
          anyOf:
          - type: string
            enum:
            - billing
            - spending
            - data
            - model
          - type: 'null'
          title: Manage Tab
          description: The Settings tab where this limit is changed, when one exists.
      type: object
      required:
      - key
      - label
      - summary
      - kind
      - status
      title: UsageLimitItem
      description: 'One limit: what it is, where usage stands against it, and where to change it.'
    ErrorResponse:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        errors:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Errors
      type: object
      required:
      - code
      - message
      title: ErrorResponse
      description: Standard error envelope, matching exception handler output.
    UsageLimitSection:
      properties:
        key:
          type: string
          title: Key
        title:
          type: string
          title: Title
        description:
          type: string
          title: Description
        items:
          items:
            $ref: '#/components/schemas/UsageLimitItem'
          type: array
          title: Items
      type: object
      required:
      - key
      - title
      - description
      - items
      title: UsageLimitSection
      description: A titled group of related limits (display order = list order).
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer