Overall

Returns aggregate API-key traffic totals, latency percentiles, and error counters for a workspace. Metrics include API-key-authenticated Developer API traffic only; dashboard sessions, admin routes, hosted public flows, OAuth callbacks, inbound provider webhooks, health checks, and the metrics endpoints themselves are excluded.
https://api.unipost.dev
GET/v1/api-metrics/overall?{from}&{to}&{method}&{path}&{status_class}
Authorization
In header · Bearer <token>
Query

Authorization

AuthorizationBearer <token>In header
Workspace API key.

Query Params

fromOptionalstring
Start timestamp in RFC3339 format. Defaults to 7 days before now.
toOptionalstring
End timestamp in RFC3339 format. Defaults to now. The maximum raw range is 90 days.
methodOptionalstring
Filter by HTTP method.
ValuesGET | POST | PUT | PATCH | DELETE
pathOptionalstring
Filter by normalized endpoint path, such as /v1/posts/:id/publish.
status_classOptionalstring
Filter by HTTP status class.
Values2xx | 3xx | 4xx | 5xx

Response Body

200
total_callsnumber
Number of matching API requests.
success_countnumber
Responses with status below 400.
client_error_countnumber
Responses from 400 through 499, including 429.
server_error_countnumber
Responses with status 500 or higher.
rate_limited_countnumber
Responses with status 429, also included in client_error_count.
error_rate_pctnumber
All 4xx and 5xx responses divided by total calls, including 429 rate-limit responses.
server_failure_rate_pctnumber
5xx responses divided by total calls.
reliability_pctnumber
Requests that did not return 5xx, divided by total calls.
p50_msnumber
Median latency measured at the UniPost API layer.
p95_msnumber
95th percentile latency measured at the UniPost API layer.
p99_msnumber
99th percentile latency measured at the UniPost API layer.
avg_msnumber
Average latency in milliseconds.
400
error.codestring
Usually "UNAUTHORIZED", "VALIDATION_ERROR", or "INTERNAL_ERROR".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "validation_error".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
401
error.codestring
Usually "UNAUTHORIZED", "VALIDATION_ERROR", or "INTERNAL_ERROR".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "validation_error".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
500
error.codestring
Usually "UNAUTHORIZED", "VALIDATION_ERROR", or "INTERNAL_ERROR".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "validation_error".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.

Related Endpoints

GET/v1/api-metrics/overall for aggregate totals.

GET/v1/api-metrics/summary for per-endpoint latency and error rows.

GET/v1/api-metrics/trend for hourly or daily chart buckets.

GET/v1/api-metrics/status-codes for exact status-code distribution.

Trend error_count uses the same 4xx-plus-5xx definition as error_rate_pct; 429 responses are also exposed separately through rate_limited_count.