Openapi
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.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidA bounded natural-language query with optional collection and system-knowledge scope.
application/jsoncollectionIds?array<>items <= 50includeSystem?booleanlimit?integer1 <= value <= 50query*string1 <= length <= 2000Returns ranked knowledge chunks and their public provenance.
application/jsonchunks*array<>curl -X POST 'https://app.localhost/api/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 } ]}