ContextBoard

API documentation

REST API reference.

Every request requires Authorization: Bearer <api key>. Responses are JSON. Errors return { error: string } with an appropriate HTTP status.

Endpoints

MethodPathScopeDescription
GET/api/v1/documentsdocuments:readList documents in the key's workspace.
GET/api/v1/documents/:iddocuments:readGet a document's metadata and parsed blocks.
POST/api/v1/documents/:id/extractextraction:runEnqueue an extraction run. Body: { schema_version_id }.
GET/api/v1/extraction-runs/:idextraction:readGet an extraction run and its extracted values.
GET/api/v1/search?q=search:readFull-text search across the workspace's parsed content.

MCP server

A Streamable-HTTP MCP endpoint is available at /api/mcp, authenticated the same way as the REST API. It exposes seven tools: search_contextboard, list_workspace_documents, get_document, get_document_section, extract_document, get_source_evidence, and create_context_pack.

Rate limiting

60 requests per minute per API key, on a sliding window. A request over the limit returns 429.

Webhooks

Register a webhook URL and events (extraction_run.completed, extraction_run.failed) from a workspace's API & webhooks settings. Deliveries are signed with an HMAC-SHA256 header: X-ContextBoard-Signature: sha256=<hex digest of the raw body>, using the secret shown when the webhook was created.