WayloAIWaylo Docs
APIReferenceAgent documents

Unassign a document

DELETE
/agents/{agentId}/documents/{documentId}

Remove the link between an agent and a document. The document itself is untouched. The document set is part of the configuration, so this bumps the agent’s version.

Access: workspace_admin · API key agents:write

Authorization

api-key
headerAuthorizationBearer <sk_waylo_<lookup><secret><checksum>>

Path Parameters

agentId*string
documentId*string

Header Parameters

Authorization*string

Your API key.

Response Body

Deleted

Example Request
curl -X DELETE 'https://api.poc.app.waylovoice.ai/agents/string/documents/string' \  -H 'Authorization: Bearer sk_waylo_...'
Example Response
Empty