Comma Account API

Usage and plan limits for the token's owner.

GitHub OpenAPI

Operations 2

GET /me/usage Current-month routine usage + credit balance #
GET /me/plan-caps Plan limits and AI-compute cost rails #

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/commareports-com:commareports-com-account-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

commareports-com-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Commareports Com Account API
  version: 1.0.0
  contact:
    url: https://commareports.com/contact
  description: 'Operations tagged Account across 2 of this provider''s published API definitions: commareports-com-openapi.json, commareports-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://commareports.com/api/v1
security:
- commaApiToken: []
tags:
- name: Account
  description: Usage and plan limits for the token's owner.
paths:
  /me/usage:
    get:
      tags:
      - Account
      operationId: getUsage
      summary: Current-month routine usage + credit balance
      description: Raw AI-compute cost, the billable figure (raw × (1 + markup)), prepaid credit balance, and a per-skill breakdown for the current UTC month. Any valid token works (no specific scope). Also accepts a Supabase user-session JWT.
      security:
      - commaApiToken: []
      - supabaseSessionJwt: []
      responses:
        '200':
          description: Usage summary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://commareports.com/api/v1
  /me/plan-caps:
    get:
      tags:
      - Account
      operationId: getPlanCaps
      summary: Plan limits and AI-compute cost rails
      description: The owner's plan, routine ceilings, per-run and monthly USD caps, markup, and month-to-date usage/headroom. Any valid token works (no specific scope). Also accepts a Supabase user-session JWT.
      security:
      - commaApiToken: []
      - supabaseSessionJwt: []
      responses:
        '200':
          description: Plan caps.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanCaps'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://commareports.com/api/v1
components:
  schemas:
    Usage:
      type: object
      properties:
        month_start:
          type: string
          format: date
          description: First day of the current UTC month.
        plan:
          type: string
        credit_balance_usd:
          type: number
          description: Prepaid AI-compute balance.
        runs:
          type: integer
        input_tokens:
          type: integer
        output_tokens:
          type: integer
        raw_cost_usd:
          type: number
        billable_cost_usd:
          type: number
          description: raw_cost_usd × (1 + markup).
        monthly_usd_cap:
          type:
          - number
          - 'null'
        by_skill:
          type: array
          items:
            $ref: '#/components/schemas/UsageBySkill'
      required:
      - month_start
      - plan
      - credit_balance_usd
      - runs
      - raw_cost_usd
      - billable_cost_usd
      - by_skill
    UsageBySkill:
      type: object
      properties:
        skill_id:
          type: string
          format: uuid
        skill_name:
          type: string
        runs:
          type: integer
        raw_cost_usd:
          type: number
        billable_cost_usd:
          type: number
      required:
      - skill_id
      - skill_name
      - runs
      - raw_cost_usd
      - billable_cost_usd
    PlanCaps:
      type: object
      properties:
        plan:
          type: string
        min_routine_interval_minutes:
          type:
          - integer
          - 'null'
          description: null = any cadence.
        max_routines:
          type:
          - integer
          - 'null'
          description: null = unlimited.
        per_run_usd_cap:
          type:
          - number
          - 'null'
        bedrock_byok_enabled:
          type: boolean
        monthly_usd_cap:
          type:
          - number
          - 'null'
        markup_pct:
          type:
          - number
          - 'null'
        monthly_credit_usd:
          type:
          - number
          - 'null'
        monthly_base_usd:
          type:
          - number
          - 'null'
        monthly_usage_usd:
          type: number
        monthly_headroom_usd:
          type:
          - number
          - 'null'
      required:
      - plan
      - bedrock_byok_enabled
      - monthly_usage_usd
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  responses:
    Unauthorized:
      description: Missing, invalid, revoked, or expired token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: 'Rate limit exceeded. Rate limit: per-token sliding window (plan-aware — Free 60 req/min, Pro 600, Team/Enterprise 6000 by default); 429 responses carry a Retry-After header.'
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    commaApiToken:
      type: http
      scheme: bearer
      bearerFormat: comma_sk_…
      description: Comma personal API token (Settings → API tokens). Scoped, revocable, optionally expiring. The same token also authenticates the MCP server at /api/mcp.
    supabaseSessionJwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase user-session access token — the signed-in browser path. Only accepted where an operation explicitly lists it.
x-refined-from:
- commareports-com-openapi.json
- commareports-com-openapi.yml