# QDS catalog detail for one dataset

`GET /v1/datasets/detail`

P6a catalog detail: real size + file count, episode/quality table
(stored scores — 'not yet scored' is surfaced honestly), and version
history (refs + commits). Sourced from QDS; 404 when the deployment's
data plane isn't QDS.

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

## Parameters

- `path` (query, string, required): Dataset path (org/name)

  ```yaml
  type: string
  maxLength: 300
  ```

## Responses

- `200` Catalog detail: facts, episodes, version history: `application/json` `any`
- `401` Invalid or missing API key: `application/json` `ErrorResponse`
- `404` No QDS detail (backend not qds or repo unknown)
- `422` Validation Error: `application/json` `HTTPValidationError`

## Schemas

```yaml
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
```
