cURL
curl --request GET \ --url https://api.timelyai.com.br/v1/agents/{id}/trainings \ --header 'x-api-key: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>", "content": "<string>", "type": "text", "status": "pending", "created_at": "2023-11-07T05:31:56Z" } ], "pagination": { "page": 123, "limit": 123, "total": 123, "total_pages": 123 } }
Returns trainings associated with the agent.
API key obtained from the dashboard
Agent ID
Page number
x >= 1
Items per page
1 <= x <= 100
List of trainings
Show child attributes