FruxonDocs
UsersAPI Access

Page through request activity for an API key.

Returns a page of request events newest-first — one per authenticated HTTP call made with the key — plus a `nextPageToken` the caller replays to fetch older events. Each event carries the method, route, status code and latency, so the dashboard can answer "what endpoints is this key calling, how often, and are the calls succeeding?". Distinct from `/auditEvents`, which is the key's security lifecycle (mint / rotate / revoke). This is the usage stream and is high-volume, hence cursor pagination rather than a flat list.

GET
/v1/tenants/{tenant}/tokens/{token}/activity
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

token*string

The API key identifier.

tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.

search?string

Optional free-text filter (search query parameter). A case-insensitive substring matched against method, path, status code, remote IP and actor. Omit for the unfiltered stream.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/tokens/string/activity"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "tenantId": "00000000-0000-0000-0000-000000000000",
      "tokenId": "00000000-0000-0000-0000-000000000000",
      "keyPrefix": "string",
      "createdAt": 0,
      "method": "string",
      "path": "string",
      "statusCode": 0,
      "latencyMs": 0,
      "remoteIp": "string",
      "actor": "string"
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}