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

# Get the full example set for a dataset job

> Hydrate the full JSONL example set from S3 for review.



## OpenAPI

````yaml get /api/finetune/datasets/{job_id}/content
openapi: 3.1.0
info:
  title: Nx1 AI API
  description: |

    AI API for Nx1 Data Platform Management and Automated Data Tasks.

    Authentication is required via PSK in Authorization header.

    Default PSK is | [ask a friend] |
  version: 0.10.2
servers: []
security: []
paths:
  /api/finetune/datasets/{job_id}/content:
    get:
      tags:
        - AutoLLM
      summary: Get the full example set for a dataset job
      description: Hydrate the full JSONL example set from S3 for review.
      operationId: get_dataset_content_api_finetune_datasets__job_id__content_get
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: Dataset job ID.
            title: Job Id
          description: Dataset job ID.
        - name: source
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/DatasetSourceEnum'
            description: Which artifact to hydrate.
            default: proposed
          description: Which artifact to hydrate.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetContent'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2AuthorizationCodeBearer: []
        - APIKeyHeader: []
components:
  schemas:
    DatasetSourceEnum:
      type: string
      enum:
        - proposed
        - approved
      title: DatasetSourceEnum
      description: Which S3 artifact of a dataset job to read.
    DatasetContent:
      properties:
        job_id:
          type: string
          format: uuid
          title: Job Id
        status:
          $ref: '#/components/schemas/FineTuneDatasetStatusEnum'
        example_count:
          type: integer
          title: Example Count
        examples:
          items:
            $ref: '#/components/schemas/QAExample'
          type: array
          title: Examples
        source:
          type: string
          enum:
            - proposed
            - approved
          title: Source
          description: Which artifact these examples came from.
      type: object
      required:
        - job_id
        - status
        - example_count
        - examples
        - source
      title: DatasetContent
      description: Full example set for a job — the S3-backed JSONL, hydrated.
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
          description: A brief description of the error that occurred.
        code:
          type: integer
          title: Code
          description: The HTTP status code associated with the error.
          default: 500
      type: object
      required:
        - error
      title: ErrorResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FineTuneDatasetStatusEnum:
      type: string
      enum:
        - running
        - pending_approval
        - failed
        - approved
        - materializing
        - complete
      title: FineTuneDatasetStatusEnum
      description: Lifecycle of a fine-tuning dataset job.
    QAExample:
      properties:
        messages:
          items:
            $ref: '#/components/schemas/ChatMessage'
          type: array
          maxItems: 50
          minItems: 1
          title: Messages
          description: Chat turns; typically a user question and an assistant answer.
        provenance:
          anyOf:
            - type: string
            - type: 'null'
          title: Provenance
          description: Source of the example — a DataHub URN, document name, or note.
        category:
          anyOf:
            - type: string
            - type: 'null'
          title: Category
          description: >-
            Knowledge category: glossary | document | lineage | tag |
            data_product | user.
      type: object
      required:
        - messages
      title: QAExample
      description: A single instruction-tuning example in chat format.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ChatMessage:
      properties:
        role:
          type: string
          enum:
            - system
            - user
            - assistant
          title: Role
        content:
          type: string
          maxLength: 100000
          title: Content
      type: object
      required:
        - role
        - content
      title: ChatMessage
      description: One turn in a chat-format training example.
  securitySchemes:
    OAuth2AuthorizationCodeBearer:
      type: oauth2
      flows:
        authorizationCode:
          scopes: {}
          authorizationUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/auth
          tokenUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/token
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization-PSK

````