retrieval

Retrieve Context

Retrieve relevant context from a vault based on a prompt.

Returns chunks of text with source information. Use this endpoint when you want to build your own prompts or use the context with a different LLM.

Authentication: X-API-Key header required.

post/v1/retrieval

Headers

X-API-Keystring nullable

Request body

promptstring required

The query/question to search for

limitinteger

Maximum number of results

depthinteger

Graph traversal depth

Response

Successful Response

Changes

No recorded changes to this endpoint across all 1 revision of this API.