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
POST
/api/contexts/bulk-upsert
Idempotent bulk upsert keyed on externalId (external connector intake)
#
GET
/api/contexts/{id}/belief-events
Append-only ledger of every confidence delta applied to this context (T359)
#
GET
/api/contexts/{id}/provenance
Belief provenance chain (T358) walked backward from this context
#
GET
/api/contexts/{id}/related
Semantically-close context candidates (pgvector cosine + tag Jaccard overlap)
#
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/federation/subscriptions/{id}/rotate-webhook-secret
Issue a new inbound webhook HMAC secret
#
GET
/api/hook-endpoints/{id}
Fetch one admission endpoint with its hourly counters for the last 7 days
#
POST
/api/hook-endpoints/{id}/rotate-secret
Replace the signing secret; the new one is returned once
#
POST
/api/hook-rules/dry-run
Evaluate a candidate context against the saved rules (or one unsaved rule) without writing
#
POST
/api/subjects/merge
Merge an anonymous subjectId into a real one (T414, widget-kit login-merge)
#
POST
/api/subjects/{subjectid}/magic-link
Issue a passwordless, single-use magic-link token for the end-user memory portal (T424)
#
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)
#
POST
/auth/device/start
Start an OAuth 2.0 Device Authorization Grant (RFC 8628-shaped) flow (T453)
#
Specifications
Schemas & Data
📊
JSONSchema
https://artifacts.apis.io/contextq-dev/json-schema/contextq-dev-post-api-webhook-endpoints-id-test-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/contextq-dev/json-schema/contextq-dev-post-api-goal-sync-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/contextq-dev/json-schema/contextq-dev-post-api-goal-sync-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/contextq-dev/json-schema/contextq-dev-get-plugin-install-sh-response-schema.json