Skip to content

List distinct actors present in the audit trail

GET
/v1/audit/actors
curl --request GET \
--url https://api.emite.cr/v1/audit/actors \
--header 'Authorization: Bearer <token>'

Every user, API key, and partner app that produced at least one entry in the last year, plus a synthetic system entry when actor-less events exist. Sourced from the log itself (labels are denormalized), so deleted actors still appear. Powers the actor filter of GET /v1/audit.

Media typeapplication/json
Array<object>
object
kind
required

Who acted, and how to filter by it with actor:

  • user — a member signed in to the app (user:<id>).
  • api_key — one of the company's API keys (key:<id>).
  • partner — a Futura Byte product that operates the company (partner:<id>).
  • platform — the EmiteCR team, from its backoffice: one actor for the whole team (platform).
  • system — events with no actor, such as Hacienda verdicts and scheduled jobs (system).
string
Allowed values: user api_key partner platform system
id
required

Actor id (user / API key / partner app uuid). Null for platform and system.

string
nullable
label
required

Display label (user email, key:<name> (<prefix>), partner:<name>). Null for platform (the EmiteCR team as a whole) and system.

string
nullable
Example
[
{
"kind": "user"
}
]

Missing or invalid credentials.

Plan does not include the audit module (FEATURE_NOT_IN_PLAN).

Caller lacks the audit:read scope.