Query Usage Events

View as Markdown

Paginated per-request event history for the authenticated caller.

Authenticate with an rsk_ API key. Results are scoped to that single key — any org_id / member filters in the body are ignored. API-key reads are computed fresh.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

refreshbooleanOptionalDefaults to false

Request

This endpoint expects an object.
org_idstringRequired
sincestring or nullOptional
untilstring or nullOptional
modellist of strings or nullOptional
statuslist of strings or nullOptional
key_idlist of strings or nullOptional
team_idstring or nullOptional
member_user_idstring or nullOptional
end_user_idstring or nullOptional
limitinteger or nullOptional1-200Defaults to 50
offsetinteger or nullOptional>=0Defaults to 0

Response

Successful Response
eventslist of objects
totalinteger
limitinteger
offsetinteger

Errors

422
Unprocessable Entity Error