main

Download Usage Runs Report

Changed on

Download a CSV of runs matching the same filters as /usage/runs.

get/api/v1/organizations/usage/runs/report

Request

  • Base URL
    https://app.dograh.com
  • URL
    https://app.dograh.com/api/v1/organizations/usage/runs/report
  • Auth
    none declared

Query parameters

start_datestring nullable

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

end_datestring nullable

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

filtersstring nullable

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

{ "attribute": "<name>", "type": "<type>", "value": <value> }

Supported attribute / type / value combinations:

attributetypevalue shapematches
runIdnumber{ "value": 12345 }exact run id
workflowIdnumber{ "value": 42 }exact agent (workflow) id
campaignIdnumber{ "value": 7 }exact campaign id
callerNumbertext{ "value": "415555" }substring match on initial_context.caller_number
calledNumbertext{ "value": "9911848" }substring match on initial_context.called_number
dispositionCodemultiSelect{ "codes": ["XFER", "DNC"] }any of the codes in gathered_context.mapped_call_disposition
durationnumberRange{ "min": 60, "max": 300 }call duration (seconds), inclusive bounds
callDirectionradio{ "status": "inbound" }inbound or outbound; any other value matches all
callChannelradio{ "status": "telephony" }telephony, web, or chat — the group of run modes for that channel

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.

Headers

authorizationstring nullable
X-API-Keystring nullable

Response

Successful Response

unknown required

Changes