Skip to content
API referenceRead one section of a context source

Read one section of a context source

GET/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

  • slugstringrequired

    The source's identifier (ctx-...).

  • sectionIdstringrequired

    The section's id from the outline (n12).

Query parameters

  • organizationstringrequired

    The organization's identifier (slug).

Responses

200application/json
  • section_idstring

    The section's id within the source.

  • titlestring

    The 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.

  • textstring

    The section's text as parsed from the document.

NVIDIA Inception Program member

VectorAxis is built by GK Labs, a member of NVIDIA Inception.