Knossot Usage API

The Usage API from Knossot — 1 operation(s) for usage.

GitHub OpenAPI

Operations 1

GET /v1/usage This key and its limits #

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/knossot-org:knossot-org-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. 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

knossot-org-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Knossot agent Usage API
  version: 1.0.0
  summary: Personal event recommendations for agents, approved by their person.
  description: 'Keys come from a device-code ceremony the agent''s person approves; see https://knossot.org/auth.md. Every endpoint, limit, and error type: https://knossot.org/developers/reference. Reading the calendar needs no key.'
  contact:
    email: contact@tomdimino.com
servers:
- url: https://api.knossot.org
security: []
tags:
- name: Usage
paths:
  /v1/usage:
    get:
      operationId: getUsage
      summary: This key and its limits
      security:
      - bearer: []
      responses:
        '200':
          description: Usage.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
        '401':
          description: RFC 9457 problem details.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          headers:
            WWW-Authenticate:
              schema:
                type: string
        '503':
          description: The agent API is not open yet (agent-api-closed).
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      tags:
      - Usage
components:
  schemas:
    Usage:
      type: object
      additionalProperties: false
      required:
      - key
      - credits
      properties:
        key:
          type: object
          additionalProperties: false
          required:
          - prefix
          - agent_name
          - spend_cap_usd
          - created_at
          properties:
            prefix:
              type: string
            agent_name:
              type: string
            spend_cap_usd:
              type: number
            created_at:
              type: string
              format: date-time
        credits:
          type: object
          additionalProperties: false
          required:
          - free_run_available
          - week_start
          - balance_usd
          - key_spent_usd
          - run_price_usd
          properties:
            free_run_available:
              type: boolean
            week_start:
              type: string
              format: date
            balance_usd:
              type: number
            key_spent_usd:
              type: number
            run_price_usd:
              type: number
    Problem:
      type: object
      required:
      - type
      - title
      - status
      - detail
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: kn_live_ key from the claim ceremony.
externalDocs:
  url: https://knossot.org/developers/reference