List a service account's request activity.
Returns the per-request usage stream — which endpoints the account called, when, and with what status — aggregated across every key the account owns, newest-first. Distinct from `/auditEvents`, which is the principal's security lifecycle (provision / rotate / revoke). This is high-volume, hence cursor pagination. Mirrors `/tokens/{id}/activity`, the per-key view a personal access token uses; a service account is a principal that can own several keys, so its activity is the union across them.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The unique identifier of the service account.
The tenant identifier
Query Parameters
The maximum number of items to return per page
int32int32Opaque pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.
Optional free-text filter (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/serviceAccounts/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
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}List service accounts.
Returns every service account in the tenant, newest-first. Secrets are never included — a service account's credentials are ordinary API keys minted through the provision / rotate endpoints, and the plaintext is shown only once at mint time. Each account says how many of its keys still authenticate (`activeKeyCount`) and when the soonest of them expires (`activeKeyExpiresAt`).
List a service account's lifecycle audit events.
Returns the provisioned / rotated / revoked / used-while-revoked events for the service account, newest-first. This is the compliance-grade lifecycle trail of the principal; per-request activity for its keys lives under the API-key activity surface.