Firm Management

Firm audit log (owner-only) · 0 credits

Audit feed for your firm (member actions: invitations, role changes, removals…). Optional filters. Owner-only via the internal helper (.eq(firm_owner_id, ownerId)). No charge. Scope: mcp | *.

Language. This is a compliance record, so it is served in your firm's language, not in the language each route happened to be written in. Resolution order: ?locale= > Accept-Language > the account holder's jurisdiction (SG → en, ES → es) > English. Never Spanish by default. The response declares locale and locale_source so you can see which signal decided it (fallback = there was no signal; it is not presented as a choice).

Nothing is hidden. Each line is translated from its stable action code, and the text stored when the event was logged is always kept in summary_raw. A line whose action has no label in the catalogue is served with its stored text VERBATIM and flagged summary_localized:false with summary_unlocalized_reason — it is neither translated nor dropped.

get/api/v1/firm/audit

Request

  • Base URL: https://legal.nexusquantum.legal
  • URL: https://legal.nexusquantum.legal/api/v1/firm/audit
  • Auth: HTTP bearer

Query parameters

actorstring uuid

Filter by actor UUID.

resource_typestring

Filter by resource type (member, invitation…).

beforestring date-time

Only events earlier than this ISO-8601 timestamp (pagination).

limitinteger

Maximum number of events (1-200; the internal helper clamps).

localestring

Language for the record (e.g. en, es, fr, de). Overrides Accept-Language and the holder's jurisdiction.

Response

{ locale, locale_source, events: [FirmAuditEvent] }

localestring

Language the record was served in.

locale_source'param' | 'cookie' | 'accept-language' | 'jurisdiction' | 'fallback'

Which signal decided the language. fallback = none was available.

Changes

No recorded changes to this operation across all 1 revision of this API.