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

# Poll a Forma AI transform job

> Returns the state of an asynchronous Forma AI transform job. When status is `completed`, the response includes the `result` payload identical to the synchronous response shape.



## OpenAPI

````yaml /openapi.json get /api/ai/transform/jobs/{jobId}
openapi: 3.1.0
info:
  title: Convertly API
  version: 1.0.0
  description: >-
    Convertly provides production API endpoints for media conversion,
    compression, Image CDN delivery, Forma AI, HLS/DASH video streaming, media
    tools, async jobs, workflows, webhooks, and Convertly Storage.
  license:
    name: Proprietary
    url: https://convertly.sh/terms
servers:
  - url: https://convertly.sh
security:
  - bearerAuth: []
  - apiKeyAuth: []
paths:
  /api/ai/transform/jobs/{jobId}:
    get:
      tags:
        - Forma AI
      summary: Poll a Forma AI transform job
      description: >-
        Returns the state of an asynchronous Forma AI transform job. When status
        is `completed`, the response includes the `result` payload identical to
        the synchronous response shape.
      operationId: getAiTransformJob
      parameters:
        - name: jobId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Current state of the AI transform job.
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    type: object
                    properties:
                      id:
                        type: string
                      status:
                        type: string
                        enum:
                          - queued
                          - running
                          - completed
                          - failed
                      progress:
                        type: integer
                        minimum: 0
                        maximum: 100
                      error:
                        type:
                          - string
                          - 'null'
                  result:
                    type:
                      - object
                      - 'null'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
components:
  responses:
    Error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        upgradeUrl:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Dashboard-generated Convertly API key. Keys currently begin with
        `cvly_`.
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Alternative API key header for server-side clients.

````