Decks
Create decks asynchronously from prompts, typed sources, or a caller-edited outline, then poll, inspect, and download the rendered result.
List accessible decks with project, flag, sort, search, and pagination filters.
Decks that have no slides yet (generation still running, or never completed) are omitted; fetch those by id.
HTTPBearerAuthorizationBearer <token>project_id?|Only decks in this project; a project-bound key defaults to its own.
flag?|Only decks you flagged this way, e.g. STARRED.
sort?DeckSortOrder: RECENT (last edited), UPDATED, CREATED, or NAME.
"RECENT""RECENT""NAME""UPDATED""CREATED"search?|Only decks whose name contains this text (case-insensitive).
page?PagePage number, starting at 1.
1 <= value1limit?LimitItems per page.
1 <= value <= 20050Successful Response
application/json- response
data*array<>Items on this page.
page*Page1-based page number returned.
limit*LimitMaximum items per page.
total*TotalItems matching the filters across all pages.
curl -X GET 'https://api.presentations.ai/api/v1/decks'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "source_deck_id": "b30bc0f3-d119-4f75-a8a4-cbaeb4d3e344", "legacy_deck_id": "string", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "name": "string", "visibility": "PROJECT", "thumbnail_url": "string", "thumbnails": [ { "url": "string", "width": 0, "height": 0 } ], "deck_url": "string", "has_share_link": false, "archived_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "flags": [ "STARRED" ], "version": "v1", "origin_version": "v1", "permissions": { "workspace_role": "OWNER", "project_role": "LEAD", "deck_grant_role": "VIEW", "is_creator": true, "capabilities": [ "workspace.read" ] }, "shared_with_me": true } ], "page": 0, "limit": 0, "total": 0}Create a deck and run supplied content through final export.
A request with generation inputs requires Request-Id, returns 202 +
Location by default, and accepts Prefer: wait=N up to 180 seconds. Supply
either a prompt and/or typed document sources, or a complete authored
outline. Authored outlines skip outline generation but still run slides and
export. Same-ID/different-body returns a rich 409 suggesting a
version-suffixed request ID.
HTTPBearerAuthorizationBearer <token>Request-Id*Request-IdRequired caller request ID; reuse it to safely retry this create. derive lets the server derive it from the request, for AI agents and tools that can't keep one: the same request from the same user returns the same deck, until that deck fails or is deleted. Files count by their file_id, so a file uploaded again is a new request.
^[A-Za-z0-9][A-Za-z0-9._:~-]{0,254}$1 <= length <= 255Prefer?|Optional bounded generation wait: wait=N, where N is 0-180.
application/json- body
Create a deck and optionally run generation through final export.
The run covers outline -> slides -> export. A text source is raw text used
as source material, equivalent to an attached document but with no upload
or extraction step. Files-only generates from the attached documents;
extraction must have completed (409 otherwise).
A caller-authored outline skips outline generation and runs the supplied
structure directly through slides and export. It cannot be combined with a
prompt or document sources. Use POST /outlines for stateless preview and
review before creating a deck.
At least one generation input is required. Omitted name defaults to a placeholder, replaced by the requested or authored title when available.
prompt?|Topic and instructions for the presentation, or pasted content to build from.
sources?array<|>|Inline text and/or references to files uploaded through POST /files.
name?NameDeck name shown in the workspace. Omitted: deck_title, else the outline's documentTitle, else the generated title.
1 <= length <= 255"Untitled Presentation"visibility?DeckVisibilityWho can open the deck. PROJECT requires project_id; PUBLIC requires the decks:share scope.
"WORKSPACE""PROJECT""PRIVATE""WORKSPACE""PUBLIC"project_id?|Project to create the deck in. Required for PROJECT visibility; a project-scoped API key must pass its own project.
deck_title*|Requested presentation title. Alone it is enough to generate from; it also names the deck when name is omitted.
outline?|Caller-authored outline, e.g. an edited POST /outlines result. Skips outline generation; cannot be combined with prompt or sources. Its slides are billed at the deck's rate, even when POST /outlines already billed them.
company?|Company the deck is about; seeds research and the outline's companyName instead of inferring it from the prompt.
creator_role?|Author's job title; sets background tone and research budget. Omitted: the API key owner's profile role.
model?DeckGenerationModelGeneration model tier, case-insensitive. A tier above the workspace plan's returns 403 FEATURE_NOT_IN_PLAN.
"STANDARD""STANDARD""PRO""ULTRA"language?LanguageOutput language as an English name (e.g. French); auto follows the language of the prompt and sources.
1 <= length <= 100"English"slide_count?|Slides including the cover, each number 1-50: N exact, N-M a range, N+ at least N, auto or omitted lets the writer decide. 1 yields one summary slide with no cover.
level_of_detail?|Text density per content item, case-insensitive. Omitted: adapted to the topic and content.
insider_content?|Private background facts about your organisation. Used where a slide calls for them, never cited; counts toward the plan content limit.
export_format?DeckExportFormatFormat of the artifact exported when generation completes.
"PPTX""PPTX""PDF""IMAGE"audience?|Who the deck is for. Omitted: inferred from the prompt and sources, never asked back (the API run has no questions).
deck_purpose?|Purpose id from the deck purpose taxonomy: pitch, sales, marketing, strategy, report, training, teaching, coursework, product, research, security, general.
brand_kit_id?|Style the deck as a brand: an id from GET /brand-kits. Omitted: no brand kit.
deep_search?Deep SearchConsultant-grade research and exhibit slides; doubles the deck's per-slide credits. Not applicable to an authored outline.
falsebudget_tier?Budget TierQuality tier: lite, standard (default) or premium, each billed at its own per-slide rate. An API run is always Fast: it never asks questions, at any tier.
"standard""lite""standard""premium"missing_data?|A figure only you hold that nobody gave: placeholder leaves a [DATA NEEDED: …] marker; estimate writes a plausible estimate (recorded as one in the outline's figure check). Omitted: taken from what the prompt asks for ("use only my numbers" leaves markers), else estimate.
fidelity?|How source material is used: retain keeps its slides, condense keeps its sections and tightens them, context builds a new deck from it. Omitted: picked from the request and the material.
narrative?|Narrative arc the storyline follows (e.g. answer_first, what_why_how). Omitted: the usual arc for the purpose and audience.
delivery?|How the deck is shown: stage (a big screen), meeting, video (a call), read (sent and read alone) or print. Sets the words per slide.
use_case?|Use case id from the create flow's list; routes the writer persona and the asks.
speaker_notes?Speaker NotesWrite presenter talking points for every slide.
falsecompany_domain?|The company's web domain (e.g. example.com); with company, seeds research and the brand lookup.
graphic_types?array<>|Allow-list of body graphics the writer may use (e.g. table, list, diagram); anything else is redrawn as the closest allowed type.
diagram_subtypes?array<>|Allow-list of diagram shapes (e.g. process, cycle) when diagram is allowed.
Generation became terminal during the requested bounded wait.
application/json- response
Accepted deck generation.
Carries no viewer URL: creating a deck never shares it. A public link is
opt-in through POST /decks/{deck_id}/share-link.
request_id*Request IdCaller request ID used to safely replay this deck creation.
1 <= length <= 255deck_id*Deck IdDeck being generated.
uuidstatus*AsyncTaskStatusDurable lifecycle state for this request.
"CREATED""RUNNING""COMPLETED""FAILED"stage*GenerationStageCurrent generation stage for progress display.
"QUEUED""OUTLINE""SLIDES""EXPORT""COMPLETED""FAILED"status_url*Status UrlCanonical URL to poll for this request.
uri1 <= lengthdeck_url*Deck UrlOpens the deck in the PresentationsAI app; requires signing in as a member with access. Not a public link: share one with POST /decks/{deck_id}/share-link.
uri1 <= lengtherror*|Sanitized terminal failure message; non-null only when status is FAILED.
created_at*Created AtWhen the request was accepted.
date-timeupdated_at*Updated AtLast change to status, stage or warnings.
date-timewarnings?array<>Nonterminal degradations encountered while generation continued.
export?|Finished artifact; non-null after successful export persistence.
curl -X POST 'https://api.presentations.ai/api/v1/decks' \ -H 'Request-Id: string' \ -H 'Content-Type: application/json' \ -d '{ "name": "Launch plan", "prompt": "Explain our launch plan to sales leadership.", "slide_count": "10", "export_format": "PPTX"}'{ "request_id": "q3-customer-review-v1", "deck_id": "dc2d4f8d-a52a-4c58-aeb8-02b4d1dc9001", "status": "COMPLETED", "stage": "COMPLETED", "status_url": "https://api.presentations.ai/api/v1/requests/q3-customer-review-v1", "error": null, "created_at": "2026-08-14T09:30:00Z", "updated_at": "2026-08-14T09:31:42Z", "warnings": [], "export": { "id": "7ec2d749-85dc-4e02-8bf2-76b663d5c002", "deck_id": "dc2d4f8d-a52a-4c58-aeb8-02b4d1dc9001", "format": "PPTX", "content_type": "application/vnd.openxmlformats-officedocument.presentationml.presentation", "size_bytes": 1843200, "download_url": "https://api.presentations.ai/api/v1/decks/dc2d4f8d-a52a-4c58-aeb8-02b4d1dc9001/exports/7ec2d749-85dc-4e02-8bf2-76b663d5c002/content", "created_at": "2026-08-14T09:31:42Z" }}Create or replay a durable deck generation and stream bounded status.
This is the streaming transport for the same idempotent operation as
POST /decks. Disconnecting or reaching the wait bound never cancels the
generation; callers resume through the emitted request.status_url.
HTTPBearerAuthorizationBearer <token>wait?WaitSeconds to stream request status before detaching (0-180).
0 <= value <= 180180Request-Id*Request-IdCaller request ID shared with POST /decks retries. derive lets the server derive it from the request, for AI agents and tools that can't keep one: the same request from the same user returns the same deck, until that deck fails or is deleted. Files count by their file_id, so a file uploaded again is a new request.
^[A-Za-z0-9][A-Za-z0-9._:~-]{0,254}$1 <= length <= 255application/json- body
Create a deck and optionally run generation through final export.
The run covers outline -> slides -> export. A text source is raw text used
as source material, equivalent to an attached document but with no upload
or extraction step. Files-only generates from the attached documents;
extraction must have completed (409 otherwise).
A caller-authored outline skips outline generation and runs the supplied
structure directly through slides and export. It cannot be combined with a
prompt or document sources. Use POST /outlines for stateless preview and
review before creating a deck.
At least one generation input is required. Omitted name defaults to a placeholder, replaced by the requested or authored title when available.
prompt?|Topic and instructions for the presentation, or pasted content to build from.
sources?array<|>|Inline text and/or references to files uploaded through POST /files.
name?NameDeck name shown in the workspace. Omitted: deck_title, else the outline's documentTitle, else the generated title.
1 <= length <= 255"Untitled Presentation"visibility?DeckVisibilityWho can open the deck. PROJECT requires project_id; PUBLIC requires the decks:share scope.
"WORKSPACE""PROJECT""PRIVATE""WORKSPACE""PUBLIC"project_id?|Project to create the deck in. Required for PROJECT visibility; a project-scoped API key must pass its own project.
deck_title*|Requested presentation title. Alone it is enough to generate from; it also names the deck when name is omitted.
outline?|Caller-authored outline, e.g. an edited POST /outlines result. Skips outline generation; cannot be combined with prompt or sources. Its slides are billed at the deck's rate, even when POST /outlines already billed them.
company?|Company the deck is about; seeds research and the outline's companyName instead of inferring it from the prompt.
creator_role?|Author's job title; sets background tone and research budget. Omitted: the API key owner's profile role.
model?DeckGenerationModelGeneration model tier, case-insensitive. A tier above the workspace plan's returns 403 FEATURE_NOT_IN_PLAN.
"STANDARD""STANDARD""PRO""ULTRA"language?LanguageOutput language as an English name (e.g. French); auto follows the language of the prompt and sources.
1 <= length <= 100"English"slide_count?|Slides including the cover, each number 1-50: N exact, N-M a range, N+ at least N, auto or omitted lets the writer decide. 1 yields one summary slide with no cover.
level_of_detail?|Text density per content item, case-insensitive. Omitted: adapted to the topic and content.
insider_content?|Private background facts about your organisation. Used where a slide calls for them, never cited; counts toward the plan content limit.
export_format?DeckExportFormatFormat of the artifact exported when generation completes.
"PPTX""PPTX""PDF""IMAGE"audience?|Who the deck is for. Omitted: inferred from the prompt and sources, never asked back (the API run has no questions).
deck_purpose?|Purpose id from the deck purpose taxonomy: pitch, sales, marketing, strategy, report, training, teaching, coursework, product, research, security, general.
brand_kit_id?|Style the deck as a brand: an id from GET /brand-kits. Omitted: no brand kit.
deep_search?Deep SearchConsultant-grade research and exhibit slides; doubles the deck's per-slide credits. Not applicable to an authored outline.
falsebudget_tier?Budget TierQuality tier: lite, standard (default) or premium, each billed at its own per-slide rate. An API run is always Fast: it never asks questions, at any tier.
"standard""lite""standard""premium"missing_data?|A figure only you hold that nobody gave: placeholder leaves a [DATA NEEDED: …] marker; estimate writes a plausible estimate (recorded as one in the outline's figure check). Omitted: taken from what the prompt asks for ("use only my numbers" leaves markers), else estimate.
fidelity?|How source material is used: retain keeps its slides, condense keeps its sections and tightens them, context builds a new deck from it. Omitted: picked from the request and the material.
narrative?|Narrative arc the storyline follows (e.g. answer_first, what_why_how). Omitted: the usual arc for the purpose and audience.
delivery?|How the deck is shown: stage (a big screen), meeting, video (a call), read (sent and read alone) or print. Sets the words per slide.
use_case?|Use case id from the create flow's list; routes the writer persona and the asks.
speaker_notes?Speaker NotesWrite presenter talking points for every slide.
falsecompany_domain?|The company's web domain (e.g. example.com); with company, seeds research and the brand lookup.
graphic_types?array<>|Allow-list of body graphics the writer may use (e.g. table, list, diagram); anything else is redrawn as the closest allowed type.
diagram_subtypes?array<>|Allow-list of diagram shapes (e.g. process, cycle) when diagram is allowed.
Strict accepted and request-status events. A detached event means durable generation is still running and should be polled at its status URL.
text/event-stream- response
Deck generation was durably accepted.
type?TypeEvent discriminator.
"accepted"deck*The accepted generation request.
curl -X POST 'https://api.presentations.ai/api/v1/decks/stream' \ -H 'Request-Id: string' \ -H 'Content-Type: application/json' \ -d '{ "prompt": "Explain our launch plan to sales leadership.", "slide_count": "10", "export_format": "PPTX"}'{ "type": "accepted", "deck": { "request_id": "string", "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "status": "CREATED", "stage": "QUEUED", "status_url": "http://example.com", "deck_url": "http://example.com", "error": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "warnings": [ { "message": "string", "stage": "string", "source": "string", "retryable": false, "occurred_at": "2019-08-24T14:15:22Z" } ], "export": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "format": "PPTX", "content_type": "string", "size_bytes": 0, "download_url": "string", "created_at": "2019-08-24T14:15:22Z" } }}Fetch deck metadata, latest generation status, and existing export artifacts.
Over MCP, export download URLs open without a key and expire after 15 minutes.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidSuccessful Response
application/json- response
Deck metadata plus its latest generation state and previously produced artifacts.
id*IdDeck id.
uuidworkspace_id*Workspace IdWorkspace that owns the deck.
uuidproject_id*|Project the deck belongs to; null for none.
source_deck_id?|nulllegacy_deck_id?|Legacy is_document.id this deck was migrated from; null if authored in-app.
created_by*|User id of the creator; null once that account is deleted.
name*NameDeck name.
visibility*DeckVisibilityWho can open the deck.
"PROJECT""PRIVATE""WORKSPACE""PUBLIC"thumbnail_url*|Absolute cover thumbnail URL; null before the first render.
thumbnails*array<>Every stored size of the same render, largest first (thumbnails[0] is thumbnail_url). Empty until the first render.
deck_url?|Opens the deck in the PresentationsAI app; requires signing in as a member with access. Not a public link: share one with POST /decks/{deck_id}/share-link. Set on the external API.
has_share_link?Has Share LinkWhether a public share link is active for the deck.
falsearchived_at*|When archived; null if not archived.
deleted_at?|When moved to trash; null if not deleted.
created_at*Created AtCreation time.
date-timeupdated_at*Updated AtLast update time.
date-timeflags?array<>The caller's own flags on this deck, e.g. STARRED.
version?|Active content version: v1 | v2 | null (authored in-app)
origin_version?|Version this deck was migrated from; null if authored in-app.
permissions?|Caller's resolved access; set on single-deck reads and the deck list.
shared_with_me?|Whether someone else shared the deck with the caller; always null on the external API.
status*|Status of the deck's latest generation; null when it was never generated.
exports*array<>Previously produced artifacts with download URLs. This read never queues or creates an export.
curl -X GET 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "source_deck_id": "b30bc0f3-d119-4f75-a8a4-cbaeb4d3e344", "legacy_deck_id": "string", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "name": "string", "visibility": "PROJECT", "thumbnail_url": "string", "thumbnails": [ { "url": "string", "width": 0, "height": 0 } ], "deck_url": "string", "has_share_link": false, "archived_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "flags": [ "STARRED" ], "version": "v1", "origin_version": "v1", "permissions": { "workspace_role": "OWNER", "project_role": "LEAD", "deck_grant_role": "VIEW", "is_creator": true, "capabilities": [ "workspace.read" ] }, "shared_with_me": true, "status": "CREATED", "exports": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "format": "PPTX", "content_type": "string", "size_bytes": 0, "download_url": "string", "created_at": "2019-08-24T14:15:22Z" } ]}Rename a deck, change who can open it, or move it to another project.
It can also switch which content version the deck shows. Changing visibility can make the
deck public or remove other people's access; setting it to anything but PUBLIC also turns
the deck's share link off. It doesn't start generation or create an export.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidapplication/json- body
Partial update of a deck. project_id=None keeps the current value.
version flips which content the app renders (Deck.active_version) —
never origin_version, which is immutable provenance. Only "v1"/"v2" are
accepted; the service layer rejects a flip to a version the deck has no
real materialized content for (see deck_service.update).
name?|New name; omitted keeps it.
visibility?|New visibility; omitted keeps it. Changing it needs share-manage permission.
project_id?|Move the deck to this project; omitted or null keeps it.
version?|Content version to render; must be one the deck has content for.
Successful Response
application/json- response
Deck response shape.
id*IdDeck id.
uuidworkspace_id*Workspace IdWorkspace that owns the deck.
uuidproject_id*|Project the deck belongs to; null for none.
source_deck_id?|nulllegacy_deck_id?|Legacy is_document.id this deck was migrated from; null if authored in-app.
created_by*|User id of the creator; null once that account is deleted.
name*NameDeck name.
visibility*DeckVisibilityWho can open the deck.
"PROJECT""PRIVATE""WORKSPACE""PUBLIC"thumbnail_url?|Cover thumbnail URL (absolute on the external API); null before the first render.
thumbnails?array<>Every stored size of the same render, largest first (thumbnails[0] is thumbnail_url). Empty until the first render.
deck_url?|Opens the deck in the PresentationsAI app; requires signing in as a member with access. Not a public link: share one with POST /decks/{deck_id}/share-link. Set on the external API.
has_share_link?Has Share LinkWhether a public share link is active for the deck.
falsearchived_at*|When archived; null if not archived.
deleted_at?|When moved to trash; null if not deleted.
created_at*Created AtCreation time.
date-timeupdated_at*Updated AtLast update time.
date-timeflags?array<>The caller's own flags on this deck, e.g. STARRED.
version?|Active content version: v1 | v2 | null (authored in-app)
origin_version?|Version this deck was migrated from; null if authored in-app.
permissions?|Caller's resolved access; set on single-deck reads and the deck list.
shared_with_me?|Whether someone else shared the deck with the caller; always null on the external API.
curl -X PATCH 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{ "name": "Launch plan (final)", "visibility": "WORKSPACE"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "source_deck_id": "b30bc0f3-d119-4f75-a8a4-cbaeb4d3e344", "legacy_deck_id": "string", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "name": "string", "visibility": "PROJECT", "thumbnail_url": "string", "thumbnails": [ { "url": "string", "width": 0, "height": 0 } ], "deck_url": "string", "has_share_link": false, "archived_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "flags": [ "STARRED" ], "version": "v1", "origin_version": "v1", "permissions": { "workspace_role": "OWNER", "project_role": "LEAD", "deck_grant_role": "VIEW", "is_creator": true, "capabilities": [ "workspace.read" ] }, "shared_with_me": true}Soft-delete a deck; the operation is idempotent for an already deleted deck.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidSuccessful Response
curl -X DELETE 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08'Remove one user-private organizational flag from a deck.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidflag*"STARRED"The flag to set or remove.
"STARRED"Successful Response
curl -X DELETE 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/flags/STARRED'Set a user-private organizational flag such as starred or archived.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidflag*"STARRED"The flag to set or remove.
"STARRED"Successful Response
curl -X PUT 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/flags/STARRED'Stream the current JPEG thumbnail; return 404 until one is available.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidwidth?|Stored size to serve (see thumbnails); the largest by default.
The deck's JPEG thumbnail.
response?fileimage/jpegbinarycurl -X GET 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/thumbnail'"string"Most-recent-first export artifacts for a deck.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidpage?PagePage number, starting at 1.
1 <= value1limit?LimitItems per page.
1 <= value <= 200200Successful Response
application/json- response
data*array<>Items on this page.
page*Page1-based page number returned.
limit*LimitMaximum items per page.
total*TotalItems matching the filters across all pages.
curl -X GET 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/exports'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "format": "PPTX", "content_type": "string", "size_bytes": 0, "download_url": "string", "created_at": "2019-08-24T14:15:22Z" } ], "page": 0, "limit": 0, "total": 0}Download a produced export artifact.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidexport_id*Export IdID of the export, from the deck's exports.
uuidencoding?|base64 returns the file inside JSON, for platforms that can only move files that way; up to 4 MB.
The export file: PPTX, PDF, or a ZIP of slide images; with encoding=base64, the same file as base64 inside JSON.
response?filebinarycurl -X GET 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/exports/497f6eca-6276-4993-bfeb-53cbbbba6f08/content'{ "file_name": "string", "content_type": "string", "size_bytes": 0, "data": "string"}Create a link that downloads the file without a key, for people or systems that have none.
Anyone holding the link can download the file until it expires; it can't be revoked.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidexport_id*Export IdID of the export, from the deck's exports.
uuidapplication/json- body
Lifetime of an anonymous download link for one export.
{ "expires_in": 900}expires_in?Expires InSeconds the link works for, up to 7 days. Longer than 15 minutes needs the right to share the deck (the decks:share scope, on a deck you made or manage).
60 <= value <= 604800900Successful Response
application/json- response
An anonymous download link: anyone holding it can download the file until it expires.
download_url*Download UrlOpens the file without a key; it can't be revoked.
expires_at*Expires AtWhen the link stops working.
date-timecurl -X POST 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/exports/497f6eca-6276-4993-bfeb-53cbbbba6f08/download-links' \ -H 'Content-Type: application/json' \ -d '{ "expires_in": 86400}'{ "download_url": "string", "expires_at": "2019-08-24T14:15:22Z"}Return a deck's ordered slides and document head in one read.
version says which shape to read: v1 decks carry their markup in document
(and in assembled_html with assembled=true), v2 decks in slides[].data.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidassembled?AssembledAlso return a v1 deck's reassembled markup in assembled_html.
falseSuccessful Response
application/json- response
A deck's slides in order plus the document head, in one read.
version tells the client which representation to render: v1 reads the
legacy markup in document, v2 reads the native editor model in
slides[].data. A ported deck has both populated, so the client can switch
without a round trip.
deck_id*Deck Iduuidversion?|Active content version: v1 | v2 | null (authored in-app)
origin_version?|Version this deck was migrated from; null if authored in-app.
legacy_deck_id?|Legacy is_document.id this deck was migrated from; null if authored in-app.
root_attributes?Deck-level legacy attributes (theme, font, footer settings).
legacy_head?|The legacy document's markup, when the deck was migrated from v1.
manifest?|Migrated decks only: the legacy asset manifest, exactly as the legacy /docs/getContent?fileName=manifest.json served it — {slides: {: {elements: {...}}}} listing the shapes/icons/fonts/JS assets each slide's elements load. Always present on migrated decks ({slides: {}} when legacy had none); null for decks authored in-app.
slides*array<>document?|v1 decks only: the deck in the legacy content.json shape — {id, rootAttributes, slides:[{id, content}]} keyed by legacy ids — so an existing v1 renderer consumes it unchanged. Null for v2. The markup lives here rather than being repeated in slides[].
assembled_html?|v1 decks only: the reassembled legacy content.xml string, byte-compatible with the legacy endpoint. Populated only when requested with assembled=true.
curl -X GET 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/content'{ "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "version": "v1", "origin_version": "string", "legacy_deck_id": "string", "root_attributes": {}, "legacy_head": "string", "manifest": {}, "slides": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "variation_name": "string", "source": "AI", "data": {}, "html_content": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "trace": {} } ], "document": {}, "assembled_html": "string"}Durable outline state for a generated deck.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidSuccessful Response
application/json- response
A generated deck's outline state, its tier in the API's budget_tier names.
deck_id*Deck IdDeck the outline belongs to.
uuiddeck_session_id*Deck Session IdGeneration session holding the outline.
uuidstatus*DeckSessionStatusOUTLINE_FINALIZED once the outline is fixed for slide generation.
"DRAFT""OUTLINE_FINALIZED"outline?|Latest working outline; null before one exists.
final_outline?|Outline slides were generated from; null until finalized.
tier?|The tier the deck was built at: lite, standard or premium.
curl -X GET 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/outline'{ "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "deck_session_id": "00d319eb-57cf-4159-a3c7-763095c2d2a6", "status": "DRAFT", "outline": { "documentTitle": "string", "hook": "string", "researchSummary": "string", "contentLanguage": "string", "footerText": "string", "imagePrompt": "string", "contentMode": "string", "companyName": "string", "companyDomain": "string", "audienceQuestions": [ "string" ], "rawXml": "string", "figureCheck": {}, "slides": [ { "heading": "string", "subheading": "string", "description": "string", "category": "string", "useCase": "string", "speakerNotes": "string", "visualComposition": [ "string" ], "graphicSubtypes": { "property1": "string", "property2": "string" }, "graphics": [ { "type": "string", "heading": "string", "items": [ { "h": "string", "b": "string", "v": "string", "s": "string", "i": "string", "sub": [ "string" ], "sublabel": "string", "tags": [ "string" ], "metric": "string", "entity": "string", "entityDomain": "string", "trend": "string", "status": "string", "delta": "string", "period": "string" } ], "rows": [ "string" ], "extra": [ { "h": "string", "b": "string", "v": "string", "s": "string", "i": "string", "sub": [ "string" ], "sublabel": "string", "tags": [ "string" ], "metric": "string", "entity": "string", "entityDomain": "string", "trend": "string", "status": "string", "delta": "string", "period": "string" } ], "callout": "string", "stamp": "string", "footnote": "string", "ref": { "label": "string", "v": "string" }, "highlight": { "kind": "string", "at": "string", "text": "string" } } ], "imageQuery": "string", "sources": [ { "domain": "string", "text": "string", "url": "string" } ], "confidence": "string", "knowledge": [ { "text": "string", "source": "string" } ] } ] }, "final_outline": { "documentTitle": "string", "hook": "string", "researchSummary": "string", "contentLanguage": "string", "footerText": "string", "imagePrompt": "string", "contentMode": "string", "companyName": "string", "companyDomain": "string", "audienceQuestions": [ "string" ], "rawXml": "string", "figureCheck": {}, "slides": [ { "heading": "string", "subheading": "string", "description": "string", "category": "string", "useCase": "string", "speakerNotes": "string", "visualComposition": [ "string" ], "graphicSubtypes": { "property1": "string", "property2": "string" }, "graphics": [ { "type": "string", "heading": "string", "items": [ { "h": "string", "b": "string", "v": "string", "s": "string", "i": "string", "sub": [ "string" ], "sublabel": "string", "tags": [ "string" ], "metric": "string", "entity": "string", "entityDomain": "string", "trend": "string", "status": "string", "delta": "string", "period": "string" } ], "rows": [ "string" ], "extra": [ { "h": "string", "b": "string", "v": "string", "s": "string", "i": "string", "sub": [ "string" ], "sublabel": "string", "tags": [ "string" ], "metric": "string", "entity": "string", "entityDomain": "string", "trend": "string", "status": "string", "delta": "string", "period": "string" } ], "callout": "string", "stamp": "string", "footnote": "string", "ref": { "label": "string", "v": "string" }, "highlight": { "kind": "string", "at": "string", "text": "string" } } ], "imageQuery": "string", "sources": [ { "domain": "string", "text": "string", "url": "string" } ], "confidence": "string", "knowledge": [ { "text": "string", "source": "string" } ] } ] }, "tier": "lite"}Fill one slide layout with content and return the slide data. Nothing is saved.
Pick the layout in selected_template and pass its elements. The content is
graphics_xml when given (structured slide graphics, the same fill the app runs),
otherwise heading + description as plain text.
Costs one slide at the API tier's rate (Standard), refunded if the fill fails. Send a
Request-Id to retry safely: an ID that already paid is a 409.
HTTPBearerAuthorizationBearer <token>Request-Id?|Retry key, the header POST /decks takes; a spent one is a 409.
Idempotency-Key?|Older name for Request-Id; still accepted.
application/json- body
Stateless slide fill (external API): one slide layout filled with content.
Content comes from graphics_xml when given, else from heading + description as
plain text; one of the two is required. The caller says where the slide sits in its deck.
selected_template*Selected TemplateName of the slide layout to fill, e.g. cfg-agenda-list-sequence-left-preset.
1 <= length <= 200elements*array<>The layout's elements, copied from its template definition: each has a name, an assettype (the kind of graphic, e.g. agenda_slide) and optional taghint, *_range character limits, nodecount (ai_min / ai_max / default item counts) and menu. The fill writes content for each one.
shape?|Optional per-graphic size of the content (item counts, text lengths) that tightens the layout's limits to it; ignored when adapt_content is true.
heading?HeadingSlide title.
length <= 2000""description?DescriptionSlide content as plain text.
length <= 20000""subheading?SubheadingSlide subtitle.
length <= 2000""speaker_notes?Speaker NotesSpeaker notes kept with an in-app slide; the stateless POST /decks/slides fill ignores them.
length <= 5000""language?LanguageOutput language as an English name.
1 <= length <= 100"English"graphics_xml?Graphics XmlThe slide's content as structured <graphics> XML, the form a generated deck's outline carries; when present it is the only content used.
length <= 40000""adapt_content?Adapt ContentTrue when the layout does not exactly fit the content: the fill reshapes the content (item counts and lengths) to the layout instead of narrowing the layout.
falsetotal_slides?Total SlidesSlides in the caller's deck, with slide_index; 0 when unknown.
0 <= value0slide_index?Slide IndexThis slide's 0-based position in the deck (with total_slides).
0 <= value0fidelity?|How the deck uses the source: 'retain' or 'condense' fill the slide from the caller's own text — no item is added, merged or padded.
Successful Response
application/json- response
Stateless slide-generation result (external API — not persisted).
variation_name?|Template variation the content was filled into.
data*Filled element data for that variation.
curl -X POST 'https://api.presentations.ai/api/v1/decks/slides' \ -H 'Content-Type: application/json' \ -d '{ "selected_template": "cfg-agenda-list-sequence-left-preset", "elements": [ { "name": "containerA", "assettype": "titleandsubtitle" }, { "name": "containerB", "menu": "cfg-agenda-list-sequence-left", "assettype": "agenda_slide", "taghint": "S#", "head_range": [ 1, 40 ], "nodecount": { "ai_min": 3, "ai_max": 5, "default": 4 } } ], "heading": "Agenda", "description": "Q3 results. Retention. Expansion plan. Decisions needed.", "language": "English"}'{ "variation_name": "string", "data": {}}Convert slide content onto a different graphic type and return the slide data.
Nothing is saved. Give the content and target_template (e.g. chart, with subtype
line); pass elements to fill a specific layout of that type.
HTTPBearerAuthorizationBearer <token>application/json- body
Convert existing slide content onto a different graphic type (and subtype).
When the target needs data the content lacks (a chart with no numbers), the fill may look it up on the web first.
content*ContentExisting slide content to convert.
1 <= length <= 20000target_template*Target TemplateGraphic type to convert to, e.g. chart.
1 <= length <= 200subtype?|Subtype of the target, e.g. line.
nodecount?|Number of items the target graphic should have.
char_range?|Text length per item, e.g. 40-80; used when elements is not given.
elements?array<>|Optional target layout elements (as on POST /decks/slides); without them the target is the bare graphic type.
language?LanguageOutput language as an English name; auto follows the content.
length <= 100"auto"Successful Response
application/json- response
Stateless slide-generation result (external API — not persisted).
variation_name?|Template variation the content was filled into.
data*Filled element data for that variation.
curl -X POST 'https://api.presentations.ai/api/v1/decks/slides/change' \ -H 'Content-Type: application/json' \ -d '{ "content": "Revenue grew from $1.2M in Q1 to $1.8M in Q2 and $2.4M in Q3.", "target_template": "chart", "subtype": "line"}'{ "variation_name": "string", "data": {}}List all active grants on a deck.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidSuccessful Response
application/json- response
[index: integer]?Wire representation of a DeckGrant.
curl -X GET 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/grants'[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "subject_type": "USER", "subject_user_id": "1707c861-e9ed-48f7-9f9f-3d21797cfdf4", "subject_email": "string", "subject": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "display_name": "string", "avatar_url": "string" }, "role": "VIEW", "granted_by": "a8e4a498-f971-4203-a849-4967743579d4", "created_at": "2019-08-24T14:15:22Z", "membership_status": "member", "workspace_role": "OWNER" }]Share a deck with one person, by user ID or email address, at the given role.
No email is sent: they see the deck when they sign in to Presentations.AI with that address. If they already have access, their role is replaced, which can lower it.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidapplication/json- body
Share a deck with one person; on the API this never changes workspace membership.
subject*SubjectA user id, or an email address (creates an EMAIL grant).
1 <= length <= 255role*DeckGrantRoleAccess level to grant.
"VIEW""COMMENT""EDIT"Successful Response
application/json- response
Wire representation of a DeckGrant.
id*IdGrant id.
uuiddeck_id*Deck IdDeck the grant applies to.
uuidsubject_type*DeckGrantSubjectTypeUSER for a user id, EMAIL for an email address.
"USER""EMAIL"subject_user_id?|Granted user; set for USER grants.
subject_email?|Granted email address; set for EMAIL grants.
subject?|Profile of the granted user; null for EMAIL grants.
role*DeckGrantRoleGranted access level.
"VIEW""COMMENT""EDIT"granted_by*Granted ByUser who created the grant.
uuidcreated_at*Created AtWhen the grant was created.
date-timemembership_status?|Subject's standing with the workspace; set on create and list responses.
workspace_role?|Member's role, or the role a pending invitation or join request asks for.
curl -X POST 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/grants' \ -H 'Content-Type: application/json' \ -d '{ "subject": "alex@example.com", "role": "VIEW"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "subject_type": "USER", "subject_user_id": "1707c861-e9ed-48f7-9f9f-3d21797cfdf4", "subject_email": "string", "subject": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "display_name": "string", "avatar_url": "string" }, "role": "VIEW", "granted_by": "a8e4a498-f971-4203-a849-4967743579d4", "created_at": "2019-08-24T14:15:22Z", "membership_status": "member", "workspace_role": "OWNER"}Update the role on a deck grant.
HTTPBearerAuthorizationBearer <token>grant_id*Grant IdID of the grant, from GET /decks/{deck_id}/grants.
uuiddeck_id*Deck IdID of the deck.
uuidapplication/json- body
Partial update of a deck grant.
role?|New access level.
Successful Response
application/json- response
Wire representation of a DeckGrant.
id*IdGrant id.
uuiddeck_id*Deck IdDeck the grant applies to.
uuidsubject_type*DeckGrantSubjectTypeUSER for a user id, EMAIL for an email address.
"USER""EMAIL"subject_user_id?|Granted user; set for USER grants.
subject_email?|Granted email address; set for EMAIL grants.
subject?|Profile of the granted user; null for EMAIL grants.
role*DeckGrantRoleGranted access level.
"VIEW""COMMENT""EDIT"granted_by*Granted ByUser who created the grant.
uuidcreated_at*Created AtWhen the grant was created.
date-timemembership_status?|Subject's standing with the workspace; set on create and list responses.
workspace_role?|Member's role, or the role a pending invitation or join request asks for.
curl -X PATCH 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/grants/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{ "role": "EDIT"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deck_id": "9a69d1f4-7dd8-49b6-bc74-49de70b854da", "subject_type": "USER", "subject_user_id": "1707c861-e9ed-48f7-9f9f-3d21797cfdf4", "subject_email": "string", "subject": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "display_name": "string", "avatar_url": "string" }, "role": "VIEW", "granted_by": "a8e4a498-f971-4203-a849-4967743579d4", "created_at": "2019-08-24T14:15:22Z", "membership_status": "member", "workspace_role": "OWNER"}Delete a deck grant.
HTTPBearerAuthorizationBearer <token>grant_id*Grant IdID of the grant, from GET /decks/{deck_id}/grants.
uuiddeck_id*Deck IdID of the deck.
uuidSuccessful Response
curl -X DELETE 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/grants/497f6eca-6276-4993-bfeb-53cbbbba6f08'Fetch the deck's active share link URL; 404 if link sharing is off.
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidSuccessful Response
application/json- response
Response carrying the full share URL (includes raw token).
Grows the access-control state additively so the share dialog can render its
current settings from the same call that gives it the URL. The password's
value is on ShareLinkSettings.
url*UrlPublic viewer URL, including the share token.
uri1 <= lengthpassword_set?Password SetWhether viewers must enter a password.
falseexpires_at?|When the link stops working; null for no expiry.
curl -X GET 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/share-link'{ "url": "http://example.com", "password_set": false, "expires_at": "2019-08-24T14:15:22Z"}Enable the deck's share link and return its URL.
This makes the deck public: anyone with the link and every workspace member can view it.
Reuses the existing link so the URL is stable; pass rotate=true to mint a
fresh token (the previous URL stops working).
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidrotate?RotateMint a new link; the previous URL stops working.
falseSuccessful Response
application/json- response
Response carrying the full share URL (includes raw token).
Grows the access-control state additively so the share dialog can render its
current settings from the same call that gives it the URL. The password's
value is on ShareLinkSettings.
url*UrlPublic viewer URL, including the share token.
uri1 <= lengthpassword_set?Password SetWhether viewers must enter a password.
falseexpires_at?|When the link stops working; null for no expiry.
curl -X POST 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/share-link'{ "url": "http://example.com", "password_set": false, "expires_at": "2019-08-24T14:15:22Z"}Disable link-sharing for the deck.
A public deck returns to the visibility it had before the link, or to workspace when that isn't known (links made before it was recorded, or a deck created public).
HTTPBearerAuthorizationBearer <token>deck_id*Deck IdID of the deck.
uuidSuccessful Response
curl -X DELETE 'https://api.presentations.ai/api/v1/decks/497f6eca-6276-4993-bfeb-53cbbbba6f08/share-link'