New to Corsair? See API access, authentication, and error handling.
Agent
generate
agent.generate
Start a Gamma 5 agent generation from one brief, with a theme, template, quality preset and up to 10 source URLs. Spends credits
Risk: destructive
The Gamma 5 route for a new presentation, document or social post.
prompt is the only required field.
warnings full type
warnings full type
get
agent.get
Where an agent generation stands, with the same terminal states as a Classic one
Risk: read
Output
gamma full type
gamma full type
result full type
result full type
progress full type
progress full type
error full type
error full type
warnings full type
warnings full type
credits full type
credits full type
Exports
get
exports.get
Where an export stands. completed carries a download URL that works for anyone holding it, for about a week
Risk: read
completed carries a download URL valid about a week. A png export is a zip of one image per card.
Output
error full type
error full type
start
exports.start
Start an export of an existing gamma to PDF, PPTX or PNG, returning an exportId. A PNG export is a zip of one image per card
Risk: write
Output
Folders
list
folders.list
The folders the caller can see. Some are view-only, and placing a gamma with folderId needs edit access
Risk: read
Output
data full type
data full type
Gammas
archive
gammas.archive
Archive a gamma. Idempotent, and reversible from the Gamma app, so it is not destructive
Risk: write
Idempotent and reversible, so it is a write rather than a destructive call.
Output
delete
gammas.delete
Delete a gamma permanently. Needs a workspace admin role
Risk: destructive · Irreversible
Permanent, and needs a workspace admin role.
Output
get
gammas.get
One gamma’s title, author, folder, theme, archive state and thumbnail
Risk: read
Output
search
gammas.search
Full-text search over the gammas the caller can read. Needs q or a filter (createdBy, updatedAfter, updatedBefore)
Risk: read
Output
hits full type
hits full type
Generations
create
generations.create
Start a Classic generation from text or a pages array, at once returning a generationId to poll. Spends credits. Use it for webpages and multi-page gammas; the agent route covers a single new presentation
Risk: destructive
Takes
inputText or a pages array, never both. publish applies only to a multi-page generation.
pages full type
pages full type
textOptions full type
textOptions full type
imageOptions full type
imageOptions full type
cardOptions full type
cardOptions full type
get
generations.get
Where a Classic generation stands: pending is not final, completed carries the gamma ID, URL and any export URL, failed carries the error
Risk: read
Poll until
status is completed or failed. The exportUrl it may carry is a download link that works for anyone holding it, so it is never logged.
Output
error full type
error full type
credits full type
credits full type
pages full type
pages full type
Themes
list
themes.list
Workspace and official themes, with the ID a generation takes
Risk: read
Output
data full type
data full type