GET
/
api
/
v1
/
agent-stats
/
{agentId}

Authorizations

AUTHORIZATION
string
headerrequired

API key required for this endpoint. Use Bearer YOUR_SECRET_API_KEY. Get your key from https://play.ai/developers.

X-USER-ID
string
headerrequired

User ID required for this endpoint. Get it from https://play.ai/developers.

Headers

accept
enum<string>
Available options:
application/json

Path Parameters

agentId
string
required

The agent's ID.

Response

200 - application/json
id
string
required

The unique ID for each agent.

numberOfConversations
number
required

Number of conversations

numberOfPhoneConversations
number
required

Number of phone conversations

numberOfSecondsTalked
number | null
required

Number of seconds talked