Retrieve all information about an agent conversation.
cURL
curl --request GET \ --url https://api.play.ai/api/v1/agents/{agentId}/conversations/{conversationId} \ --header 'Authorization: Bearer <token>' \ --header 'X-USER-ID: <api-key>'
{ "id": "tIKQo8GMvOZyGx0Wm2RT", "source": "web", "callerEmail": "[email protected]", "startedAt": "2024-06-04T15:13:53.687Z", "endedAt": "2024-06-04T15:18:54.687Z", "durationInSeconds": 301 }
Your secret API key from PlayAI, formatted as Bearer YOUR_SECRET_API_KEY.
Bearer YOUR_SECRET_API_KEY
Your unique user ID from PlayAI.
application/json
The agent's ID.
"f0gZrOKBKL7veJ6o1M"
The conversation's ID.
Conversation retrieved.
The response is of type object.
object
Was this page helpful?