Skip to main content
GET
/
v1
/
call
/
{callId}
/
metrics
Get call metrics
curl --request GET \
  --url https://api.roark.ai/v1/call/{callId}/metrics \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "metricDefinitionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "metricId": "<string>",
      "name": "<string>",
      "description": "<string>",
      "outputType": "COUNT",
      "participantRole": "agent",
      "value": 123,
      "valueReasoning": "<string>",
      "unit": {
        "name": "<string>",
        "symbol": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

callId
string<uuid>
required

ID of the call to fetch metrics for

Response

Call-level metrics for a specific call

data
object[]
required

Call metrics response payload