FruxonDocs
ApiCredentialaudit

Page through credential-access audit events for the current tenant.

Returns a page of events newest-first, plus a `nextPageToken` the caller can replay to fetch the next page. Optional filters narrow by sensitivity tier, operation kind, whether the access succeeded, and the window the access occurred in. The SOC2 export flow pages until `nextPageToken` is null rather than asking for an arbitrarily large window in a single call.

GET
/v1/tenants/{tenant}/credentialAuditEvents
AuthorizationBearer <token>

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

In: header

Path Parameters

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.

sensitivity?string

Optional sensitivity-tier filter (e.g. PHI, FINANCIAL).

Value in"UNSPECIFIED" | "STANDARD" | "PII" | "PHI" | "FINANCIAL" | "REGULATED"
operation?string

Optional operation filter (DECRYPT, SIGN, ENCRYPT).

Value in"UNSPECIFIED" | "DECRYPT" | "SIGN" | "ENCRYPT"
successOnly?boolean

When true, only successful operations are returned. When false, only failures. Omit for all.

from?integer

Optional window start as Unix milliseconds (inclusive).

Formatint64
to?integer

Optional window end as Unix milliseconds (exclusive). Omit for "up to now".

Formatint64
includeTotalCount?boolean

Opt in to the one extra COUNT that fills totalCount (default off).

Defaultfalse

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/credentialAuditEvents"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "tenantId": "00000000-0000-0000-0000-000000000000",
      "networkId": "00000000-0000-0000-0000-000000000000",
      "integrationAuthId": "00000000-0000-0000-0000-000000000000",
      "integrationKind": "string",
      "credentialLabel": "string",
      "operation": "DECRYPT",
      "sensitivity": "STANDARD",
      "userId": "string",
      "agentId": "string",
      "toolId": "string",
      "actor": "string",
      "requestId": "string",
      "success": false,
      "failureReason": "string",
      "createdAt": 0
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}