Read usage by endpoint
GET /v1/usage/endpointsSee how your integration uses each API operation over a calendar month or across all recorded history. The response separates request attempts, accepted work, completed results, failures, rejected calls, duplicate retries, and uncertain outcomes.
Omit month for all-time totals, or send YYYY-MM for a calendar month in the returned timezone. Set all_keys=true to include all keys owned by your workspace, including revoked keys. Without all_keys, only the key making this request is included.
Read the counters
operation identifies the action, such as reports.create or report_documents.create. requests measures recorded service calls, succeeded counts completed results, and duplicates counts retries recognized as work already submitted. A duplicate retry is not another completed generation. Some authentication, validation, and rate-limit errors occur before service-level recording, so this is not a count of every HTTP request received.
Settings and template actions also appear under their operation names. A complete Word report is counted as one report_documents.create operation.
For example, month=2026-09&all_keys=true selects September 2026 across the workspace. Omit month to select all time. Calendar-month filters are different from the key-specific reporting window returned by GET /v1/usage.
Authentication
Create a named API key in your workspace’s API keys tab, then send it in the Authorization header on each API request. Your key connects the integration to that workspace’s saved settings and Word templates. Signing into the website does not replace this header in an API integration.
Authorization: Bearer <API_KEY>Keep the key in your application’s server-side secret configuration. It is shown only once when created, so save it securely then. Do not place it in browser code, logs, version control, or a prompt sent to your coding agent. You can revoke an integration’s key from the workspace without changing the other keys.
Parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| month | query: string | null | No | — | — |
| all_keys | query: boolean | No | default=false | — |
Example
BASE_URL=https://radiologydictation.com
curl --request GET "$BASE_URL/v1/usage/endpoints" \
--header "Authorization: Bearer $API_KEY"Responses
| Status | Description | Type |
|---|---|---|
| 200 | Successful Response | EndpointUsageSummary · application/json |
| 401 | Invalid or missing API key | object · application/json |
| 429 | Too many attempts. Please try again later. | object · application/json |
| 503 | Service is unavailable. Please try again. | object · application/json |
| 422 | Validation Error | HTTPValidationError · application/json |
Response headers · 429
| Header | Type | Description |
|---|---|---|
| Retry-After | string | — |
Schemas
EndpointUsage
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| operation | string | Yes | — | The recorded action, such as reports.create or report_documents.create. |
| requests | integer | Yes | minimum=0.0 | Recorded service invocations, including recognized retries. Does not include every early HTTP denial. |
| accepted | integer | Yes | minimum=0.0 | New logical work accepted for this operation. |
| succeeded | integer | Yes | minimum=0.0 | Logical operations that completed successfully. |
| failed | integer | Yes | minimum=0.0 | Accepted operations that finished unsuccessfully. |
| rejected | integer | Yes | minimum=0.0 | Recorded calls that were rejected before starting work. |
| duplicates | integer | Yes | minimum=0.0 | Retries recognized as a previously submitted logical request. |
| uncertain | integer | Yes | minimum=0.0 | Operations whose outcome needs review before another generation. |
EndpointUsageSummary
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| scope | string | Yes | enum=["key", "client"] | — |
| month | string | null | Yes | — | — |
| timezone | string | Yes | — | — |
| endpoints | array<EndpointUsage> | Yes | — | — |
HTTPValidationError
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| detail | array<ValidationError> | No | — | — |
ValidationError
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| loc | array<string | integer> | Yes | — | — |
| msg | string | Yes | — | — |
| type | string | Yes | — | — |
| input | object | No | — | — |
| ctx | object | No | — | — |