# List User Models

`GET /v1/models/list`

List the current user's trained models with cursor-based pagination.

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

## Parameters

- `model_type` (query, string | null): Filter: vla_model or reward_model
- `project_id` (query, string | null (uuid)): Filter by project
- `job_id` (query, string | null (uuid)): Filter by job
- `account_id` (query, string | null (uuid)): Scope to this account (the dashboard's active account). Membership is verified upstream; a non-member gets 403.
- `search` (query, string | null): Search model path

  ```yaml
  maxLength: 200
  type:
    - string
    - "null"
  ```
- `limit` (query, integer)

  ```yaml
  type: integer
  maximum: 1000
  minimum: 1
  default: 20
  ```
- `cursor` (query, string | null): Pagination cursor
- `sort` (query, string): One of: `newest`, `oldest`, `updated`, `name`.

  ```yaml
  type: string
  default: newest
  ```

## Responses

- `200` Paginated list of user's trained models: `application/json` `PaginatedModelsResponse`
- `401` Invalid or missing API key: `application/json` `ErrorResponse`
- `422` Invalid pagination parameters

## Schemas

```yaml
PaginatedModelsResponse:
  properties:
    items:
      items:
        $ref: "#/components/schemas/ModelItem"
      type: array
    page_info:
      $ref: "#/components/schemas/PageInfo"
  type: object
  required:
    - page_info
  title: PaginatedModelsResponse
ModelItem:
  properties:
    artifact_id:
      type: string
      format: uuid
      description: Artifact ID
    subtype:
      type: string
      description: Model subtype (vla_model, reward_model)
    path:
      type: string
      description: HuggingFace or local model path
    display_name:
      description: The name the model's owner gave it; null when never renamed
      type:
        - string
        - "null"
    metadata:
      additionalProperties: true
      type: object
    jobs:
      items:
        $ref: "#/components/schemas/JobLink"
      type: array
    created_at:
      type: string
      format: date-time
    updated_at:
      type: string
      format: date-time
  type: object
  required:
    - artifact_id
    - subtype
    - path
    - created_at
    - updated_at
  title: ModelItem
JobLink:
  properties:
    job_id:
      type: string
      format: uuid
    direction:
      type: string
      description: input or output
  type: object
  required:
    - job_id
    - direction
  title: JobLink
PageInfo:
  properties:
    has_next:
      type: boolean
      description: Whether more items exist after this page
    end_cursor:
      description: Cursor for the next page
      type:
        - string
        - "null"
    total_count:
      description: Total matching items
      type:
        - integer
        - "null"
  type: object
  required:
    - has_next
  title: PageInfo
ErrorResponse:
  properties:
    detail:
      type: string
      description: Error message describing what went wrong
  type: object
  required:
    - detail
  title: ErrorResponse
  description: Standard error response.
```
