How a site check works
- Start the check with the file’s name, type, size and digests. No key is needed. The answer gives the check’s
try_id, a token to keep, and an address to PUT the file to within 5 minutes with exactly the headers given. - PUT the file, then send it for its check. The check runs on the file as it arrived.
- Read where it is:
waiting_for_file,checkingwith its stage (queued,reading,checkingordeciding),doneorfailed. Nothing of the result is shown here. - Sign up, then bring the document into your new workspace with the token (Bring in a document checked on the site). It shows as checked, under the free start, and counts as its first document.
POST/v1/try/checks
Start checking one document from Kontiga’s site, before any account exists: get where to send the file, and a token that brings the result into the workspace made after sign-up. One PDF, JPEG or PNG up to 25 MB.
- Who may
- Anyone, with no account yet
- CLI
kontiga try create <file>- MCP tool
start_site_check- Returns
- The site check, the token that claims it after sign-up, and where to PUT the file within 5 minutes.
Parameters
file_nameRequiredThe file’s name. At most 255 characters.
content_typeRequiredapplication/pdf,image/jpegorimage/png.byte_sizeRequiredThe file’s size in bytes, at most 25 MB.
sha256RequiredThe file’s SHA-256 in base64. The storage refuses other bytes.
checksumRequiredThe file’s MD5 in base64. The storage refuses other bytes.
curl -X POST https://api.kontiga.com/v1/try/checks \
-H "Content-Type: application/json" \
-d '{
"file_name": "payslip-oct.pdf",
"content_type": "application/pdf",
"byte_size": 248113,
"sha256": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
"checksum": "rL0Y20zC+Fzt72VPzMSk2A=="
}'POST /v1/try/checks
{
"id": "try_0193f6a2c5e27b3a9d4e1f6a7b8c9d0e",
"object": "try_check",
"state": "waiting_for_file",
"stage": null,
"expires_at": "2026-12-04T10:02:44Z",
"token": "AZP2osXie3s9TR9qe4ycDhJ2l0Xy1xY0aVqWkP3bQ2c",
"upload": {
"url": "https://files.kontiga.com/uploads/ws_.../9c1f...?X-Amz-Signature=...",
"method": "PUT",
"headers": {
"Content-Type": "application/pdf",
"Content-MD5": "rL0Y20zC+Fzt72VPzMSk2A==",
"If-None-Match": "*",
"x-amz-checksum-sha256": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="
},
"expires_at": "2026-11-29T10:07:44Z"
}
}POST/v1/try/checks/{check_id}/submit
Once the file is sent to its address, start its check. The result stays for the workspace made after sign-up.
- Who may
- Anyone, with no account yet
- CLI
kontiga try submit <check_id>- MCP tool
submit_site_check- Returns
- The site check, in the queue.
Parameters
check_idRequiredThe check, once its file was PUT. Before that the answer is
409 upload_not_received; sending it again answers where it is. In the path.
curl -X POST https://api.kontiga.com/v1/try/checks/try_0193f6a2c5e27b3a9d4e1f6a7b8c9d0e/submitPOST /v1/try/checks/{check_id}/submit
{
"id": "try_0193f6a2c5e27b3a9d4e1f6a7b8c9d0e",
"object": "try_check",
"state": "checking",
"stage": "queued",
"expires_at": "2026-12-04T10:02:44Z"
}GET/v1/try/checks/{check_id}
Whether a site check is waiting for its file, being checked, done or failed, and the stage it is at. Its result is read only after sign-up.
- Who may
- Anyone, with no account yet
- CLI
kontiga try get <check_id>- MCP tool
get_site_check- Returns
- The site check’s state and stage; never its result.
Parameters
check_idRequiredThe check. A check brought in or deleted answers
404 not_found. In the path.
curl -X GET https://api.kontiga.com/v1/try/checks/try_0193f6a2c5e27b3a9d4e1f6a7b8c9d0eGET /v1/try/checks/{check_id}
{
"id": "try_0193f6a2c5e27b3a9d4e1f6a7b8c9d0e",
"object": "try_check",
"state": "done",
"stage": null,
"expires_at": "2026-12-04T10:02:44Z"
}