# Get Model Camera Slots

`GET /v1/models/camera-slots`

The camera slots a finetune of this VLA type maps a dataset's cameras onto.

Each key is a ``camera_mappings`` key for ``POST /v1/finetune``; its value
is the model's name for that camera. The dashboard's camera mapping reads
the same answer from platform-api's Hugging Face surface.

- Base URL: `https://api.qualia.dev`
- Authentication: an API key in the `X-API-Key` header, or `Authorization: Bearer …`

## Parameters

- `vla_type` (query, string, required): VLA type: act or pi05
- `model_id` (query, string | null): Hugging Face model ID (repo id)

  ```yaml
  maxLength: 200
  type:
    - string
    - "null"
  ```
- `robot_type` (query, string | null): Robot type, for a VLA type whose slots depend on it

  ```yaml
  maxLength: 100
  type:
    - string
    - "null"
  ```

## Responses

- `200` The camera slots, keyed by camera_mappings key: `application/json` `CameraSlotsResponse`
- `400` Unknown VLA type or robot type: `application/json` `ErrorResponse`
- `401` Invalid or missing API key: `application/json` `ErrorResponse`
- `422` Validation Error: `application/json` `HTTPValidationError`

## Schemas

```yaml
CameraSlotsResponse:
  properties:
    camera_names:
      additionalProperties:
        type: string
      type: object
      description: Slot key (a camera_mappings key, e.g. cam_1) to the model's name for that camera (e.g. image_top)
    model_specific:
      type: boolean
      description: True when the slots were read from this model; false when they are the VLA type's own
  type: object
  required:
    - camera_names
    - model_specific
  title: CameraSlotsResponse
  description: The camera slots a finetune maps a dataset's cameras onto.
ErrorResponse:
  properties:
    detail:
      type: string
      description: Error message describing what went wrong
  type: object
  required:
    - detail
  title: ErrorResponse
  description: Standard error response.
HTTPValidationError:
  properties:
    detail:
      items:
        $ref: "#/components/schemas/ValidationError"
      type: array
  type: object
  title: HTTPValidationError
ValidationError:
  properties:
    loc:
      items:
        type:
          - string
          - integer
      type: array
      title: Location
    msg:
      type: string
      title: Message
    type:
      type: string
      title: Error Type
    input: {}
    ctx:
      type: object
      title: Context
  type: object
  required:
    - loc
    - msg
    - type
  title: ValidationError
```
