Auditmark

Get inspection

GET
/inspections/{inspection_id}

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"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "status": "string",  "correction_mode": "string",  "requires_approval": true,  "requires_sign_off": true,  "client_account_id": "219adf14-412b-4051-82f8-967a3418e740",  "detail_version": 1,  "name": "string",  "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",  "client_account_name": "string",  "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",  "location_name": "string",  "template_name": "string",  "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",  "family_id": "fcd2485f-01cf-42a4-b87e-419b8257112a",  "assigned_approver_id": "d942b14e-80d1-47cd-a390-b03a54775380",  "score": 0,  "score_state": "off",  "score_overview": {    "method": "points",    "score": 0,    "band": {      "min": 0,      "label": "string",      "color": "string"    },    "sections": [],    "previous": {      "id": "string",      "score": 0,      "completed_at": "string",      "delta": 0    }  },  "scheduled_at": "string",  "started_at": "string",  "completed_at": "string",  "due_at": "string",  "questions_total": 0,  "questions_answered": 0,  "participants": [],  "findings": [],  "corrective_actions": [],  "approvals": [],  "sign_offs": [],  "members": {},  "latest_report": {},  "template_snapshot": {},  "my_section_ids": [],  "responses": [],  "attachments": [],  "legacy_photo_field_keys": [],  "intake": {},  "section_instances": {},  "sourced_options": {},  "parent_inspection_id": "531ac9fd-2ee1-4323-8697-29b199f05191",  "schedule_id": "8929bb67-0da1-406c-99d2-5447376a4f58",  "schedule_title": "string",  "triggered_count": 0,  "correction": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "reason": "string",    "opened_at": "string",    "opened_by_name": "string",    "is_opener": true,    "can_close": true  },  "brief": {}}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}