Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.airgraphic.io/llms.txt

Use this file to discover all available pages before exploring further.

The OpenAPI reference is generated from the checked-in openapi.json file.

Authentication

Use a bearer API key created in /app/api-keys.
# docs-example: auth-header
Authorization: Bearer ag_your_api_key
API keys inherit the workspace plan, credits, saved brands, and rate limits. Revoked keys return 401.

Endpoints

POST /api/generate

Queues one infographic generation and returns 202 with a jobId. Supported JSON primary sources:
  • sourceUrl
  • sourceText
  • sourceImage data URI
Supported multipart primary source fields:
  • sourcePdf
  • sourcePptx
  • sourceImage
referenceImage is separate. It guides visual style or asset use but does not count as the source material.

GET /api/jobs/{id}

Returns the latest job state. Completed jobs include imageUrl.

Rate limits

PlanAPI limit
Free1 request per hour, 5 per day
Creator10 requests per minute, 100 per day
Pro30 requests per minute, 500 per day
Rate-limited responses include x-ratelimit-limit, x-ratelimit-remaining, and x-ratelimit-reset headers.