List distinct actors present in the audit trail
GET
/v1/audit/actors
const url = 'https://api.emite.cr/v1/audit/actors';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”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
id
required
Actor id (user / API key / partner app uuid). Null for platform and system.
string
label
required
Display label (user email, key:<name> (<prefix>), partner:<name>). Null for platform (the EmiteCR team as a whole) and system.
string
Example
[ { "kind": "user" }]Missing or invalid credentials.
Plan does not include the audit module (FEATURE_NOT_IN_PLAN).
Caller lacks the audit:read scope.