Skip to main content
GET
List Mutations

Authorizations

Authorization
string
header
required

A Turtle API key (sk_...) as a bearer token.

Path Parameters

organizationId
string<uuid>
required
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

Query Parameters

entityType
string[] | null

Narrow to these entity types; repeat to OR. Required when entityId is given.

Maximum array length: 100
entityId
string<uuid>[] | null

Narrow to these entities' audit trails; repeat to OR.

Maximum array length: 100
status
string[] | null

Narrow to these statuses (applied, reverted, draft, rejected, stale, superseded); repeat to OR. Reverted is a write that happened and was undone since. Every status by default — a draft is a proposal already waiting, not a gap to fill.

Maximum array length: 6
source
string[] | null

Narrow to these authors (ai, human, rule, system); repeat to OR.

Maximum array length: 4
since
null | string<date-time>

Only rows that changed at or after this instant (RFC3339) — written, or for a draft settled — oldest change first: a reader catching up from where it stopped.

settled
boolean

Only drafts that have ended: approved (applied or reverted, with decidedAt), rejected, stale or superseded.

over
string

Only writes on entities a mutation from this source also wrote or proposed: source=human&over=ai is people's edits over the agent's work.

Only mutations whose row holds every word, in any order, case-blind, % and _ matched as written: the action, entity type and name, status, author (the person, the rule, the agent), rationale and reason.

Maximum string length: 200
reverts
boolean

Only writes that undo another (each names it in reverts): source=human&over=ai&reverts=true&since= is the agent's writes people took back since an instant.

count
boolean

Also answer how many mutations match the filter in all, over every page.

limit
integer

Page size; default 25.

Required range: 1 <= x <= 100
cursor
string

Opaque cursor from the previous page's nextCursor; omit for the first page.

Response

OK

mutations
object[] | null
nextCursor
string
total
null | integer