Calls
Test Analytics
https://voxa.abhinavyadav.in/api/v1/agents/{agent_id}/analytics/testRun summary and extraction on a call or transcript and return the result. Nothing is saved.
Authorization
An API key (X-API-Key or Authorization: Bearer), or a signed-in member with the agents.edit permission.
Path parameters
agent_idstringrequiredThe agent's id.
Query parameters
timezonestringdefault: "Asia/Kolkata"IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.
Body application/json
call_idstringa call of this workspace to analyse
transcriptstringor a transcript to analyse instead
at most 50000 characters
analyticsobject | nullsettings to try (default: the saved ones)
Show child attributes
summarizebooleandefault: falseWrite a short summary of the call.
extractionsobject[]at most 50 items
Show item attributes
keystringrequiredthe JSON key, e.g. lead_status
matches ^[a-z][a-z0-9_]{0,39}$
labelstringat most 80 characters
typeenum<string>default: "text"One of:textnumberbooleanchoicedatelist
descriptionstringwhat to extract and how
at most 600 characters
choicesobject[]at most 20 items
Show item attributes
valuestringrequired1 to 60 characters
whenstringat most 300 characters
extraction_promptstringWhat to pull out of the transcript, in plain words; saved as JSON in extracted.
at most 4000 characters
Response
200Success.
No body.
401No credentials, or they are invalid or revoked.
detailstringWhat went wrong, in plain words.
403Your role (or an API key) lacks the permission.
detailstringWhat went wrong, in plain words.
422Validation Error
detailobject[]Show item attributes
locstring | integer[]msgstringtypestring429Over the per-key rate limit; wait for Retry-After.
detailstringWhat went wrong, in plain words.