> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trycarhub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vehicle Pose

> Locate the vehicle and identify its viewing angle.

[MCP tool](/guides/mcp): `carhub_vehicle_pose`.

<p data-carhub-endpoint="vehicle.pose">[See current public price](/guides/credits-and-plans).</p>

<div data-carhub-availability="vehicle.pose" hidden>
<Note><span data-carhub-availability-text></span></Note>
</div>




## OpenAPI

````yaml openapi.yaml POST /v1/vehicle/pose
openapi: 3.1.0
info:
  title: CarHub API
  version: 2026-11-15-contracts-2
  summary: Automotive inference endpoints with asynchronous jobs.
  description: >
    Submit inference requests with an organization API key. Media inputs use an
    ordered inputs array and endpoint options use params. Each result includes
    its recorded result_schema_version. Read GET /v1/endpoints for current
    availability and prices. See the inference conventions for geometry,
    analysis outcomes, retries, and per-input results.
  termsOfService: https://trycarhub.com/terms
  contact:
    name: CarHub API support
    url: https://docs.trycarhub.com
    email: api@trycarhub.com
  license:
    name: Proprietary
    identifier: LicenseRef-CarHub-Commercial
servers:
  - url: https://api.trycarhub.com
    description: Production (EU)
security:
  - ApiKeyAuth: []
tags:
  - name: Vehicle understanding
    description: Vehicle pose, identity, segmentation, and text extraction.
  - name: Damage and condition
    description: Damage detection, severity, tire inspection, and hotspots.
  - name: Parts
    description: Component recognition, segmentation, and decomposition.
  - name: Pricing
    description: Vehicle valuation and repair estimates.
  - name: Image production
    description: Image editing, backgrounds, plate artwork, spins, and video.
  - name: Jobs
    description: Asynchronous status, results, and history.
  - name: Uploads
    description: Reusable media inputs and storage management.
  - name: Outputs
    description: Generated files, current download access, and public sharing.
  - name: Assets
    description: Permanent artwork and custom backgrounds.
  - name: SDK licenses
    description: Signed SDK usage rights and public verification keys.
  - name: Catalog
    description: Endpoint availability, prices, and public plans.
externalDocs:
  description: CarHub developer documentation
  url: https://docs.trycarhub.com
paths:
  /v1/vehicle/pose:
    post:
      tags:
        - Vehicle understanding
      summary: Vehicle Pose
      description: >
        Locate the vehicle and identify its viewing angle.


        [MCP tool](/guides/mcp): `carhub_vehicle_pose`.


        <p data-carhub-endpoint="vehicle.pose">[See current public
        price](/guides/credits-and-plans).</p>


        <div data-carhub-availability="vehicle.pose" hidden>

        <Note><span data-carhub-availability-text></span></Note>

        </div>
      operationId: poseVehicle
      parameters:
        - $ref: '#/components/parameters/Wait'
        - $ref: '#/components/parameters/IdempotencyKey'
        - $ref: '#/components/parameters/TestScenario'
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              additionalProperties:
                type: string
                format: binary
              required:
                - inputs
              properties:
                public_output:
                  $ref: '#/components/schemas/PublicOutput'
                inputs:
                  type: array
                  minItems: 1
                  maxItems: 1
                  items:
                    $ref: '#/components/schemas/MultipartMediaInput'
                params:
                  $ref: '#/components/schemas/VehiclePoseParams'
            encoding:
              inputs:
                contentType: application/json
              params:
                contentType: application/json
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - inputs
              properties:
                public_output:
                  $ref: '#/components/schemas/PublicOutput'
                inputs:
                  type: array
                  minItems: 1
                  maxItems: 1
                  items:
                    $ref: '#/components/schemas/MediaInput'
                params:
                  $ref: '#/components/schemas/VehiclePoseParams'
      responses:
        '200':
          description: Job completed synchronously (`wait=true`).
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehiclePoseJob'
        '202':
          description: Job accepted.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehiclePoseJob'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    Wait:
      name: wait
      in: query
      required: false
      description: >-
        Fast endpoints only. Returns `200` with the settled job within 30
        seconds, otherwise `202` while the job continues.
      schema:
        type: boolean
        default: false
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: >-
        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`.
      schema:
        type: string
        minLength: 1
        maxLength: 255
      examples:
        uuid:
          value: 8b1f1c2e-9d3a-4a51-9f0c-1c9a2f6d7b44
    TestScenario:
      name: X-Carhub-Test-Scenario
      in: header
      required: false
      description: >-
        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.
      schema:
        type: string
        examples:
          - empty_result
          - low_confidence
          - model_error
          - slow
          - insufficient_credits
  schemas:
    PublicOutput:
      type: boolean
      default: false
      description: >-
        Keep the authenticated result indefinitely and publish all generated
        files until you unpublish the job. Available on real jobs.
    MultipartMediaInput:
      type: object
      additionalProperties: false
      required:
        - file
      properties:
        client_id:
          type: string
          minLength: 1
          maxLength: 128
        role:
          type: string
          maxLength: 64
        file:
          type: string
          minLength: 1
          maxLength: 128
    VehiclePoseParams:
      type: object
      properties:
        min_confidence:
          type: number
          minimum: 0
          maximum: 1
          default: 0.3
          description: >-
            Minimum confidence for the forced branch, or a floor for
            auto-routing.
        view_hint:
          type: string
          enum:
            - auto
            - exterior
            - interior
            - detail
          default: auto
      additionalProperties: false
    MediaInput:
      type: object
      additionalProperties: false
      required:
        - ref
      properties:
        client_id:
          type: string
          minLength: 1
          maxLength: 128
        role:
          type: string
          maxLength: 64
        ref:
          $ref: '#/components/schemas/UploadRef'
    VehiclePoseJob:
      allOf:
        - $ref: '#/components/schemas/Job'
        - type: object
          properties:
            result:
              oneOf:
                - $ref: '#/components/schemas/VehiclePoseResult'
                - type: 'null'
    UploadRef:
      type: string
      description: Reference returned by `POST /v1/uploads`.
      pattern: ^upl_[1-9A-HJ-NP-Za-km-z]{8,32}$
      examples:
        - upl_7Qm2hV9tXbLd
    Job:
      type: object
      title: Job
      description: >-
        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.
      required:
        - id
        - object
        - endpoint
        - status
        - livemode
        - is_staging
        - created
        - started_at
        - completed_at
        - model_version
        - credits
        - result
        - error
        - result_schema_version
      properties:
        is_staging:
          type: boolean
          default: false
          description: Requires live mode. Uses the organization's shared live credits.
        id:
          $ref: '#/components/schemas/JobIdString'
        object:
          type: string
          const: job
        endpoint:
          $ref: '#/components/schemas/EndpointSlug'
        status:
          $ref: '#/components/schemas/JobStatus'
        livemode:
          type: boolean
          description: '`false` for `chk_test_` jobs using fixture results and test credits.'
        public_output:
          type: boolean
          default: false
          description: >-
            Whether the job retains its result indefinitely and publishes its
            generated files.
        created:
          $ref: '#/components/schemas/Timestamp'
        started_at:
          description: When the job left the queue. Null while `queued`.
          oneOf:
            - $ref: '#/components/schemas/Timestamp'
            - type: 'null'
        completed_at:
          description: When the job settled. Null until then.
          oneOf:
            - $ref: '#/components/schemas/Timestamp'
            - type: 'null'
        model_version:
          type:
            - string
            - 'null'
          pattern: ^[a-z0-9]+(-[a-z0-9]+)*@[0-9]{4}-[0-9]{2}-[0-9]{2}$
          description: >-
            CarHub endpoint name followed by @ and its release date in
            YYYY-MM-DD format. Null until a version is available for the job.
          examples:
            - image-customizer@2026-11-16
        credits:
          $ref: '#/components/schemas/JobCredits'
        result:
          description: >-
            Endpoint payload, null until results exist. The scheduled retention
            cleanup clears expired private results. Public jobs keep their
            results until unpublished. Media availability and URL expiry are
            separate. Shape follows the endpoint's `200` and `202` schemas.
          oneOf:
            - type: object
            - type: 'null'
        error:
          description: Populated when `status` is `failed` or `expired`, null otherwise.
          oneOf:
            - $ref: '#/components/schemas/JobError'
            - type: 'null'
        test_scenario:
          type: string
          description: >-
            `X-Carhub-Test-Scenario` used for this test job. Absent for live
            jobs and jobs without the header.
          examples:
            - low_confidence
        result_schema_version:
          type: integer
          enum:
            - 1
            - 2
          description: Public result schema revision recorded when the job was admitted.
    VehiclePoseResult:
      type: object
      title: vehicle.pose result
      description: >-
        Contextual vehicle presence, one normalized position, and image
        usability.
      required:
        - vehicle_present
        - view
        - vehicle
        - exterior_position
        - interior_position
        - detail_position
        - quality
        - analysis
        - inputs
      properties:
        vehicle_present:
          type: boolean
          description: False when no vehicle occupies a usable share of the frame.
        view:
          type: string
          description: >-
            Where the camera stands. `none` when nothing recognisable is in
            frame.
          enum:
            - exterior
            - interior
            - detail
            - none
        vehicle:
          description: Primary detected vehicle. Populated only for exterior views.
          oneOf:
            - $ref: '#/components/schemas/AnalyzedVehicle'
            - type: 'null'
        exterior_position:
          description: Angle of the primary vehicle. Null unless `view` is `exterior`.
          oneOf:
            - $ref: '#/components/schemas/ExteriorPosition'
            - type: 'null'
        interior_position:
          description: Cabin zone in frame. Null unless `view` is `interior`.
          oneOf:
            - $ref: '#/components/schemas/InteriorPosition'
            - type: 'null'
        detail_position:
          description: Close-up vehicle detail. Null unless `view` is `detail`.
          oneOf:
            - $ref: '#/components/schemas/DetailPosition'
            - type: 'null'
        quality:
          $ref: '#/components/schemas/VehiclePoseQuality'
        analysis:
          $ref: '#/components/schemas/Analysis'
        inputs:
          type: array
          items:
            $ref: '#/components/schemas/ResultInput'
    ErrorResponse:
      type: object
      title: Error response
      description: Error envelope for every non-2xx response.
      required:
        - error
      additionalProperties: false
      properties:
        error:
          $ref: '#/components/schemas/Error'
    JobIdString:
      type: string
      description: Job identifier, `job_` followed by a base58 string.
      pattern: ^job_[1-9A-HJ-NP-Za-km-z]{8,32}$
      examples:
        - job_3ZxK9pQr7TnW
    EndpointSlug:
      type: string
      description: Dotted endpoint identifier used in jobs and usage.
      enum:
        - 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
    JobStatus:
      type: string
      description: >-
        `queued` then `processing`, then terminal `succeeded`, `partial`, or
        `failed`. `expired` means not started in time. `canceled` means canceled
        before starting. Both are terminal.
      enum:
        - queued
        - processing
        - succeeded
        - partial
        - failed
        - expired
        - canceled
    Timestamp:
      type: integer
      format: int64
      description: Epoch seconds, UTC.
      examples:
        - 1755300000
    JobCredits:
      type: object
      description: >-
        Job credits. 1,000 credits equal USD 1. `reserved` is held at admission.
        `charged` is the settled cost. Unused credits are released.
      required:
        - reserved
        - charged
      properties:
        extras:
          type: array
          description: >-
            Applied extras with prices fixed at admission. Empty when no extra
            applies.
          items:
            $ref: '#/components/schemas/AppliedExtra'
        reserved:
          type: integer
          minimum: 0
          examples:
            - 20
        charged:
          type:
            - integer
            - 'null'
          minimum: 0
          description: Null while the job is unsettled.
          examples:
            - 20
    JobError:
      type: object
      description: Why a job settled in `failed` or `expired`.
      required:
        - type
        - code
        - message
        - retryable
        - param
      properties:
        type:
          type: string
          enum:
            - processing_error
            - invalid_request
            - internal
        code:
          type: string
          examples:
            - model_inference_failed
            - unreadable_input
            - upstream_timeout
            - job_expired
        message:
          type: string
        retryable:
          type: boolean
        param:
          type:
            - string
            - 'null'
    AnalyzedVehicle:
      type: object
      required:
        - type
        - bbox
        - confidence
        - coverage_ratio
        - truncated
      properties:
        type:
          type: string
          enum:
            - car
            - bus
            - truck
        bbox:
          $ref: '#/components/schemas/BBox'
        confidence:
          $ref: '#/components/schemas/Confidence'
        coverage_ratio:
          type: number
          minimum: 0
          maximum: 1
          description: Share of the frame area occupied by this vehicle.
        truncated:
          type: boolean
          description: True when the vehicle is cut by the edge of the frame.
    ExteriorPosition:
      type: object
      required:
        - angle
        - confidence
      properties:
        angle:
          type: string
          description: Nearest of the eight canonical walkaround angles.
          enum:
            - front
            - front_left
            - left
            - rear_left
            - rear
            - rear_right
            - right
            - front_right
        confidence:
          $ref: '#/components/schemas/Confidence'
    InteriorPosition:
      type: object
      required:
        - zone
        - confidence
      properties:
        zone:
          type: string
          enum:
            - dashboard
            - front_seats
            - rear_seats
            - other
        confidence:
          $ref: '#/components/schemas/Confidence'
    DetailPosition:
      type: object
      required:
        - zone
        - confidence
      properties:
        zone:
          type: string
          enum:
            - boot
            - engine_bay
            - wheel
            - rim
            - tire_tread
            - other
        confidence:
          $ref: '#/components/schemas/Confidence'
    VehiclePoseQuality:
      type: object
      required:
        - usable
        - sharpness_score
        - reasons
      properties:
        usable:
          type: boolean
        sharpness_score:
          type: number
          minimum: 0
          maximum: 1
        reasons:
          type: array
          uniqueItems: true
          items:
            type: string
            enum:
              - blurred
              - low_confidence
              - subject_not_found
    Analysis:
      type: object
      additionalProperties: false
      required:
        - status
        - reason_codes
      properties:
        status:
          type: string
          enum:
            - analyzed
            - not_found
            - unreadable
            - ambiguous
            - unassessable
            - not_applicable
            - not_requested
        reason_codes:
          type: array
          uniqueItems: true
          items:
            type: string
            minLength: 1
    ResultInput:
      type: object
      additionalProperties: false
      required:
        - input_index
        - client_id
        - role
      properties:
        input_index:
          type: integer
          minimum: 0
        client_id:
          type:
            - string
            - 'null'
        role:
          type:
            - string
            - 'null'
        width:
          type: integer
          minimum: 1
        height:
          type: integer
          minimum: 1
    Error:
      type: object
      required:
        - type
        - code
        - message
        - param
        - doc_url
        - request_id
        - retryable
      properties:
        type:
          type: string
          description: Failure category for handling errors without matching codes.
          enum:
            - invalid_request
            - authentication
            - permission
            - rate_limit
            - insufficient_credits
            - not_found
            - conflict
            - processing_error
            - internal
        code:
          type: string
          description: >-
            Stable identifier within `type`. Handle unknown codes by their
            `type`.
          examples:
            - missing_input
            - invalid_api_key
            - rate_limit_exceeded
        message:
          type: string
          description: English log-safe message. Never localized or intended for end users.
        param:
          type:
            - string
            - 'null'
          description: Field or header responsible for the error, if known.
        doc_url:
          type: string
          format: uri
          description: Documentation page for this exact code.
          examples:
            - https://docs.trycarhub.com/errors/missing_input
        request_id:
          type: string
          description: Failing request identifier, also in `X-Request-Id`.
          examples:
            - req_2Kd8xQmPvL4T
        quota_bytes:
          type: integer
          description: Organization storage limit for `storage_quota_exceeded`.
        stored_bytes:
          type: integer
        reserved_bytes:
          type: integer
        available_bytes:
          type: integer
        requested_bytes:
          type: integer
        oldest_deletable_ref:
          type: string
        oldest_deletable_at:
          type: string
          format: date-time
        retryable:
          type: boolean
    AppliedExtra:
      type: object
      required:
        - code
        - label
        - price_minor
        - billing_unit
        - reserved_quantity
        - charged_quantity
      properties:
        code:
          type: string
        label:
          type: string
        price_minor:
          type: integer
          minimum: 0
        billing_unit:
          type: string
          enum:
            - request
            - image
        reserved_quantity:
          type: integer
          minimum: 0
        charged_quantity:
          type: integer
          minimum: 0
        requires_paid_organization:
          type: boolean
          default: false
    BBox:
      type: object
      title: Bounding box
      description: >-
        Axis-aligned pixel box in the EXIF-oriented source image. Origin is
        top-left.
      required:
        - x
        - 'y'
        - width
        - height
      properties:
        x:
          type: integer
          description: Left edge, in pixels.
        'y':
          type: integer
          description: Top edge, in pixels.
        width:
          type: integer
          minimum: 0
          description: Width, in pixels.
        height:
          type: integer
          minimum: 0
          description: Height, in pixels.
      examples:
        - x: 120
          'y': 340
          width: 180
          height: 48
    Confidence:
      type: number
      description: >-
        Observation confidence, 0 to 1. Scores are not calibrated across
        analyses.
      minimum: 0
      maximum: 1
      examples:
        - 0.94
  headers:
    RequestId:
      description: Request identifier to include in support requests.
      schema:
        type: string
        examples:
          - req_2Kd8xQmPvL4T
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 0
        examples:
          - 12
  responses:
    BadRequest:
      description: >-
        Invalid request or JSON, missing or oversized file, unknown parameter,
        or unsupported `wait=true`.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingInput:
              summary: No input supplied
              value:
                error:
                  type: invalid_request
                  code: missing_input
                  message: >-
                    Provide the required inputs array with uploaded references
                    or named multipart files.
                  param: inputs
                  doc_url: https://docs.trycarhub.com/errors/missing_input
                  request_id: req_2Kd8xQmPvL4T
                  retryable: false
            waitUnsupported:
              summary: wait=true on a long-running endpoint
              value:
                error:
                  type: invalid_request
                  code: wait_not_supported
                  message: >-
                    This endpoint is long-running; poll the job or use a webhook
                    instead.
                  param: wait
                  doc_url: https://docs.trycarhub.com/errors/wait_not_supported
                  request_id: req_2Kd8xQmPvL4T
                  retryable: false
    Unauthorized:
      description: Missing, malformed, revoked or expired credential.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            invalidKey:
              value:
                error:
                  type: authentication
                  code: invalid_api_key
                  message: The provided API key is invalid or has been revoked.
                  param: null
                  doc_url: https://docs.trycarhub.com/errors/invalid_api_key
                  request_id: req_2Kd8xQmPvL4T
                  retryable: false
    InsufficientCredits:
      description: >-
        Insufficient credits. No job created. Add live credits or recharge the
        test balance in dashboard Billing before retrying.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            emptyCreditBalances:
              value:
                error:
                  type: insufficient_credits
                  code: insufficient_credits
                  message: Credit balance is 3 credits; this call reserves 8.
                  param: null
                  doc_url: https://docs.trycarhub.com/errors/insufficient_credits
                  request_id: req_2Kd8xQmPvL4T
                  retryable: false
    Forbidden:
      description: >-
        Missing key permission or organization endpoint access, another
        organization's resource, or paid_organization_required when selected
        options require a non-trial plan or confirmed live payment. No job is
        created for paid_organization_required.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            outOfScope:
              value:
                error:
                  type: permission
                  code: scope_not_granted
                  message: This API key is not scoped for the `render` endpoint family.
                  param: null
                  doc_url: https://docs.trycarhub.com/errors/scope_not_granted
                  request_id: req_2Kd8xQmPvL4T
                  retryable: false
    NotFound:
      description: No such resource, or it is not visible to this credential.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            unknownJob:
              value:
                error:
                  type: not_found
                  code: resource_not_found
                  message: No job with id `job_3ZxK9pQr7TnW`.
                  param: id
                  doc_url: https://docs.trycarhub.com/errors/resource_not_found
                  request_id: req_2Kd8xQmPvL4T
                  retryable: false
    Conflict:
      description: >-
        Conflicting resource state, idempotency payload, or input reservation
        above the organization storage quota.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            idempotencyReuse:
              value:
                error:
                  type: conflict
                  code: idempotency_key_reused
                  message: >-
                    This Idempotency-Key was already used with a different
                    request body.
                  param: Idempotency-Key
                  doc_url: https://docs.trycarhub.com/errors/idempotency_key_reused
                  request_id: req_2Kd8xQmPvL4T
                  retryable: false
    RateLimited:
      description: Too many requests for this endpoint and plan. Back off and retry.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            tooFast:
              value:
                error:
                  type: rate_limit
                  code: rate_limit_exceeded
                  message: >-
                    Rate limit of 120 requests per minute exceeded for
                    `plate.read`.
                  param: null
                  doc_url: https://docs.trycarhub.com/errors/rate_limit_exceeded
                  request_id: req_2Kd8xQmPvL4T
                  retryable: true
    InternalError:
      description: >-
        Internal error. No charge. Retry with the same `Idempotency-Key`.
        Include `request_id` if the error persists.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            internal:
              value:
                error:
                  type: internal
                  code: internal_error
                  message: An unexpected error occurred.
                  param: null
                  doc_url: https://docs.trycarhub.com/errors/internal_error
                  request_id: req_2Kd8xQmPvL4T
                  retryable: true
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: CarHub API key
      description: >
        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.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.