> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dataerai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get apidatasets versions status

> GET /datasets/{datasetId}/versions/{versionId}/status —
returns version status, latest job, recent errors.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/datasets/{dataset_pk}/versions/{version_pk}/status/
openapi: 3.0.3
info:
  title: Console API
  version: 1.0.0
  description: Central control plane API for the Dataerai platform.
servers:
  - url: https://{server}
    description: Your Dataerai deployment (the API is served under /api)
    variables:
      server:
        default: your-deployment.dataerai.com
        description: Host of your Dataerai deployment
security: []
paths:
  /api/datasets/{dataset_pk}/versions/{version_pk}/status/:
    get:
      tags:
        - api
      description: |-
        GET /datasets/{datasetId}/versions/{versionId}/status —
        returns version status, latest job, recent errors.
      operationId: api_datasets_versions_status_retrieve
      parameters:
        - in: path
          name: dataset_pk
          schema:
            type: string
            format: uuid
          required: true
        - in: path
          name: version_pk
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetVersionStatus'
          description: ''
      security:
        - cookieAuthCsrfExempt: []
components:
  schemas:
    DatasetVersionStatus:
      type: object
      description: GET /datasets/{id}/versions/{vid}/status response shape.
      properties:
        status:
          $ref: '#/components/schemas/DatasetVersionStatusEnum'
        latest_job:
          allOf:
            - $ref: '#/components/schemas/PreprocessingJob'
          nullable: true
        errors:
          type: array
          items:
            $ref: '#/components/schemas/DatasetError'
        error_count:
          type: integer
        errors_truncated:
          type: boolean
      required:
        - error_count
        - errors
        - errors_truncated
        - latest_job
        - status
    DatasetVersionStatusEnum:
      enum:
        - UPLOADED
        - PREPROCESSING_QUEUED
        - PREPROCESSING_RUNNING
        - PREPROCESSING_FAILED
        - READY
        - DEPRECATED
      type: string
      description: |-
        * `UPLOADED` - Uploaded
        * `PREPROCESSING_QUEUED` - Preprocessing Queued
        * `PREPROCESSING_RUNNING` - Preprocessing Running
        * `PREPROCESSING_FAILED` - Preprocessing Failed
        * `READY` - Ready
        * `DEPRECATED` - Deprecated
    PreprocessingJob:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        status:
          allOf:
            - $ref: '#/components/schemas/PreprocessingJobStatusEnum'
          readOnly: true
        job_runner_id:
          type: string
          readOnly: true
        queued_at:
          type: string
          format: date-time
          readOnly: true
        started_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
        completed_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
        parameters:
          readOnly: true
      required:
        - completed_at
        - id
        - job_runner_id
        - parameters
        - queued_at
        - started_at
        - status
    DatasetError:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        preprocessing_job:
          type: string
          format: uuid
          readOnly: true
          nullable: true
        error_code:
          type: string
          readOnly: true
        error_message:
          type: string
          readOnly: true
        error_context:
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - created_at
        - error_code
        - error_context
        - error_message
        - id
        - preprocessing_job
    PreprocessingJobStatusEnum:
      enum:
        - QUEUED
        - RUNNING
        - SUCCEEDED
        - FAILED
        - CANCELLED
      type: string
      description: |-
        * `QUEUED` - Queued
        * `RUNNING` - Running
        * `SUCCEEDED` - Succeeded
        * `FAILED` - Failed
        * `CANCELLED` - Cancelled

````