List phone sessions with cost
Paginated, filterable list of the caller’s phone sessions over a required time window (start_date/end_date), each row carrying billing detail: phone-time cost, inference cost, and combined total in microdollars, billing processing status, and allocation source. Filters: session status, billing processing status, workflow, allocation source, free-text search. Order with order_by (‘<field> <asc|desc>’).
Authorizations
Customer API key (axl_ prefix).
Query Parameters
Beginning of the sessions query window (RFC 3339).
End of the sessions query window (RFC 3339).
Number of sessions per page (1-100).
1 <= x <= 100Pagination offset.
x >= 0Restrict results to the given session lifecycle statuses.
Restrict results to the given billing processing statuses.
Restrict results to sessions of a single workflow.
Restrict results to the given allocation sources.
Filter by session, workflow, or phone id substring.
Sort expression '<field> <asc|desc>'; field one of allocated_at, deallocated_at, duration, cost_microdollars, session_status, processed_status, allocated_by, session_id, workflow_id. Defaults to allocated_at desc.
Response
OK