GET /organization/usage/audio_speeches

Servers

Query parameters

Name Type Required Description
page String No

A cursor for use in pagination. Corresponding to the next_page field from the previous response.

group_by[] Array No

Group the usage data by the specified fields. Support fields include project_id, user_id, api_key_id, model or any combination of them.

limit Integer No

Specifies the number of buckets to return.

  • bucket_width=1d: default: 7, max: 31
  • bucket_width=1h: default: 24, max: 168
  • bucket_width=1m: default: 60, max: 1440
start_time Integer Yes

Start time (Unix seconds) of the query time range, inclusive.

models[] Array No

Return only usage for these models.

project_ids[] Array No

Return only usage for these projects.

bucket_width String No

Width of each time bucket in response. Currently 1m, 1h and 1d are supported, default to 1d.

Possible values:

  • "1m"
  • "1h"
  • "1d"

Default value: "1d"

user_ids[] Array No

Return only usage for these users.

api_key_ids[] Array No

Return only usage for these API keys.

end_time Integer No

End time (Unix seconds) of the query time range, exclusive.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.