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.
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