Skip to main content
GET
Export usage runs
Use the same date and JSON-encoded filters as List usage runs. The response is a streamed text/csv attachment, not JSON. Save it to a file; recording/transcript and phone-number columns can contain sensitive workspace data.

Authorizations

Authorization
string
header
required

Bandwidth Labs OAuth access token. Uses the user's selected workspace; the workspace header is not required. Do not also send an API key. Bearer-only operations may additionally require the Labs super_user role.

Headers

X-VOAI-ORGANIZATION-ID
string | null

Required with X-BW-LABS-AGENTS-API-KEY: the positive local workspace ID to access. The key owner must be a current member. Missing or invalid IDs return 400; non-member workspaces return 403. Not required for bearer authentication, which uses the user's selected workspace.

Query Parameters

start_date
string | null

ISO 8601 date-time string (UTC). Lower bound (inclusive) on created_at.

end_date
string | null

ISO 8601 date-time string (UTC). Upper bound (inclusive) on created_at.

filters
string | null

JSON-encoded array of filter objects. Each object has the shape:

Supported attribute / type / value combinations:

Unknown attributes and unsupported type values are silently ignored.

Date filtering on this endpoint is done via the dedicated start_date / end_date query params, not via a dateRange filter object.

Response

CSV download

The response is of type string.