Read usage by endpoint

Markdown
GET /v1/usage/endpoints

See 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

NameTypeRequiredConstraintsDescription
monthquery: string | nullNo——
all_keysquery: booleanNodefault=false—

Example

BASE_URL=https://radiologydictation.com

curl --request GET "$BASE_URL/v1/usage/endpoints" \
  --header "Authorization: Bearer $API_KEY"

Responses

StatusDescriptionType
200Successful ResponseEndpointUsageSummary · application/json
401Invalid or missing API keyobject · application/json
429Too many attempts. Please try again later.object · application/json
503Service is unavailable. Please try again.object · application/json
422Validation ErrorHTTPValidationError · application/json

Response headers · 429

HeaderTypeDescription
Retry-Afterstring—

Schemas

EndpointUsage

NameTypeRequiredConstraintsDescription
operationstringYes—The recorded action, such as reports.create or report_documents.create.
requestsintegerYesminimum=0.0Recorded service invocations, including recognized retries. Does not include every early HTTP denial.
acceptedintegerYesminimum=0.0New logical work accepted for this operation.
succeededintegerYesminimum=0.0Logical operations that completed successfully.
failedintegerYesminimum=0.0Accepted operations that finished unsuccessfully.
rejectedintegerYesminimum=0.0Recorded calls that were rejected before starting work.
duplicatesintegerYesminimum=0.0Retries recognized as a previously submitted logical request.
uncertainintegerYesminimum=0.0Operations whose outcome needs review before another generation.

EndpointUsageSummary

NameTypeRequiredConstraintsDescription
scopestringYesenum=["key", "client"]—
monthstring | nullYes——
timezonestringYes——
endpointsarray<EndpointUsage>Yes——

HTTPValidationError

NameTypeRequiredConstraintsDescription
detailarray<ValidationError>No——

ValidationError

NameTypeRequiredConstraintsDescription
locarray<string | integer>Yes——
msgstringYes——
typestringYes——
inputobjectNo——
ctxobjectNo——

Select and copy