# List Jobs (Paginated)

`GET /v1/jobs/list`

List pipeline runs of the request's workspace (its X-Qualia-Workspace,
or the caller's own); ``project_id``, if given, must be that workspace.

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

## Parameters

- `project_id` (query, string | null (uuid)): Filter by project
- `vla_type` (query, string | null): Filter by VLA type
- `job_type` (query, string | null): Filter: vla, reward, vla_w_reward
- `search` (query, string | null): Search job description, model, or dataset

  ```yaml
  maxLength: 200
  type:
    - string
    - "null"
  ```
- `account_id` (query, string | null (uuid)): Scope to this account (the dashboard's active account). Membership is verified upstream; a non-member gets 403.
- `limit` (query, integer)

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

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

## Responses

- `200` Paginated list of training jobs: `application/json` `PaginatedJobsResponse`
- `401` Invalid or missing API key: `application/json` `ErrorResponse`
- `422` Invalid pagination parameters

## Schemas

```yaml
PaginatedJobsResponse:
  properties:
    items:
      items:
        $ref: "#/components/schemas/JobItem"
      type: array
    page_info:
      $ref: "#/components/schemas/PageInfo"
  type: object
  required:
    - page_info
  title: PaginatedJobsResponse
JobItem:
  properties:
    job_id:
      type: string
      format: uuid
    project_id:
      type: string
      format: uuid
    audience:
      type: string
      enum:
        - internal
        - public
      default: internal
    pipeline_name:
      description: The name of the pipeline template the job runs
      type:
        - string
        - "null"
    status:
      description: Latest phase status
      type:
        - string
        - "null"
    current_op:
      description: Latest phase name
      type:
        - string
        - "null"
    updated_at:
      description: When the run or one of its steps last changed status
      format: date-time
      type:
        - string
        - "null"
    metadata:
      $ref: "#/components/schemas/FinetunePublicMetadata"
    finetuned_model_id:
      type:
        - string
        - "null"
  type: object
  required:
    - job_id
    - project_id
  title: JobItem
FinetunePublicMetadata:
  properties:
    job_desc:
      maxLength: 1024
      type:
        - string
        - "null"
    vla_type:
      nullable: true
      type: string
      enum:
        - act
        - pi05
        - smolvla
        - sarm
    job_type:
      nullable: true
      type: string
      enum:
        - vla
        - reward
        - vla_w_reward
    model_name:
      maxLength: 193
      type:
        - string
        - "null"
    dataset_version_id:
      format: uuid
      type:
        - string
        - "null"
    base_model:
      nullable: true
      allOf:
        - $ref: "#/components/schemas/PublicModelIdentity"
    reward_model:
      nullable: true
      allOf:
        - $ref: "#/components/schemas/PublicModelIdentity"
    use_rabc:
      type: boolean
      default: false
    training_hours:
      maximum: 168
      exclusiveMinimum: 0
      type:
        - number
        - "null"
    batch_size:
      maximum: 512
      minimum: 1
      type:
        - integer
        - "null"
    instance_type:
      maxLength: 128
      type:
        - string
        - "null"
    region:
      maxLength: 128
      type:
        - string
        - "null"
    created_at:
      format: date-time
      type:
        - string
        - "null"
  additionalProperties: false
  type: object
  title: FinetunePublicMetadata
  description: |-
    Fixed public projection of durable pipeline inputs.

    Storage locations, read capabilities, internal principals, compute
    overrides, and the raw run snapshot are deliberately not representable.
PublicModelIdentity:
  properties:
    hub_id:
      type: string
      maxLength: 193
      minLength: 3
    revision:
      type: string
      pattern: ^[0-9a-f]{40}$
  additionalProperties: false
  type: object
  required:
    - hub_id
    - revision
  title: PublicModelIdentity
  description: Immutable external model identity safe to return to clients.
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.
```
