---
title: "Audit"
method: GET
path: "/org/audit"
tags: ["data lifecycle"]
---

# Audit

`GET /org/audit`

## Request

- Base URL: `https://api.os3robotics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.os3robotics.com/org/audit`
- Auth: HTTP bearer

The organisation's audit log, newest first; `after` is the X-Next-After of a full page.
Filters: `reads=false` leaves out reads (trace.view, audit_log.export, artifact.export);
`action` (repeatable) is an action or every action under it (`api_key`: api_key.create,
api_key.narrow, ...); `actor_kind` and `actor_id` the actor's; `since`/`until` the rows with
`at` in [since, until).

## Query parameters

- `limit` integer
- `after` integer, nullable
- `reads` boolean
- `action` string[], nullable
- `actor_kind` string, nullable
- `actor_id` string, nullable
- `since` string, date-time, nullable
- `until` string, date-time, nullable

## Response `200`

Successful Response

- AuditRow[]
  - `id` integer, required
  - `at` string, date-time, required
  - `actor_kind` string, required
  - `actor_id` string, nullable, required
  - `action` string, required
  - `target_table` string, required
  - `target_id` string, nullable, required
  - `before` unknown, required
  - `after` unknown, required
  - `request_id` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/os3robotics/apis/os3-api.md) - [All operations](https://skmtc.dev/os3robotics/apis/os3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/os3robotics/apis/os3-api/revisions/af32cd4f14bb?raw)
