Delete a document from an agent's own store
DELETE /voice/agent-documents/{document_id}
Delete a document and every chunk it was split into.
An agent’s own documents are separate from collections: a collection is
shared and attachable, this store belongs to one agent. The upload side is
multipart/form-data and is not published - see the module docstring.
Authorizations
Parameters
Path Parameters
Document id.
Document id.
Query Parameters
The agent the document belongs to. Required: document ids are scoped per agent.
The agent the document belongs to. Required: document ids are scoped per agent.
Header Parameters
Responses
200
Successful Response
object
One voice object - a collection, an agent, a route, a chat.
Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error