> For the complete documentation index, see [llms.txt](https://developers.gamma.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.gamma.app/management/get-export-status.md).

# GET /exports/{id}

Poll an export job until `status` is `completed` or `failed`. When complete, the response includes `exportUrl`.

## Get export status

> Retrieves the current status of an export job. Poll this endpoint until status is "completed" or "failed".

```json
{"openapi":"3.0.0","info":{"title":"Gamma Public API","version":"1.0"},"tags":[{"name":"public-api","description":"Public API endpoints for external integrations"}],"servers":[{"url":"https://public-api.gamma.app","description":"Production"}],"security":[{"api-key":[]}],"components":{"securitySchemes":{"api-key":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key for authentication"}},"schemas":{"ExportStatusResponse":{"type":"object","properties":{"exportAs":{"description":"The requested export format, echoed from the request. Always present —\npinned from the original request, so it's returned for every status\n(`pending`, `completed`, and `failed`).","enum":["pptx","pdf","png"],"type":"string"},"exportId":{"type":"string","description":"Unique identifier for the export job."},"status":{"type":"string","description":"Current status of the export job. Poll until \"completed\" or \"failed\".","enum":["failed","pending","completed"]},"gammaId":{"type":"string","description":"Canonical file ID of the exported Gamma. Always present. Always the file\nID, even when a page/doc ID was supplied as `gammaId` in the export request\n(it resolves to its parent gamma), so this may differ from the value you\npassed."},"exportUrl":{"type":"string","description":"URL to download the exported file (when completed). The file format matches\n`exportAs`: `pptx` → .pptx, `pdf` → .pdf, `png` → a .zip archive containing\none PNG per card (not a single PNG file). Anyone with this URL can download\nthe file until it expires (about one week) — access is not tied to your API\nkey. Treat the link as a secret: don't log it, share it, or embed it in\nclient-side code."},"error":{"description":"Error details (when failed).","allOf":[{"$ref":"#/components/schemas/ExportError"}]}},"required":["exportAs","exportId","status","gammaId"]},"ExportError":{"type":"object","properties":{"reason":{"description":"Machine-readable failure reason so callers can react programmatically.\n`render_timeout` and `export_failed` are transient (safe to retry);\n`deck_too_large` and `no_content` require changing the input.","enum":["render_timeout","deck_too_large","no_content","export_failed"],"type":"string"},"message":{"type":"string","description":"Human-readable error message."},"statusCode":{"type":"number","description":"Indicative status code for the failure."}},"required":["message","statusCode"]}}},"paths":{"/v1.0/exports/{id}":{"get":{"description":"Retrieves the current status of an export job. Poll this endpoint until status is \"completed\" or \"failed\".","operationId":"getExportStatus","parameters":[{"name":"id","required":true,"in":"path","description":"The unique export ID returned from the export endpoint","schema":{"type":"string"}}],"responses":{"200":{"description":"Export status retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportStatusResponse"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Invalid or missing API key"},"404":{"description":"Export not found"}},"summary":"Get export status","tags":["public-api"]}}}}
```

{% hint style="info" %}
Export URLs expire after approximately one week. Anyone with the URL can download the file; access is not tied to your API key. Treat export links as secrets — do not log them, share them, or embed them in client-side code.
{% endhint %}

## Related

* [POST /gammas/{gammaId}/export](/management/export-gamma.md) to start an export
* [Poll for results](/guides/async-patterns-and-polling.md) for polling patterns and rate limit guidance
* [Error codes](/reference/error-codes.md) if the export fails


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers.gamma.app/management/get-export-status.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
