Parallel · Schema

UsageResponse

Usage spans for the authenticated organization.

CompanyArtificial IntelligenceWeb SearchAgentsDeep ResearchWeb ExtractionData EnrichmentWeb MonitoringLLM ToolsA2AAI AgentsMCPAgent SkillsContent ExtractionEntity Resolution

Properties

Name Type Description
usage array Usage spans, ascending by start time
View JSON Schema on GitHub

JSON Schema

parallel-ai-usage-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/parallel-ai/json-schema/parallel-ai-usage-response-schema.json",
  "title": "UsageResponse",
  "description": "Usage spans for the authenticated organization.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/parallel-ai-account-api-openapi.yml#/components/schemas/UsageResponse",
  "properties": {
    "usage": {
      "items": {
        "$ref": "#/$defs/UsageSpanResponse"
      },
      "type": "array",
      "title": "Usage",
      "description": "Usage spans, ascending by start time"
    }
  },
  "type": "object",
  "$defs": {
    "UsageLineItemResponse": {
      "properties": {
        "product": {
          "type": "string",
          "title": "Product",
          "description": "Billed product name, as it appears on invoices"
        },
        "api_key_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Api Key Id",
          "description": "API key the usage was billed under; null when the usage is not attributed to a specific key"
        },
        "api_key_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Api Key Name",
          "description": "Display name of that API key; null when the usage is not attributed to a key or the key has since been deleted or rotated"
        },
        "app_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "App Name",
          "description": "App the usage was billed under, when grouped"
        },
        "processor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Processor",
          "description": "Processor the usage was billed under, when grouped"
        },
        "quantity": {
          "type": "number",
          "title": "Quantity",
          "description": "Billed usage quantity"
        },
        "total_cost_cents": {
          "type": "number",
          "title": "Total Cost Cents",
          "description": "Total cost of this line item in cents (quantity already applied)"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "description": "Currency code, e.g. USD"
        }
      },
      "type": "object",
      "required": [
        "product",
        "quantity",
        "total_cost_cents",
        "currency"
      ],
      "title": "UsageLineItemResponse",
      "description": "One billed usage line item within a time span."
    },
    "UsageSpanResponse": {
      "properties": {
        "start_time": {
          "type": "string",
          "format": "date-time",
          "title": "Start Time",
          "description": "Span start, inclusive (UTC)"
        },
        "end_time": {
          "type": "string",
          "format": "date-time",
          "title": "End Time",
          "description": "Span end, exclusive (UTC)"
        },
        "line_items": {
          "items": {
            "$ref": "#/$defs/UsageLineItemResponse"
          },
          "type": "array",
          "title": "Line Items",
          "description": "Usage breakdown for this span"
        }
      },
      "type": "object",
      "required": [
        "start_time",
        "end_time"
      ],
      "title": "UsageSpanResponse",
      "description": "Usage line items for one UTC day or calendar month."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/parallel-ai-usage-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.