Detection
List detection runs
The document's detection history, newest first. Forcing a re-run never replaces the run before it, so this is where "what did detection say last time, and what changed" is answered, both for audit and for comparing two agent versions on the same document.
Each entry is a summary: whether the run was forced, which agent version produced it, what it cost and where that number came from, which model answered, and the run's timestamps. The detected fields, the formatting assessment, and the per-field reasoning live on GET /documents/{documentId}/detect/{runId}.
get/documents/{documentId}/detect
Request
- Base URL: https://inkseal.net/api/v1
- URL: https://inkseal.net/api/v1/documents/{documentId}/detect
- Auth: HTTP bearer
Query parameters
pageinteger
1-based page number.
limitinteger
Items per page.
Response
A page of detection runs, newest first.
Example response
{
"data": [
{
"detectionRunId": 4821,
"status": "completed",
"forced": true,
"agentVersion": "2.0.0-party-hints",
"costUsd": 0.0184,
"costSource": "actual",
"reservedCostUsd": 0.03,
"primaryModelUsed": "anthropic/claude-sonnet-4",
"modelRequested": "anthropic/claude-sonnet-4",
"createdAt": "2026-08-21T14:06:44.201Z",
"startedAt": "2026-08-21T14:06:45.006Z",
"completedAt": "2026-08-21T14:07:12.884Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.