Voice

Delete a document from an agent's own store

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.

delete/voice/agent-documents/{document_id}

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/voice/agent-documents/{document_id}
  • Auth: HTTP bearer

Path parameters

document_idinteger required

Document id.

Query parameters

agent_idstring required

The agent the document belongs to. Required: document ids are scoped per agent.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Response

Successful Response

dataVoicePayload required

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.

Changes

No recorded changes to this operation across all 2 revisions of this API.