> ## 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.

# Retrieve an SDK license without renewal

> Retrieve the authenticated organization's license without renewal. Requires `sdk:{sdk}:read` or `sdk:{sdk}:write`.

<Note>
Sandbox keys are forbidden. General `*` access grants no SDK license rights. Check the returned state; a successful response can describe an expired or unassigned license.
</Note>




## OpenAPI

````yaml openapi.yaml GET /v1/sdk-licenses/{sdk}
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/sdk-licenses/{sdk}:
    parameters:
      - name: sdk
        in: path
        required: true
        schema:
          type: string
          enum:
            - player
            - capture
            - review
            - report
    get:
      summary: Retrieve an SDK license without renewal
      description: >
        Retrieve the authenticated organization's license without renewal.
        Requires `sdk:{sdk}:read` or `sdk:{sdk}:write`.


        <Note>

        Sandbox keys are forbidden. General `*` access grants no SDK license
        rights. Check the returned state; a successful response can describe an
        expired or unassigned license.

        </Note>
      operationId: getSDKLicense
      responses:
        '200':
          description: License and derived quota; Cache-Control no-store
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SDKLicenseView'
        '401':
          description: Invalid API key
        '403':
          description: scope_not_granted or license_environment_forbidden
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SDKLicenseView:
      type: object
      required:
        - sdk
        - state
        - max_sdks
        - consumed
        - available
        - license
      properties:
        sdk:
          type: string
          enum:
            - player
            - capture
            - review
            - report
        state:
          type: string
          enum:
            - unassigned
            - active
            - expired
        max_sdks:
          type: integer
          minimum: 0
        consumed:
          type: integer
          minimum: 0
        available:
          type: integer
          minimum: 0
        license:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SDKLicense'
    SDKLicense:
      type: object
      required:
        - id
        - organization_id
        - sdk
        - created_at
        - issued_at
        - valid_from
        - expires_at
        - proof
      properties:
        id:
          type: string
          format: uuid
        organization_id:
          type: string
        sdk:
          type: string
          enum:
            - player
            - capture
            - review
            - report
        created_at:
          type: string
          format: date-time
        issued_at:
          type: string
          format: date-time
        valid_from:
          type: string
          format: date-time
        expires_at:
          type: string
          format: date-time
        proof:
          type: string
          description: >-
            EdDSA JWT for offline verification; never an API authentication
            credential
  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.