Files
Upload source files for deck generation.
Upload a file and enqueue extraction.
Up to 150 MB. Accepted: PDF, PPTX, DOCX, XLS/XLSX, TXT, CSV, TSV, Markdown, HTML, JSON, EPUB, PNG, JPEG and WebP, and code files (.py, .js, .jsx, .ts, .tsx, .java, .go, .cs, .sql, .yaml, .yml, .sh). Its extracted text counts toward the plan's content limit when used as a deck source.
HTTPBearerAuthorizationBearer <token>multipart/form-data- body
file*FileSuccessful Response
application/json- response
External upload response keyed only by file ID.
file_id*File IdPass in a file source to outline or deck creation.
uuidfilename*FilenameOriginal filename, for display.
status*AsyncTaskStatusText-extraction state; the file is usable once COMPLETED.
"CREATED""RUNNING""COMPLETED""FAILED"created_at*Created AtUpload time.
date-timecurl -X POST 'https://api.presentations.ai/api/v1/files' \ -F 'file=string'{ "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "filename": "string", "status": "CREATED", "created_at": "2019-08-24T14:15:22Z"}Get file metadata and extraction status.
HTTPBearerAuthorizationBearer <token>file_id*File IdID of the uploaded file, from POST /files.
uuidSuccessful Response
application/json- response
External file metadata and extraction status keyed only by file ID.
file_id*File IdFile id.
uuidfilename*FilenameOriginal filename, for display.
status*|Text-extraction state; the file is usable once COMPLETED. Null when no extraction task exists.
error*|Extraction failure message; null unless FAILED.
size_bytes*Size BytesUploaded file size in bytes.
content_type*Content TypeMIME type of the uploaded file.
char_count*|Characters of extracted text; null before extraction.
content_sha256*|Hex SHA-256 of the extracted text; null before extraction.
extracted_at*|When extraction finished; null before then.
created_at*Created AtUpload time.
date-timecurl -X GET 'https://api.presentations.ai/api/v1/files/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "filename": "string", "status": "CREATED", "error": "string", "size_bytes": 0, "content_type": "string", "char_count": 0, "content_sha256": "string", "extracted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z"}Delete an uploaded file and any extraction state, including a hung extraction.
HTTPBearerAuthorizationBearer <token>file_id*File IdID of the uploaded file, from POST /files.
uuidSuccessful Response
curl -X DELETE 'https://api.presentations.ai/api/v1/files/497f6eca-6276-4993-bfeb-53cbbbba6f08'Brand kits
Find a brand kit and pass its `id` as `brand_kit_id` to `POST /decks`. Brands limited to approved email domains appear only for callers on those domains.
Outlines
Generate stateless, strictly typed outlines as JSON or SSE. Edit the returned outline and pass it to `POST /decks` to render the reviewed structure.