Auditmark

Get report data

GET
/inspections/{inspection_id}/report-payload

Structured ReportPayload for the React web report. Authorizes via the caller's RLS connection (visibility), renders on a service_session scoped to the caller's org.

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

Response Body

application/json

application/json

curl -X GET "https://api.auditmark.io/v1/inspections/497f6eca-6276-4993-bfeb-53cbbbba6f08/report-payload"
{  "schema_version": 1,  "rtl": false,  "language": "en",  "strings": {},  "ai_summary": {},  "theme_tokens": {},  "page_size": "A4",  "assets": {},  "blocks": [],  "meta": {    "score_state": "off",    "show_subject": true,    "show_generated": false,    "show_completed": false,    "header_lines": []  },  "sections": [],  "findings": [],  "sign_offs": [],  "personnel": [],  "media_groups": [],  "intake_details": [],  "intake_groups": [],  "actions": [],  "image_size": "M",  "section_dividers": false,  "entry_titles_v2": false,  "media_unavailable": 0}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}