Query hourly project token usage
POST
Query hourly 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
usageClass
enum<string>
Available options: Host, Build, Test, Monitor
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 hourly token counts for the project, each row keyed by the hour's start timestamp and split by model and by usage category. Both the model and the category are nullable.

rows
object[]
required

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