I have been generating gammas since few weeks and have already generated more than 5k with automation but i saved the export url but not the actual file now i need those files but can't access them getting 403 any solutions for this as its not possible to go and manually download all 5k Little urgent if anyone can help @here
Hey Aarush - unfortunately the export URLs from the API are temporary and expire after about 7 days. Since you generated these a few weeks ago, those links are no longer accessible. There's no way to bulk re-export existing Gammas through the API. The exportAs parameter only works during the initial generation request - once that export URL expires, it's gone. Going forward: When using exportAs in your automation, you need to download the files immediately after generation completes. The API docs specifically call this out:
"Download the files once generated as the links will become invalid after a period of time."
For high-volume automation workflows: Poll the GET endpoint until status: "completed"
Download from exportUrl immediately
Store files in your own storage (S3, etc.)
Never rely on the export URL persisting
Sorry there's not a better solution for the already-expired exports.
So you are saying I need to regenerate all 5k gammas? Or manually export them? 🤔
Unfortunately yes, those are your only two options. Neither is great, I know. The Gammas themselves still exist at their gammaUrl (gamma.app/docs/abc123), just not the export files. Manual export: Possible but obviously not realistic at 5k scale. Regenerate with exportAs: Would work but you'd pay credits again for all 5k. There's no bulk export feature for existing Gammas currently. I recognize this is a painful limitation at your scale. Thanks for sharing the use case, it helps us understand what power users need from the API.
ok thanks!
