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

# Get job status

> Retrieve the status of an async job (e.g., inference generation). Returns the job state, progress, result, and any error information.

Tenant isolation: a job is only visible to users in the same organization as the user who dispatched it.
Cross-tenant reads receive `404` (rather than `403`) to avoid leaking the existence of jobs in other organizations.
System jobs (those without an owning user) are never exposed through this endpoint.




## OpenAPI

````yaml https://api.galtea.ai/openapi.json get /jobs/{jobId}/status
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /jobs/{jobId}/status:
    get:
      tags:
        - jobs
      summary: Get job status
      description: >
        Retrieve the status of an async job (e.g., inference generation).
        Returns the job state, progress, result, and any error information.


        Tenant isolation: a job is only visible to users in the same
        organization as the user who dispatched it.

        Cross-tenant reads receive `404` (rather than `403`) to avoid leaking
        the existence of jobs in other organizations.

        System jobs (those without an owning user) are never exposed through
        this endpoint.
      operationId: getJobStatus
      parameters:
        - name: jobId
          in: path
          required: true
          schema:
            type: string
          description: The ID of the job to check
      responses:
        '200':
          description: Job status retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: The job ID
                  state:
                    type: string
                    description: >
                      The current state of the job. `cancelled` is surfaced once
                      the user

                      calls `POST /jobs/{jobId}/cancel`; it is distinct from
                      `failed`,

                      which is reserved for unintentional errors.
                    enum:
                      - waiting
                      - active
                      - completed
                      - failed
                      - delayed
                      - prioritized
                      - waiting-children
                      - cancelled
                  progress:
                    oneOf:
                      - type: number
                      - type: object
                    description: Job progress (0-100 or custom object)
                  result:
                    type: object
                    nullable: true
                    description: >-
                      The job result when completed (e.g., sessionResults,
                      inferenceResultIds, failedTestCaseIds)
                  error:
                    type: string
                    nullable: true
                    description: Error message if the job failed
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            Job not found, or the job is owned by a different organization
            (intentionally indistinguishable to avoid leaking existence).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          example: Error type
        message:
          type: string
          example: Error message description
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````