Read one section of a context source
/v1/context-sources/{slug}/sections/{sectionId}Read one section of a context source.
The section's text exactly as it would be added to a request, with its title and pages.
Requires an organization admin key, or a key of the source's workspace. Returns 404 when the source or section does not exist, or the id is a group.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Path parameters
slugstringrequiredThe source's identifier (
ctx-...).sectionIdstringrequiredThe section's id from the outline (
n12).
Query parameters
organizationstringrequiredThe organization's identifier (slug).
Responses
section_idstringThe section's id within the source.
titlestringThe section's heading.
page_frominteger<int32>First page the section covers (PDF only).
page_tointeger<int32>Last page the section covers (PDF only).
tokensinteger<int32>Approximate size of the text in tokens.
textstringThe section's text as parsed from the document.