Phonely

Phonely API operations using API key auth.

Knowledge Base: Document → Delete

AI-generated

Summary

Delete one or more documents from a Phonely agent's knowledge base.

Inputs

  • Agent ID (required) — The ID of the Phonely agent whose documents should be deleted.
  • Document IDs (JSON) (required) — An array of document IDs to delete from the agent's knowledge base.

Output shape

json

Returns the raw response from the Phonely API's DELETE /agent-documents endpoint (typically a success acknowledgment).

Examples

Example 1: Delete documents with IDs ['doc-123', 'doc-456'] from agent 'agent-789'.

Set Agent ID to 'agent-789' and Document IDs (JSON) to [ 'doc-123', 'doc-456' ].

Discussion