Trainings
Delete Training
Delete a specific training data entry for a voice agent
DELETE
Delete Training
Delete a specific training data entry for a voice agent. This action is irreversible and will permanently remove the training instructions from the agent.Endpoint
Path parameters
The unique identifier of the voice agent.
The unique identifier of the training to delete. You can find this by listing the agent’s trainings first.
Request headers
Bearer token for authentication. Format:
Bearer talq_your_environment_token_hereExample requests
Response
Success Response (200 OK)
Response fields
Indicates if the operation was successful.
Success message confirming the training was deleted.
Error responses
404 Not Found
401 Unauthorized
403 Forbidden
500 Server Error
Error codes
| Code | Description | HTTP Status |
|---|---|---|
TRAINING_NOT_FOUND | Specified training does not exist | 404 |
AGENT_NOT_FOUND | Specified agent does not exist | 404 |
INVALID_TOKEN | Authentication token is invalid or missing | 401 |
UNAUTHORIZED | User does not have permission to delete training for this agent | 403 |
SERVER_ERROR | Internal server error occurred | 500 |
Important notes
Agent status will be set to draft. After deleting training, the agent will be automatically set to “draft” status and will need to be published again to become active.
No confirmation required. The deletion happens immediately without additional confirmation steps.
Related endpoints
- List Trainings:
GET /api/v1/agents/{agent_id}/trainings - Create/Update Training:
POST /api/v1/agents/{agent_id}/trainings - Get Agent:
GET /api/v1/agents/{agent_id} - Publish Agent:
POST /api/v1/agents/{agent_id}/publish