Auditmark

List correction revisions

GET
/inspections/{inspection_id}/corrections/{correction_id}/revisions

The answers one correction session changed, oldest first.

include_start=true merges the session's Start-section revisions into the same sequence (answer_source="start", field_id = the Start key). Without it the rows are body-only, exactly as before, so an existing /v1 caller still gets a uuid field_id in every row.

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Path Parameters

inspection_id*Inspection Id
correction_id*Correction Id

Query Parameters

cursor?string|null
limit?Limit
include_start?Include Start

Response Body

application/json

application/json

curl -X GET "https://api.auditmark.io/v1/inspections/497f6eca-6276-4993-bfeb-53cbbbba6f08/corrections/497f6eca-6276-4993-bfeb-53cbbbba6f08/revisions"
{  "items": [],  "next_cursor": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}