Search authorized organization and system knowledge and return matching text chunks with public provenance. Internal embeddings, vector data, service metadata, and storage paths are never returned.
Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
In: cookie
uuidapplication/json
A bounded natural-language query with optional collection and system-knowledge scope.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/organizations/123/knowledge/retrieve" \ -H "Content-Type: application/json" \ -d '{ "query": "string" }'{ "chunks": [ { "content": "string", "provenance": { "chunkId": "90e1f3df-a8a1-438e-8dd5-10e45398d051", "collectionId": "0ffe69e2-b7af-4b1e-835c-867376165f50", "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc", "sourceUri": "string", "title": "string" }, "score": 0 } ]}1 <= length <= 20001 <= value <= 50items <= 50