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

# Check job status

> Retrieves the current status of a job



## OpenAPI

````yaml post /v1/jobStatus
openapi: 3.0.0
info:
  title: Starfishdata API
  version: 1.0.0
  description: API for generating, evaluating and managing synthetic data
servers:
  - url: https://api.starfishdata.ai
    description: Production server
security: []
paths:
  /v1/jobStatus:
    post:
      summary: Check job status
      description: Retrieves the current status of a job
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JobStatusRequest'
      responses:
        '200':
          description: Successfully retrieved job status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatusResponse'
        '400':
          description: Invalid job ID
        '401':
          description: Unauthorized - Invalid API key or project access
        '404':
          description: Job not found
        '500':
          description: Server error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    JobStatusRequest:
      type: object
      required:
        - jobId
        - projectId
      properties:
        jobId:
          type: string
          description: ID of the job to check status for
        projectId:
          type: string
          description: ID of the project
    JobStatusResponse:
      type: object
      properties:
        jobId:
          type: string
          description: ID of the job
        status:
          type: string
          enum:
            - RUNNING
            - COMPLETE
            - FAILED
          description: Current status of the job
        type:
          type: string
          description: Type of the job
        success:
          type: boolean
          description: Whether the request was successful
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````