List an assistant's knowledge base
GET
/assistants /{id} /knowledgeThe documents the agent searches during its calls instead of carrying them in its prompt. Once a document is ready, the agent gets a search_knowledge tool on its calls. Say in the prompt when to use it, e.g. "the agency's listings are in your knowledge base: search them with search_knowledge".
Path parameters
idstringrequiredID of the assistant, as returned by
GET /assistants.
Request body
No body: send the request without one.
Response
200documentsarray of object
Errors
- 404Not found in your organization
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.