# Audit

The audit log of the organization: who changed what, newest first, for 90 days

Source: https://slashinfra.com/docs/api-reference/control/audit
Last modified: 2026-11-30T16:36:19.000Z

The audit log of the organization: who changed what, newest first, for 90 days

Resource, request and plan limits are listed on [Limits](https://slashinfra.com/docs/reference/limits).

[Download OpenAPI specification](https://slashinfra.com/docs/control.openapi.json) · Version 0.1.0

[GETRead the audit log](https://slashinfra.com/docs/api-reference/control/audit#getAudit)

### Read the audit log

GET

/audit

Returns the mutations of the organization, newest first, with the actor, action, target, time and client address of each. Filters combine with AND; each query parameter narrows the list.

#### Authorization

`apiKey`

header`Authorization``Bearer <token>`

An API key (`si_` and 43 base64url characters), sent as `Authorization: Bearer si_...`; see [Using the API](https://slashinfra.com/docs/reference/api).

#### Query Parameters

`limit?`string

The most rows to return: 1 to 200, 50 by default; any other value answers 400 `invalid_limit`.

`cursor?`string

The `next_cursor` of the previous page; an unreadable value answers 400 `invalid_cursor`.

`action?`string

Only the rows of this action, such as `project.create`; omitted, every action is listed.

`actor?`string

Only the rows of this actor, exactly: `user:<id>`, `key:<id>`, `node:<name>`, `operator` or `system`; an empty value answers 400 `invalid_actor`, and an omitted one lists every actor.

`from?`string

Only the rows at or after this time, in Unix epoch milliseconds; a value that is not a non-negative whole number answers 400 `invalid_range`.

`to?`string

Only the rows before this time, in Unix epoch milliseconds; a value that is not a non-negative whole number answers 400 `invalid_range`.

#### Response Body

One page of the audit log of the organization.

`application/json`

- response

- response
- …

One page of the audit log of the organization.

`entries*`array<>

The audit rows of the organization, newest first; a row older than 90 days is deleted by the daily sweep.

`next_cursor*`|

The opaque cursor of the next page, or `null` on the last page; send it back as `cursor`.

Example Request

```
curl -X GET 'https://api.slashinfra.com/audit'
```

Example ResponseSchema

```
{  "entries": [    {      "action": "project.create",      "actor": "user:8Xk2mQ4pLd",      "at_ms": 1767225600000,      "details": {        "name": "staging"      },      "id": "6f1c0f0e8a",      "ip": "203.0.113.9",      "target": "project:proj_6f1c0f0e8a"    }  ],  "next_cursor": "MTc2NzIyNTYwMDAwMCw2ZjFjMGYwZThh"}
```

GET

/audit

Example Request

```
curl -X GET 'https://api.slashinfra.com/audit'
```

```
{
"entries": [
{
"action": "project.create",
"actor": "user:8Xk2mQ4pLd",
"at_ms": 1767225600000,
"details": {
"name": "staging"
},
"id": "6f1c0f0e8a",
"ip": "203.0.113.9",
"target": "project:proj_6f1c0f0e8a"
}
],
"next_cursor": "MTc2NzIyNTYwMDAwMCw2ZjFjMGYwZThh"
}
```
