Ctxfy API
API for AI context management — spaces, sources, artifacts, and file uploads.
Overview
Ctxfy provides HTTP API access for AI context management: save conversation state as snapshots, extract structured context and artifacts, organize work in Spaces. The API is available on Pro and Enterprise plans. All routes under /v1 require authentication.
Use Quickstart to integrate in minutes. For authentication details, see Authentication.
Why Ctxfy?
Stop losing hours to AI context recovery. Ctxfy helps you:
- Resume in 30 seconds — Turn re-reading 200-message threads into a single paste. Extract critical state from old chats into compact, reusable snapshots.
- Cut token costs by 65–75% — Compress conversation state by 3–4×. Fit more relevant information into one prompt without burning tokens on repetition.
- Find code in seconds — Auto-extract code, schemas, and diagrams. Searchable artifacts instead of scrolling through hundreds of messages.
- Works with any AI — ChatGPT, Claude, Gemini, Llama. Provider-agnostic; your context travels with you.
Core resources
Spaces
Organize projects. Create spaces, list, update, delete.
Collections
Folders within a space. Tree structure for grouping sources.
Sources
Raw input — AI conversations, documents, or files you upload for processing.
Artifacts
Code, schemas, diagrams, and context extracted from sources.
API Keys
User-scoped keys for server-side or script access. Full access to user resources.
File Upload
Presigned URLs for uploading files before creating sources.
Authentication
All requests to /v1/* (except /health and /metrics) require:
Authorization: Bearer <api_key>
Use a User API Key. See Authentication for details.
Rate limiting
- Free plan: 10 requests/minute
- Pro and above: 100 requests/minute
Response headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.
On exceed: 429 Too Many Requests with Retry-After header.
Capabilities by theme
Ctxfy delivers compression, source pipeline (ingest → context formation → merge), context and artifacts (state, extraction, assembly), quality and governance, integration and delivery, cost and observability, and ideation and automation. See Capabilities for one-line descriptions and how they map to the API.
Next steps
Last updated Feb 19, 2026
Built with Documentation.AI