Auditmark

Read answers from a photo

POST
/inspections/{inspection_id}/ai-vision/extract

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.auditmark.io/v1/inspections/497f6eca-6276-4993-bfeb-53cbbbba6f08/ai-vision/extract" \  -H "Content-Type: application/json" \  -d '{    "attachment_id": "4c76e620-6daa-46e6-9da1-9ac96abab601",    "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6"  }'
{  "value": "string",  "confidence": "high",  "not_found": true,  "source_bbox": [    0  ]}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}