Skip to main content
GET
Check generation status
Poll this endpoint to check the status of any async operation (presentation generation, slide creation, export, or transcript generation).

Status Values

Recommended polling: Every 5 seconds. Most operations complete within 1-3 minutes depending on slide count.

Response Fields


Format Results

When status is completed, the formats object contains results for each requested format:
Each format has:
  • status: completed, failed, or skipped
  • url: Signed download URL (valid for 24 hours)
  • error: Error message if failed

Example


Polling Example (Python)

Download URLs in the formats object are signed and valid for 24 hours. Store the presentation_id if you need to export again later.

Authorizations

Authorization
string
header
required

Your Alai API key. Get one from your account settings at app.getalai.com

Path Parameters

generation_id
string
required

Response

Successful Response

generation_id
string
required
status
enum<string>
required

Current state: pending → in_progress → completed/failed

Available options:
pending,
in_progress,
completed,
failed
created_at
string
required
error
string | null

Human-readable error message when status is 'failed'

completed_at
string | null

ISO 8601 timestamp when generation finished

generation_type
string
default:presentation_generation
Allowed value: "presentation_generation"
presentation_id
string | null

Available once generation starts. Use this ID for subsequent operations.

formats
Formats · object | null

Export results keyed by format ('link', 'pdf', 'ppt'). Only present when completed.