Skip to main content
Use a chk_test_ key at https://api.trycarhub.com. Test jobs use fixtures, carry livemode: false, and consume test credits. They do not process your media with live inference. Authentication, input validation, permissions, jobs, and signed webhooks still apply.

Select a scenario

Set X-Carhub-Test-Scenario on an inference request. Omit it for the endpoint’s default successful fixture. A known scenario without a fixture for that endpoint uses its default result. An unknown scenario name returns 400 unknown_test_scenario. Sending this header with a production or staging key returns 400 scenario_requires_test_key.
Use a new idempotency key for each test case. Reuse the same key only to test retries of the same payload.

Check before using real media

Test a successful result, a failed job, a pending job, and duplicate webhook delivery handling. Then use staging to assess real results and input-specific behavior. Beta endpoints still require access in test mode.