Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Get AI agent analytics

GET/v1/ai/agents/{agentID}/analytics
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
agentIDstringrequired
Responses
200OK
agent_idstringrequired
avgFirstResponseSecondsnumber<double>required
blockedRatenumber<double>required
conversationsResolvedinteger<int64>required
csatScorenumber<double>required
handoffRatenumber<double>required
knowledge_source_countinteger<int64>required
last_deployment_atstring
latestInspectionsAnswerInspectionSample[] | null
Show properties
Array of AnswerInspectionSample
chunk_countinteger<int64>
chunk_idsstring[] | null
created_atstring
routestring
run_idstringrequired
skill_keystring
toolsstring[] | null
validate_okboolean
validate_reasonstring
latest_knowledge_gapsKnowledgeGap[] | nullrequired
Show properties
Array of KnowledgeGap
agent_idstringrequired
created_atstringrequired
idstringrequired
querystringrequired
reasonstringrequired
statusstringrequired
suggested_contentstringrequired
suggested_titlestringrequired
open_issue_countinteger<int64>required
open_knowledge_gap_countinteger<int64>required
pass_ratenumber<double>required
passed_test_run_countinteger<int64>required
playbook_countinteger<int64>required
resolutionOutcomesobject
summarystringrequired
test_run_countinteger<int64>required
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X GET "/v1/ai/agents/string/analytics"
Response
{
  "agent_id": "string",
  "avgFirstResponseSeconds": 0,
  "blockedRate": 0,
  "conversationsResolved": 0,
  "csatScore": 0,
  "handoffRate": 0,
  "knowledge_source_count": 0,
  "last_deployment_at": "string",
  "latestInspections": [
    {
      "chunk_count": 0,
      "chunk_ids": [
        "string"
      ],
      "created_at": "string",
      "route": "string",
      "run_id": "string",
      "skill_key": "string",
      "tools": [
        "string"
      ],
      "validate_ok": true,
      "validate_reason": "string"
    }
  ],
  "latest_knowledge_gaps": [
    {
      "agent_id": "string",
      "created_at": "string",
      "id": "string",
      "query": "string",
      "reason": "string",
      "status": "string",
      "suggested_content": "string",
      "suggested_title": "string"
    }
  ],
  "open_issue_count": 0,
  "open_knowledge_gap_count": 0,
  "pass_rate": 0,
  "passed_test_run_count": 0,
  "playbook_count": 0,
  "resolutionOutcomes": {},
  "summary": "string",
  "test_run_count": 0
}