ctxstore.ai Context API

The Context API from ctxstore.ai — 1 operation(s) for context.

GitHub OpenAPI

Operations 1

GET /api/v1/context Compiled wake bundle #

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/ctxstore-ai:ctxstore-ai-context-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

ctxstore-ai-context-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ctxstore Ai Context API
  version: 1.0.0
  contact:
    name: ctxstore.ai
    url: https://ctxstore.ai
  description: 'Operations tagged Context across 2 of this provider''s published API definitions: ctxstore-ai-openapi.json, ctxstore-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://ctxstore.ai
  description: Production
security:
- BearerAuth: []
tags:
- name: Context
paths:
  /api/v1/context:
    get:
      operationId: get_context
      summary: Compiled wake bundle
      description: 'The same compiled memory an MCP session receives with its first tool result: status line, SINCE YOU LEFT, baton, L0-L3 layers and recent writes for this account. For headless agents that wake over REST.'
      parameters:
      - name: agent_id
        in: query
        required: false
        schema:
          type: string
        description: Agent id whose self-notes and SINCE YOU LEFT diff to include
      - name: max_bytes
        in: query
        required: false
        schema:
          type: integer
          default: 8192
          maximum: 16384
        description: Byte budget for the bundle (1024-16384)
      responses:
        '200':
          description: Compiled bundle
          content:
            application/json:
              schema:
                type: object
                properties:
                  agent_id:
                    type: string
                  max_bytes:
                    type: integer
                  bytes:
                    type: integer
                  bundle:
                    type: string
        '401':
          description: Unauthorized
      tags:
      - Context
    servers:
    - url: https://ctxstore.ai
      description: Production
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key from ctxstore.ai dashboard. Format: Bearer emk_...'
x-refined-from:
- ctxstore-ai-openapi.json
- ctxstore-ai-openapi.yml