Actions60
- Agent Actions
- Org Actions
- Call Actions
- Usage Actions
- Voice Actions
- Phone Number Actions
- Knowledge Base: Document Actions
- Knowledge Base: Website Actions
- Billing Actions
- Chat (Build) Actions
Knowledge Base: Document → Delete
AI-generatedSummary
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' ].