Skip to main content
POST
VIN Reader

Authorizations

Authorization
string
header
required

Send Authorization: Bearer YOUR_API_KEY. Use chk_test_ for fixture results and test credits, chk_stg_ for staging, and chk_live_ for production. Production and staging share live credits. Keys require explicit operation permissions. Store secrets on your backend.

Headers

Idempotency-Key
string

Submission key retained for 24 hours. The same key and payload replay the stored response. A different payload returns 409 idempotency_key_reused. Concurrent requests may return 409 request_in_progress.

Required string length: 1 - 255
X-Carhub-Test-Scenario
string

Deterministic chk_test_ scenario. Omit for the successful fixture. Values are empty_result, low_confidence, model_error, slow, and insufficient_credits. Known values without an endpoint fixture use the default result. Unknown values return 400 unknown_test_scenario. Live and staging keys return 400 scenario_requires_test_key. See /guides/test-mode.

Examples:

"empty_result"

"low_confidence"

"model_error"

"slow"

"insufficient_credits"

Query Parameters

wait
boolean
default:false

Fast endpoints only. Returns 200 with the settled job within 30 seconds, otherwise 202 while the job continues.

Body

inputs
object[]
required
Required array length: 1 element
public_output
boolean
default:false

Keep the authenticated result indefinitely and publish all generated files until you unpublish the job. Available on real jobs.

params
object
{key}
file

Response

Job completed synchronously (wait=true).

Asynchronous job returned by submissions, GET /v1/jobs/{id}, and webhooks. succeeded or partial jobs may include results. result_schema_version identifies the result contract.

is_staging
boolean
default:false
required

Requires live mode. Uses the organization's shared live credits.

id
string
required

Job identifier, job_ followed by a base58 string.

Pattern: ^job_[1-9A-HJ-NP-Za-km-z]{8,32}$
Example:

"job_3ZxK9pQr7TnW"

object
string
required
Allowed value: "job"
endpoint
enum<string>
required

Dotted endpoint identifier used in jobs and usage.

Available options:
vehicle.pose,
vehicle.segment,
vehicle.identify,
vin.read,
driver_license.read,
plate.read,
document.read,
dashboard.read,
engine.detect,
damage.detect,
damage.severity,
tire.read,
tire.detect,
parts.recognize,
parts.segment,
parts.decompose,
pricing.vehicle,
pricing.repair,
carhub.background,
render.background,
render.customize,
render.enhance,
render.plate,
render.360,
render.video,
render.hotspots
status
enum<string>
required

queued then processing, then terminal succeeded, partial, or failed. expired means not started in time. canceled means canceled before starting. Both are terminal.

Available options:
queued,
processing,
succeeded,
partial,
failed,
expired,
canceled
livemode
boolean
required

false for chk_test_ jobs using fixture results and test credits.

created
integer<int64>
required

Epoch seconds, UTC.

Example:

1755300000

started_at
integer<int64> | null
required

When the job left the queue. Null while queued.

Example:

1755300000

completed_at
integer<int64> | null
required

When the job settled. Null until then.

Example:

1755300000

model_version
string | null
required

CarHub endpoint name followed by @ and its release date in YYYY-MM-DD format. Null until a version is available for the job.

Pattern: ^[a-z0-9]+(-[a-z0-9]+)*@[0-9]{4}-[0-9]{2}-[0-9]{2}$
Example:

"image-customizer@2026-11-16"

credits
object
required

Job credits. 1,000 credits equal USD 1. reserved is held at admission. charged is the settled cost. Unused credits are released.

result
vin.read result · object | null
required

Seventeen-character VIN and ISO 3779 check-digit result. Vehicle decoding requires a separate lookup.

error
object | null
required

Populated when status is failed or expired, null otherwise.

result_schema_version
enum<integer>
required

Public result schema revision recorded when the job was admitted.

Available options:
1,
2
public_output
boolean
default:false

Whether the job retains its result indefinitely and publishes its generated files.

test_scenario
string

X-Carhub-Test-Scenario used for this test job. Absent for live jobs and jobs without the header.

Example:

"low_confidence"