Skip to main content

Create a usage report

POST 
/reporting/usage_reports

Check the status and retrieve a Usage Report with a call to: GET/reporting/usage_reports/{id}

  • Usage Reports are available for 30 days

Request

Body

required

Usage Report to add

    start_time stringrequired

    UTC (2024-04-10T00:00:00+00:00)

    end_time string

    UTC (2024-04-10T12:09:59+00:00). Must be less than 24 hours from now

    aggregation_type integer

    Default value: 0

    Aggregate: All = 0, By Connection = 1

    connections string[]

    Array of connection IDs

Responses

200: UsageReport response

400: Bad request

401: Unauthorized

Loading...