Query project token usage
POST
Query project token usage

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

projectID
string
required

Body

endDate
object
required
startDate
object
required
timezone
string
interval
enum<string>
required
Available options: hour, day, week, month
version
enum<string>

Filters results to the draft or published version of the environment. Defaults to both.

Available options: draft, published
environmentAlias
string

The ID or alias of the environment to filter results by. Defaults to all environments.

Response

200 - application/json

Returns project token counts split by model and by time interval, where the workspace and organization queries give a model split with no interval. The model field is nullable, so some rows report a count without naming a model.

rows
object[]
required

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.