ContextQ API

ContextQ API as documented publicly: 97 operations. Contract generated from the documentation by API Evangelist (2026-11-04); not the provider's own document.

Operations 97

GET /api/code/quota Code-context quota pre-flight #
GET /api/connectors List this tenant's connector sources #
POST /api/connectors Create a connector source #
DELETE /api/connectors/{id} Delete a connector source #
GET /api/connectors/{id} Fetch one connector source #
PATCH /api/connectors/{id} Update a connector source #
POST /api/connectors/{id}/sync Manually trigger a sync for one connector source #
GET /api/contexts List contexts (filterable, paginated) #
POST /api/contexts Create a context #
POST /api/contexts/bulk Bulk lifecycle/archive patch across many contexts in one call #
POST /api/contexts/bulk-upsert Idempotent bulk upsert keyed on externalId (external connector intake) #
GET /api/contexts/by-external/{externalid} Fetch a context by its externalId #
POST /api/contexts/merge Merge 2-10 contexts into a single target (admin scope) #
GET /api/contexts/quarantine/inbox Admin-only unified review inbox for quarantined contexts #
DELETE /api/contexts/{id} Delete a context #
GET /api/contexts/{id} Fetch a context by id #
PUT /api/contexts/{id} Update a context (partial — omitted fields are left unchanged) #
GET /api/contexts/{id}/belief-events Append-only ledger of every confidence delta applied to this context (T359) #
GET /api/contexts/{id}/blast-radius Fan-out impact analysis before a belief update (T362) #
GET /api/contexts/{id}/chunks Block-level chunks for a context, ordered by chunk_index #
GET /api/contexts/{id}/confidence Belief confidence & calibration ledger (T359) #
POST /api/contexts/{id}/evolve Manually (re-)run memory evolution for an existing context #
POST /api/contexts/{id}/evolve/apply Apply selected proposals from a stored evolution review #
GET /api/contexts/{id}/provenance Belief provenance chain (T358) walked backward from this context #
POST /api/contexts/{id}/quarantine/review Admin resolution of a quarantined context (T350/T364) #
POST /api/contexts/{id}/resolve-contradiction Resolve a context disputed by a `contradicts` link (T352) #
GET /api/contexts/{id}/reverify Reverification (self-testing memory) clock state + recent attempts (T361) #
PATCH /api/contexts/{id}/reverify Opt a context into (or reschedule) the reverification clock (T361) #
POST /api/contexts/{id}/undo-archive Undo a memory-evolution auto-archive within the configured window #
GET /api/contexts/{id}/undo-archive-info Whether a memory-evolution auto-archive can still be undone #
GET /api/contexts/{id}/versions Belief version timeline (T360) — historical snapshots + the live row #
POST /api/contexts/{id}/versions/{seq}/restore Restore a context to a prior version_seq (T710) #
POST /api/documents Upload one or more documents for async parse + chunk + embed (T383) #
GET /api/federation/subscriptions List this tenant's federation subscriptions #
POST /api/federation/subscriptions Create a federation subscription #
DELETE /api/federation/subscriptions/{id} Unsubscribe (revoke) #
GET /api/federation/subscriptions/{id} Fetch one federation subscription #
PATCH /api/federation/subscriptions/{id} Update a federation subscription #
POST /api/federation/subscriptions/{id}/pause Pause scheduled polling #
POST /api/federation/subscriptions/{id}/resume Resume a paused subscription #
POST /api/federation/subscriptions/{id}/rotate-key Rotate the TOFU-pinned remote signing key #
POST /api/federation/subscriptions/{id}/rotate-webhook-secret Issue a new inbound webhook HMAC secret #
POST /api/federation/subscriptions/{id}/sync Manually trigger a pull #
POST /api/federation/webhook/{id} Inbound nudge from the publishing instance #
POST /api/goal/sync Bulk-upsert a ctq-tasks manifest push #
GET /api/hook-endpoints List this tenant's admission endpoints in call order #
POST /api/hook-endpoints Register an admission endpoint #
DELETE /api/hook-endpoints/{id} Delete an admission endpoint, its grant and its counters #
GET /api/hook-endpoints/{id} Fetch one admission endpoint with its hourly counters for the last 7 days #
PATCH /api/hook-endpoints/{id} Update an admission endpoint #
PUT /api/hook-endpoints/{id}/content-grant PUT /api/hook-endpoints/{id}/content-grant #
POST /api/hook-endpoints/{id}/rotate-secret Replace the signing secret; the new one is returned once #
GET /api/hook-rules List this tenant's hook rules in evaluation order #
POST /api/hook-rules Create a hook rule #
POST /api/hook-rules/dry-run Evaluate a candidate context against the saved rules (or one unsaved rule) without writing #
DELETE /api/hook-rules/{id} Delete a hook rule #
GET /api/hook-rules/{id} Fetch one hook rule with its hourly counters for the last 7 days #
PATCH /api/hook-rules/{id} Update a hook rule #
POST /api/interchange/export Export a signed Memory Interchange Format (MIF) bundle #
POST /api/interchange/import Import a signed MIF bundle #
GET /api/memory List/search memories for a subject (sugar over POST /api/search) #
POST /api/memory Extract durable facts from a conversation (Mem0-parity) #
POST /api/retrieve One-round-trip passages + memories + citations retrieval (T386) #
POST /api/search Hybrid search over contexts (PG tsvector + Elasticsearch BM25 + RRF fusion) #
GET /api/subjects List registered subjects (end-user identities) for the tenant #
POST /api/subjects/merge Merge an anonymous subjectId into a real one (T414, widget-kit login-merge) #
GET /api/subjects/{subjectid} Fetch one subject's profile + consent #
PUT /api/subjects/{subjectid} Create-or-update a subject (shallow-merges profile/consent) #
GET /api/subjects/{subjectid}/groups Which groups this subject is a verified member of (T414) #
POST /api/subjects/{subjectid}/magic-link Issue a passwordless, single-use magic-link token for the end-user memory portal (T424) #
DELETE /api/subjects/{subjectid}/memories GDPR right-to-erasure for one end-user (T395) #
GET /api/subjects/{subjectid}/profile Fetch the periodically-synthesized profile document for a subject (T412) #
POST /api/subjects/{subjectid}/profile/refresh On-demand (re)synthesis of a subject's profile (T412) #
GET /api/tasks/{taskid} Read an async job as an MCP-tasks-shaped status #
POST /api/tasks/{taskid}/cancel Request cancellation of an async job (acknowledged only) #
POST /api/webhook-endpoints/{id}/test Send a manual test delivery #
POST /api/workspaces/ensure Get-or-create a workspace (idempotent) #
GET /auth/device/info Describe a pending device authorization for the approval page (T832) #
POST /auth/device/start Start an OAuth 2.0 Device Authorization Grant (RFC 8628-shaped) flow (T453) #
POST /auth/device/token Poll for the outcome of a device authorization (T453) #
POST /auth/forgot-password Request a password-reset code #
GET /auth/invitations/{token} Look up a pending invitation by its token #
POST /auth/invitations/{token}/accept Accept an invitation and create the invited user #
POST /auth/login Log in with email + password #
POST /auth/login/mfa Complete a login that was challenged for MFA #
POST /auth/logout Log out and clear session cookies #
POST /auth/logout-all Log out on every device #
GET /auth/me Get the current authenticated user + active tenant #
POST /auth/refresh Rotate the access token using the refresh-token cookie #
POST /auth/register Register a new tenant + owner user #
POST /auth/resend-verification Resend the email verification code #
POST /auth/reset-password Reset password using the emailed code #
POST /auth/verify-email Confirm the 6-digit email verification code #
POST /dashboard/account/password Change the caller's own password (dashboard-scoped) #
GET /plugin/install.sh GET /plugin/install.sh #
GET /plugin/install.sh.sha256 Get the SHA‑256 checksum for the installer script. #

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/contextq-dev:contextq-dev-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

contextq-dev-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: ContextQ API
  version: '2026-11-04'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-04: 97 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; ContextQ has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 96
    pages-with-code: 1
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-04'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://app.contextq.dev/docs
  - https://contextq.dev/getting-started


# --- truncated at 32 KB (41 KB total) ---
# Full source: https://artifacts.apis.io/contextq-dev/openapi/_ae-authored/contextq-dev-openapi-generated.yml