Skip to main content
GET
Get project usage metrics

Authorizations

Authorization
string
header
required

Human personal access token (sk-actrl-pat-...).

Query Parameters

projectId
string<uuid>
required
since
string<date-time>
until
string<date-time>

Exclusive ISO 8601 upper bound.

bucket
enum<string>
default:hour
Available options:
hour,
day
gatewayId
string<uuid>

Optional exact gateway UUID; every metric and facet stays inside it.

provider
string
Maximum string length: 64
model
string
Maximum string length: 200
statusClass
enum<string>
Available options:
2xx,
4xx,
5xx,
other

Full-text metadata/body search. Requires usage:read-bodies.

Required string length: 2 - 200

Response

Project usage metrics.

ok
enum<boolean>
required
Available options:
true
data
object
required