API reference

API reference · Organizations

A crew's audit trail, filtered

GET/api/orgs/{id}/auditSigned in session

audit.view (owner, admin, billing). Newest first, with the acting wallet; the address an act came from is not included. Page with ?before=<nextBefore>.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredintegerThe crew's id.
category (query)stringA kind of act. One of "keys", "members", "budgets", "projects", "domains", "money", "organization".
action (query)stringOne exact action, such as key.minted.
actor (query)integerThe acting account's id.
target (query)stringWhat was acted on, such as member:4 or key:12.
from (query)integerUnix ms, inclusive.
to (query)integerUnix ms, exclusive.
before (query)integerAn entry id: the page before it.
limit (query)integerAt most 500.

Answer 200

The entries.

Fields of the 200 answer
FieldTypeWhat it is
orgIdinteger
entriesarray of object
nextBeforeinteger or null

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 403OpenAI shaped error.
  • 404OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter