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

# Get async execute_step job status

> Returns the current state of an execute_step job. `result` stays null even when `succeeded`, because the output is a zip — fetch it from `GET /v2/execute_step/jobs/{job_id}/result` instead.



## OpenAPI

````yaml /openapi.json get /v2/execute_step/jobs/{job_id}
openapi: 3.1.0
info:
  title: Nixtla Forecast API
  description: >-
    API for TimeGPT forecast. Just send your data as json and get results. We do
    the heavy lifting.
  version: 0.4.2
servers:
  - url: https://api.nixtla.io
security: []
paths:
  /v2/execute_step/jobs/{job_id}:
    get:
      tags:
        - async jobs
      summary: Get async execute_step job status
      description: >-
        Returns the current state of an execute_step job. `result` stays null
        even when `succeeded`, because the output is a zip — fetch it from `GET
        /v2/execute_step/jobs/{job_id}/result` instead.
      operationId: get_execute_step_job_status_v2_execute_step_jobs__job_id__get
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncJobStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    AsyncJobStatusResponse:
      properties:
        job_id:
          type: string
          title: Job Id
          description: The job this status describes.
        status:
          $ref: '#/components/schemas/AsyncJobStatus'
          description: Lifecycle state; terminal states are succeeded, failed, cancelled.
        result:
          anyOf:
            - {}
            - type: 'null'
          title: Result
          description: >-
            The task's output once succeeded; null while pending, and for binary
            tasks.
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
          description: Failure detail when status is failed; otherwise null.
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
          description: ISO-8601 timestamp of when the job was accepted.
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
          description: ISO-8601 timestamp of the last state transition.
      type: object
      required:
        - job_id
        - status
      title: AsyncJobStatusResponse
      description: >-
        A job's current state, polled from the per-task status endpoint.


        `result` is populated only once `status` is `succeeded`, and stays null
        for a binary task whose

        output is a zip — that arrives from the task's dedicated result endpoint
        instead.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AsyncJobStatus:
      type: string
      enum:
        - pending
        - running
        - succeeded
        - failed
        - cancelled
      title: AsyncJobStatus
    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
  securitySchemes:
    HTTPBearer:
      type: http
      description: HTTPBearer
      scheme: bearer

````