Retrieve Context
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
Retrieve Context
Authorizations
Clerk-issued RS256 JWT.
Headers
Body
application/json
Request body for retrieval endpoints.
Response
Successful Response
Response from retrieval endpoint.
Retrieved context items