# List Projects

`GET /v1/projects`

**Deprecated.**

List all projects for the current user. Deprecated: use GET /projects/list.

Historically this endpoint enriched each project with the legacy
``training.jobs`` rows for that project. The new run model lives on
pipeline-api (``pipeline.runs``); this deprecated route
now returns projects with an empty ``jobs`` list. Callers wanting job
state should call ``/v1/projects/list`` and follow the per-run links
on pipeline-api directly.

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

## Responses

- `200` List of projects with their associated jobs: `application/json` `ProjectsListResponse`
- `401` Invalid or missing API key: `application/json` `ErrorResponse`

## Schemas

```yaml
ProjectsListResponse:
  properties:
    data:
      items:
        $ref: "#/components/schemas/Project"
      type: array
      description: List of projects
  type: object
  required:
    - data
  title: ProjectsListResponse
  description: Response containing list of projects
Project:
  properties:
    project_id:
      type: string
      format: uuid
      description: Project ID
    name:
      type: string
      description: Project name
    description:
      description: Project description
      type:
        - string
        - "null"
    created_at:
      type: string
      format: date-time
      description: Creation timestamp
    jobs:
      items:
        $ref: "#/components/schemas/Job"
      type: array
      description: Jobs in this project
  type: object
  required:
    - project_id
    - name
    - created_at
  title: Project
  description: Project summary for list response
Job:
  properties:
    job_id:
      type: string
      format: uuid
      description: Job ID
    name:
      description: Job name/description
      type:
        - string
        - "null"
    model:
      description: Model being fine-tuned
      type:
        - string
        - "null"
    dataset:
      description: Dataset used for training
      type:
        - string
        - "null"
    status:
      description: Current job status
      type:
        - string
        - "null"
    created_at:
      type: string
      format: date-time
      description: Creation timestamp
  type: object
  required:
    - job_id
    - created_at
  title: Job
  description: Job summary within a project
ErrorResponse:
  properties:
    detail:
      type: string
      description: Error message describing what went wrong
  type: object
  required:
    - detail
  title: ErrorResponse
  description: Standard error response.
```
