Read quantity usage
Separate from request counts and billing. UTC [start,end), maximum 93 days. ID-list filters use repeated query names. Raw supplied ID count across fields is at most 100. Cursor binds normalized filters; filtered lists are not exact batch retrieval. Supports repeated agents and calls. Filter facts before aggregation. group_by=agent adds agent identity and group_by=call adds call identity; omission combines them. No cost/invoice amounts. For more than 100 ID values or call grouping, use POST /usage/query.
Authentication
An organisation-owned key whose secret starts ra_org_. The Owner or an Admin of an organisation that Rasen has invited makes it in the app; no API operation makes, changes, rotates or revokes a key. On a workspace operation send the workspace ID in the Rasen-Workspace header; without it the answer is 400 invalid_request with details.field Rasen-Workspace. A workspace outside the organisation or outside the key’s workspace list is 404 not_found. An organisation that is not invited gets 403 organisation_api_not_enabled.
Headers
The ID of the workspace that this operation acts in. It must be a workspace of the key’s organisation and in the key’s workspace list. A missing, empty or malformed value is 400 invalid_request with details.field Rasen-Workspace; a workspace outside the organisation or the key’s workspace list is the hidden 404 not_found.
Query parameters
Page size; 50 by default, at most 200.
Exact metering component filter, such as telephony or stt. Component vocabulary is open; unsupported filters return 400 rather than silently returning all data. Repeat for OR within this field; AND with other fields. These are not ID entries; at most 32 values per field, the same bound as the POST form. An empty array is invalid and refused: SDKs refuse it before sending, and the server refuses an empty or blank value. Omission means no filter.
Repeat the query name for multiple IDs. OR within this field; AND across fields. Maximum 100 raw ID entries total across all ID filters. Blank values are invalid. Unknown/inaccessible IDs produce no rows, not an existence disclosure. An empty array is invalid and refused: SDKs refuse it before sending, and the server refuses an empty or blank value. Omission means no filter.
Repeat the query name for multiple IDs. OR within this field; AND across fields. Maximum 100 raw ID entries total across all ID filters. Blank values are invalid. Unknown/inaccessible IDs produce no rows, not an existence disclosure. An empty array is invalid and refused: SDKs refuse it before sending, and the server refuses an empty or blank value. Omission means no filter.
Repeat for several groupings. Omitted combines matching facts by component and unit. agent adds agent_id; call adds call_id. No other dimensions. An empty array is invalid and refused: SDKs refuse it before sending, and the server refuses an empty or blank value. Omission means no filter.
Response headers
Response
Open response vocabulary. Preserve unknown values; never assume they mean success.
The resolved UTC [start, end) range used, including defaults (trailing 30 days ending now).