Skip to main content
POST
/
v2
/
query
/
usage
Query usage for a project
curl --request POST \
  --url https://analytics-api.voiceflow.com/v2/query/usage \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '
{
  "data": {
    "name": "interactions",
    "filter": {
      "projectID": "<string>",
      "startTime": "<string>",
      "endTime": "<string>",
      "limit": 100,
      "cursor": 123
    }
  }
}
'
{
  "result": {
    "items": [
      {
        "period": "2023-11-07T05:31:56Z",
        "projectID": "<string>",
        "environmentID": "<string>",
        "count": 123,
        "type": "<string>"
      }
    ],
    "cursor": 123
  }
}

Authorizations

authorization
string
header
required

Voiceflow Dialog Manager API key (VF.DM) or Workspace API key (VF.WS)

Body

application/json
data
object
required

Response

The query succeed and the result was returned

result
object
required