List the documentation index
Returns the machine-readable documentation index as JSON, including guides, CLI, API reference, and recipes. The default tier is essential; pass tier=reference to get everything. Filter with q (free-text) and category (guide|cli|api|recipe). The response comes from an in-memory index built from the same catalog as the CLI sf docs, so the two never drift.
/v1/docsqstringtierstringrequiredessentialfullreferencecategorystringguidecliapirecipeworkflowerrorResponse for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobjectrequiredShow propertiesHide properties
tierstringrequiredThe tier the listing ran at.
essentialfullreferencequerystring | nullrequiredThe trimmed q query, or null when listing.
categorystring | nullrequiredThe applied category filter, or null.
Show propertiesHide properties
stringnullcountintegerrequiredNumber of entries returned.
entriesobject[]requiredShow propertiesHide properties
objectslugstringrequiredStable topic id, for example publishing or api/spaces.
titlestringrequiredsummarystringrequiredcategorystringrequiredguidecliapirecipeworkflowerrortierstringrequiredessentialfullreferencekeywordsstring[]requiredExtra search terms that match this page.
urlstring<uri>requiredCanonical docs URL: the docs site page, or the docs API page for topics the docs site does not publish, such as recipes.
linksobjectrequiredShow propertiesHide properties
docstring<uri>requiredCanonical docs URL: the docs site page, or the docs API page for topics the docs site does not publish, such as recipes.
selfstringrequiredAPI-relative link to this entry's JSON (/v1/docs/pages/{slug}).
Problem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.