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

# Get data job

> Retrieve details for a specific data job.

Returns the full details of a data job, including its status, nested ingestion jobs, per-file records, timeline events, and alignment status. This is the primary endpoint for monitoring a job throughout its lifecycle.

For a field-by-field reference on status states, file records, and timeline events, see [Monitor ingestion](/flow/sdk/data-engine/monitor-ingestion).


## OpenAPI

````yaml get /v1/flow/data-jobs/{data_job_id}
openapi: 3.1.0
info:
  title: SeekrFlow API
  description: SeekrFlow API Documentation
  termsOfService: http://www.seekr.com/support
  contact:
    name: Seekr API Support
    url: http://www.seekr.com/contact
    email: contact@seekr.com
  version: 5.87.1
servers:
  - url: https://flow.seekr.com
    description: SeekrBuild server base URL
security: []
paths:
  /v1/flow/data-jobs/{data_job_id}:
    get:
      tags:
        - Data jobs
      summary: Get data job
      description: Retrieve details for a specific data job.
      operationId: get_data_job_v1_flow_data_jobs__data_job_id__get
      parameters:
        - name: data_job_id
          in: path
          required: true
          schema:
            type: string
            title: Data Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataJobDetailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    DataJobDetailResponse:
      properties:
        id:
          type: string
          title: Id
        user_id:
          type: string
          title: User Id
        name:
          type: string
          title: Name
        job_type:
          type: string
          title: Job Type
        alignment_job_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Alignment Job Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        status:
          $ref: '#/components/schemas/DataJobStatus'
        system_prompt:
          anyOf:
            - type: string
            - type: 'null'
          title: System Prompt
        system_prompt_updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: System Prompt Updated At
        instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Instructions
        instructions_updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Instructions Updated At
        resolved_instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Resolved Instructions
        vector_database_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Vector Database Id
        additional_alignment_file_ids:
          items:
            type: string
          type: array
          title: Additional Alignment File Ids
        ingestion_jobs:
          items:
            $ref: '#/components/schemas/IngestionJobDetail'
          type: array
          title: Ingestion Jobs
        alignment_job:
          anyOf:
            - $ref: '#/components/schemas/AlignmentResponse'
            - type: 'null'
        files:
          items:
            $ref: '#/components/schemas/DataJobFile'
          type: array
          title: Files
        fine_tuning_job_ids:
          items:
            type: string
          type: array
          title: Fine Tuning Job Ids
        timeline:
          items:
            $ref: '#/components/schemas/TimelineEvent'
          type: array
          title: Timeline
      type: object
      required:
        - id
        - user_id
        - name
        - job_type
        - alignment_job_id
        - created_at
        - updated_at
        - status
      title: DataJobDetailResponse
      description: Extends DataJobResponse Full detail payload for the per-job view.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DataJobStatus:
      type: string
      enum:
        - file_processing
        - needs_review
        - ready_to_start
        - pending
        - queued
        - running
        - cancelled
        - failed
        - completed
      title: DataJobStatus
      description: Status values for data jobs.
    IngestionJobDetail:
      properties:
        id:
          type: string
          title: Id
        status:
          $ref: '#/components/schemas/DataJobStatus'
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        file_ids:
          items:
            type: string
          type: array
          title: File Ids
        records:
          items:
            $ref: '#/components/schemas/IngestionFileRecord'
          type: array
          title: Records
      type: object
      required:
        - id
        - status
        - created_at
        - updated_at
      title: IngestionJobDetail
    AlignmentResponse:
      properties:
        id:
          type: string
          title: Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
        status:
          $ref: '#/components/schemas/AlignmentJobStatus'
        current_step:
          anyOf:
            - type: string
            - type: 'null'
          title: Current Step
        step_progress:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Step Progress
        progress:
          anyOf:
            - type: number
            - type: 'null'
          title: Progress
        estimated_completion_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Estimated Completion At
        eta_minutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Eta Minutes
        status_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Status Message
      additionalProperties: true
      type: object
      required:
        - id
        - created_at
        - status
      title: AlignmentResponse
    DataJobFile:
      properties:
        file_id:
          type: string
          title: File Id
          description: Alignment file identifier
        record_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Record Id
          description: Ingestion job file record identifier (if any)
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Human readable file name
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
          description: Detected file type
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
          description: Creation timestamp of the underlying file
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          description: Processing status for ingestion records
        suggested_fix:
          anyOf:
            - type: string
            - type: 'null'
          title: Suggested Fix
          description: Suggested fix when ingestion failed
        bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Bytes
          description: File size in bytes
      type: object
      required:
        - file_id
      title: DataJobFile
    TimelineEvent:
      properties:
        timestamp:
          type: string
          format: date-time
          title: Timestamp
        event_type:
          type: string
          title: Event Type
        message:
          type: string
          title: Message
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
      type: object
      required:
        - timestamp
        - event_type
        - message
      title: TimelineEvent
    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
    IngestionFileRecord:
      properties:
        record_id:
          type: string
          title: Record Id
          description: File record ID
        ingestion_job_id:
          type: string
          title: Ingestion Job Id
          description: Parent ingestion job ID
        alignment_file_id:
          type: string
          title: Alignment File Id
          description: Alignment file ID
        user_id:
          type: string
          title: User Id
          description: Owner of the ingestion job
        filename:
          type: string
          title: Filename
          description: Filename
        metaflow_job_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Metaflow Job Id
          description: Metaflow job handling this file
        method:
          anyOf:
            - type: string
            - type: 'null'
          title: Method
          description: Ingestion method used for processing
        status:
          type: string
          title: Status
          description: File processing status
        queue_position:
          anyOf:
            - type: integer
            - type: 'null'
          title: Queue Position
          description: Position in queue if status is queued
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
          description: Error message if failed
        suggested_fix:
          anyOf:
            - type: string
            - type: 'null'
          title: Suggested Fix
          description: Suggested fix when processing fails
        worker_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Worker Id
          description: Worker currently handling the file
        deleted:
          type: boolean
          title: Deleted
          description: Whether this record has been soft-deleted
          default: false
        created_at:
          type: string
          format: date-time
          title: Created At
        processing_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Processing At
          description: Timestamp when processing started
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
          description: Timestamp when processing completed
        failed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Failed At
          description: Timestamp when processing failed
      additionalProperties: true
      type: object
      required:
        - record_id
        - ingestion_job_id
        - alignment_file_id
        - user_id
        - filename
        - status
        - created_at
      title: IngestionFileRecord
    AlignmentJobStatus:
      type: string
      enum:
        - pending
        - queued
        - running
        - cancelled
        - failed
        - completed
        - stopped
      title: AlignmentJobStatus
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: Seekr API Key without 'Bearer' Prefix
      in: header
      name: Authorization

````