Context

List context documents

Returns the organization's active document manifest: slug, title, description, kind, tags, revision, contentSize, and updatedAt — never content. Filter by kind, or pass q to search via the weighted full-text index (title ranks above description above content). Fetch individual documents by slug for their markdown.

get/api/v1/context

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/context
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Query parameters

kind'instructions' | 'knowledge' | 'record'

"instructions" = procedures to follow (SOPs, runbooks); "knowledge" = reference material (specs, policies); "record" = accounts of events (meeting notes, transcripts, interviews).

qstring

Full-text search across title, description, and content, ranked title > description > content.

Response

The document manifest.

Changes

No recorded changes to this operation across all 1 revision of this API.