Generations API
Inspect and list past PDF generations.
GET /v1/generations/:id
jsonexample
{
"id": "pdf_abc123",
"status": "completed",
"template_id": null,
"url": "https://files.pdfend.com/pdf_abc123.pdf",
"pages": 3,
"size": 45230,
"duration_ms": 1180,
"error": null,
"created_at": "2026-04-10T14:00:00Z",
"completed_at": "2026-04-10T14:00:01Z"
}GET /v1/generations
bashexample
curl "https://api.pdfend.com/v1/generations?page=1&limit=20" \
-H "Authorization: Bearer pk_live_..."jsonexample
{
"data": [ /* generations */ ],
"pagination": {
"page": 1,
"limit": 20,
"total": 153,
"total_pages": 8
}
}