verify jobs.md

Documentation Index

Fetch the complete documentation index at: https://filecheck.io/docs/llms.txt Use this file to discover all available pages before exploring further.

Verify jobs

Use your secret key to fetch a job server-side and download the fixed output file.

Client-side gating keeps customers honest, but you should verify the job server-side before fulfilling an order.

Fetch a job

GET https://api.filecheck.io/jobs/{jobId}
GET https://api.filecheck.io/jobs/{jobId}?expand=runs   # full pipeline detail

Authenticate with your secret key:

curl https://api.filecheck.io/jobs/{jobId} \
  -H "Authorization: Bearer sk_live_…"

Verify before fulfilling

  1. Confirm the job exists and belongs to the expected Workflow.
  2. Confirm it reached a terminal status where canProceed is true.
  3. Read files[n].outputRef to download the auto-fixed file.

[!WARNING]

Never call this endpoint from the browser. The secret key is server-side only. See Authentication.

[!NOTE]

Prefer not to poll? Configure webhooks to receive results as they complete.

This documentation is built and hosted on Mintlify, a developer documentation platform.