ColdState Usage API

Metering

GitHub OpenAPI

Operations 2

GET /v1/usage Current/last month and all-time usage with plan limits #
GET /v1/usage/history Monthly usage history (12 months) #

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/coldstate-ai:coldstate-ai-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

coldstate-ai-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coldstate Ai Usage API
  version: 0.1.0
  contact:
    name: ColdState
    url: https://services.coldstate.ai
    email: daniel@coldstate.ai
  termsOfService: https://services.coldstate.ai/terms
  description: 'Operations tagged Usage across 2 of this provider''s published API definitions: coldstate-ai-openapi.json, coldstate-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cold-api.coldstate.ai
security:
- bearerAuth: []
tags:
- name: Usage
  description: Metering
paths:
  /v1/usage:
    get:
      tags:
      - Usage
      summary: Current/last month and all-time usage with plan limits
      responses:
        '200':
          description: OK
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate or quota limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1Usage
      x-operation-id-source: derived
    servers:
    - url: https://cold-api.coldstate.ai
  /v1/usage/history:
    get:
      tags:
      - Usage
      summary: Monthly usage history (12 months)
      responses:
        '200':
          description: OK
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate or quota limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1UsageHistory
      x-operation-id-source: derived
    servers:
    - url: https://cold-api.coldstate.ai
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        statusCode:
          type: integer
      required:
      - error
      - message
      - statusCode
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key `cs_live_…` (or dashboard session `cs_sess_…`)
externalDocs:
  description: Human-readable API reference
  url: https://services.coldstate.ai/docs
x-refined-from:
- coldstate-ai-openapi.json
- coldstate-ai-openapi.yml