Skip to main content
Complete these checks before using a chk_live_ key for customer traffic.

Credentials and access

  • Store keys in a secret manager, outside browser code and logs.
  • Grant the required endpoint, input upload, and job-read permissions. See authentication.
  • Check endpoint availability with GET /v1/endpoints. Obtain beta access where required. Preview endpoints do not accept production traffic.
  • Keep sandbox, staging, and production credentials separate. Staging consumes live credits.

Requests and results

  • Persist an Idempotency-Key for each inference submission and reuse it only for retries of that payload.
  • Handle 202 as accepted work. Track every terminal job status, including partial.
  • Back off on 429 and honor Retry-After when present.
  • Log X-Request-Id, the job ID, and the endpoint slug for support.
  • Use uploads for video and reusable inputs. Download result files before their URLs expire.
  • Handle empty results, low confidence, and per-image errors in your application.

Delivery and validation

  • Verify webhook signatures over the raw request body.
  • Deduplicate events using the payload’s id and acknowledge after durable storage.
  • Exercise retry and failure handling in test mode.
  • Evaluate real output quality in staging, then confirm live credit and storage capacity in the dashboard.