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
| Field | Type | What it is |
|---|---|---|
| id (path)required | integer | The crew's id. |
| category (query) | string | A kind of act. One of "keys", "members", "budgets", "projects", "domains", "money", "organization". |
| action (query) | string | One exact action, such as key.minted. |
| actor (query) | integer | The acting account's id. |
| target (query) | string | What was acted on, such as member:4 or key:12. |
| from (query) | integer | Unix ms, inclusive. |
| to (query) | integer | Unix ms, exclusive. |
| before (query) | integer | An entry id: the page before it. |
| limit (query) | integer | At most 500. |
Answer 200
The entries.
| Field | Type | What it is |
|---|---|---|
| orgId | integer | |
| entries | array of object | |
| nextBefore | integer 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.