Skip to main content

Services

RPC methods exposed by this API.

DocsService

DocsService exposes read-only access to Sift’s bundled product documentation (docs.siftstack.com). Tools such as the Sift MCP server can search and read the docs over HTTP with the same bearer token / API key used for the rest of the Sift API.
MethodRequestResponseDescription
SearchDocsSearchDocsRequestSearchDocsResponseSearchDocs runs a keyword search across the bundled docs and returns ranked pages, each with the best-matching line and a line-numbered window of surrounding context. Follow up with ReadDoc on a promising hit.
ReadDocReadDocRequestReadDocResponseReadDoc returns the markdown for a single doc page by path, optionally sliced by 1-indexed offset/limit for long reference pages.

Messages

Data models used across requests/responses.

DocHit

FieldTypeLabelDescription
pathstringDoc path, e.g. “documentation/ingest/asset-channels.mdx”. Pass to ReadDoc.
titlestring
scoreint32Relevance score; higher is more relevant. Title matches weigh most, then headings, then body.
match_lineint321-indexed line number of the best match, in the same coordinates as ReadDoc; pass to ReadDoc as offset to see more.
total_linesint32Total line count of the page.
contentstringWindow of the 10 lines above and below match_line, clamped to the page. Each line is prefixed with “<line_number>\t”, aligned with ReadDoc.

ReadDocRequest

FieldTypeLabelDescription
pathstringDoc path returned by SearchDocs, e.g. “documentation/ingest/asset-channels.mdx”. Required.
offsetint321-indexed start line. Defaults to 1. Optional.
limitint32Number of lines to return. Defaults to all remaining lines. Optional.

ReadDocResponse

FieldTypeLabelDescription
pathstring
titlestring
total_linesint32Total line count of the page (independent of offset/limit).
start_lineint321-indexed line number of the first returned line.
contentstringPage markdown. Each line is prefixed with “<line_number>\t” so follow-up reads can target specific ranges. MDX/JSX tags are stripped; fenced code blocks are preserved.

SearchDocsRequest

FieldTypeLabelDescription
querystringKeyword query, e.g. “asset channels CEL”. Required.
max_resultsint32Maximum hits to return. Defaults to 10; values above the hard cap of 25 are coerced to 25. Optional.

SearchDocsResponse

FieldTypeLabelDescription
hitsDocHitrepeated
total_scannedint32Total number of doc pages scanned to produce these hits.

Enums

Allowed constant values used in message fields.