curl, jq, a local image named plate.jpg, and a test API key. In the dashboard’s API access page, grant the key inference:plate.read, uploads:create, and jobs:read:own.
1
Set your credentials
Run these commands on your server or local development machine. Replace the example key with your
chk_test_ key.2
Submit an image
Choose an idempotency key for this submission. Save it for retries and use a new value for each new job.The API returns
202 with a job containing id, status, and livemode: false. Test mode returns a fixture, not a reading of your image.3
Retrieve the result
status is succeeded, read result.plates. If the job is still queued or processing, repeat retrieval with backoff. See jobs for every terminal status.Continue your integration
- Exercise failures with test scenarios.
- Receive results through webhooks.
- Find another operation in Inference API.
- Evaluate real results with a staging key, which consumes live credits.