The /sections endpoint is available as part of the Enterprise plan.
Request body
Key
Type
Description
Default
prompt
string
The input prompt.
sectionsMatchCount
number
The number of sections to retrieve.
15
sectionsMatchThreshold
number
The similarity threshold between the input prompt and selected sections. The higher the threshold, the more relevant the sections. If it's too high, it can potentially miss some sections.
0.75
maxContextTokens
number
The maximum number of tokens that the returned sections fill.
10000
projectKey
string
Instead of the API token, use a project key, for instance for client-facing requests.