Get AI Resolution Stats

Returns the number of conversations resolved by AI versus escalated to human agents.

Returns the number of conversations resolved by AI versus escalated to human agents.

POST
/getAIResolvedStats

Authorization

bearerToken

AuthorizationBearer <token>

API token for YourGPT Public APIs. Create tokens in Settings > API Tokens in your YourGPT dashboard.

In: header

Request Body

application/json

project_uid*string

Project unique identifier.

from?string

Start date. Accepts YYYY-MM-DD, YYYY-MM-DD HH:mm:ss, or ISO format.

to?string

End date.

Response Body

application/json

curl -X POST "https://api.yourgpt.ai/chatbot/v1/getAIResolvedStats" \  -H "Content-Type: application/json" \  -d '{    "project_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"  }'
{
  "type": "RXSUCCESS",
  "message": "Session detail",
  "data": {
    "session_count": "1733",
    "escalate_to_human_count": "45",
    "ai_resolved_count": "1688"
  }
}