Trainings
List Trainings
Retrieve a list of training data for a specific voice agent
GET
List Trainings
Retrieve all training data associated with a specific voice agent. This endpoint returns a list of training instructions that the agent uses to understand how to respond to different scenarios.Endpoint
Path parameters
The unique identifier of the voice agent.
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.
Array of training objects associated with the agent.
Error responses
404 Not Found
401 Unauthorized
403 Forbidden
500 Server Error
Error codes
| Code | Description | HTTP Status |
|---|---|---|
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 access this agent | 403 |
SERVER_ERROR | Internal server error occurred | 500 |
Important notes
Empty response is normal. If an agent has no training data, the response will be an empty array
[] rather than an error.Status filtering. The response includes both active and inactive trainings. You can filter by
current_status on the client side if needed.Related endpoints
- Create/Update Training:
POST /api/v1/agents/{agent_id}/trainings - Delete Training:
DELETE /api/v1/agents/{agent_id}/trainings/{training_id} - Get Agent:
GET /api/v1/agents/{agent_id} - List Agents:
GET /api/v1/agents