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
}
}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
}
}Voiceflow Dialog Manager API key (VF.DM) or Workspace API key (VF.WS)
Hide child attributes
interactions A base filter supported by all queries that return a list
The query succeed and the result was returned
Was this page helpful?