Read a check
Returns a check by its id, with the full verdict once status is completed or failed. Use it to reconcile a webhook you missed; a check whose status isn't terminal is still running.
Request
curl -X GET "https://studioapi.kriyam.ai/models/doc-forensics/{run_id}" \
-H "X-API-Key: $KRIYAM_API_KEY"Response
Authentication
Send your key in the X-API-Key header. See Authentication.
Request
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
run_id | string | Required | The |
Response
200 OK
Errors
| Status | Code | When |
|---|---|---|
| 400 | — | The file is empty, isn't an image or a PDF, or the thresholds are outside 0-100 or in the wrong order. |
Every keyed call can also get401402403404429— see Errors.
