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

# Poll the status of an async generation job. Pass batchId (from generate_image) or projectId (from generate_video). Returns per-generation statuses, asset ids/URLs when complete, and errors when failed.

> Poll the status of an async generation job. Pass batchId (from generate_image) or projectId (from generate_video). Returns per-generation statuses, asset ids/URLs when complete, and errors when failed.



## OpenAPI

````yaml /openapi.json post /tools/get_generation_status
openapi: 3.1.0
info:
  title: AdStellar API
  version: 1.0.0
  description: >-
    Public REST API for AdStellar — creative generation, video generation,
    campaign management, and analytics. Every endpoint maps 1:1 to an AdStellar
    MCP tool.
servers:
  - url: https://app.adstellar.ai/api/v1
security: []
paths:
  /tools/get_generation_status:
    post:
      summary: >-
        Poll the status of an async generation job. Pass batchId (from
        generate_image) or projectId (from generate_video). Returns
        per-generation statuses, asset ids/URLs when complete, and errors when
        failed.
      description: >-
        Poll the status of an async generation job. Pass batchId (from
        generate_image) or projectId (from generate_video). Returns
        per-generation statuses, asset ids/URLs when complete, and errors when
        failed.
      operationId: get_generation_status
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                batchId:
                  description: Image batch id from generate_image.
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                projectId:
                  description: Video project id from generate_video.
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              additionalProperties: false
      responses:
        '200':
          description: Tool result
        '401':
          description: Missing or invalid API key
        '403':
          description: Missing required scope
        '429':
          description: Rate limit exceeded
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: AdStellar API key (ast_live_...)

````