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.
Generate a stateless outline from a prompt and/or extracted files.
No deck, session, or generation request is persisted. Referenced files must belong to the caller's workspace and have completed extraction before this request.
Bills the outline's slides at the Standard rate (10 credits per slide), once, before it is
returned; an empty balance is a 402. Send a Request-Id to retry safely: an ID that
already paid is a 409.
HTTPBearerAuthorizationBearer <token>accept-language?|Output language when the body sets none; the first tag is used.
Request-Id?|Retry key, the header POST /decks takes; a spent one is a 409. derive lets the server derive it from the request, for AI agents and tools: the same outline asked for again by the same user within 15 minutes is refused instead of charged twice. The refusal doesn't return the first outline; keep the response.
Idempotency-Key?|Older name for Request-Id; still accepted.
application/json- body
Generate an outline without creating or mutating a deck.
prompt*not (null)sources?array<|>|Inline text and/or references to files uploaded through POST /files.
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.
level_of_detail?|Text density per content item, case-insensitive. Omitted: adapted to the topic and content.
A completed, strictly typed JSON outline.
application/json- response
Completed stateless outline generation.
outline*Generated outline; edit it and pass it as outline to POST /decks.
curl -X POST 'https://api.presentations.ai/api/v1/outlines' \ -H 'Content-Type: application/json' \ -d '{ "prompt": "Turn the Q3 results into a concise board update.", "slide_count": "8", "level_of_detail": "standard"}'{ "outline": { "documentTitle": "Q3 customer review", "hook": "Retention improved while expansion revenue became the next constraint.", "slides": [ { "heading": "Q3 in one minute", "description": "Revenue, retention, and the two decisions needed from the board.", "visualComposition": [ "kpi_block" ] }, { "heading": "Expansion is the next growth lever", "description": "Segment expansion by customer cohort and identify the largest gap.", "speakerNotes": "Call out the enterprise cohort before discussing actions.", "visualComposition": [ "chart", "list_with_description" ] } ] }}Stream the same stateless operation exposed by POST /outlines.
Bills exactly like it, before the completed event; a spent Request-Id is a 409
before the stream opens.
HTTPBearerAuthorizationBearer <token>accept-language?|Output language when the body sets none; the first tag is used.
Request-Id?|Retry key, the header POST /decks takes; a spent one is a 409. derive lets the server derive it from the request, for AI agents and tools: the same outline asked for again by the same user within 15 minutes is refused instead of charged twice. The refusal doesn't return the first outline; keep the response.
Idempotency-Key?|Older name for Request-Id; still accepted.
application/json- body
Generate an outline without creating or mutating a deck.
prompt*not (null)sources?array<|>|Inline text and/or references to files uploaded through POST /files.
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.
level_of_detail?|Text density per content item, case-insensitive. Omitted: adapted to the topic and content.
Strict discriminated outline events encoded as SSE data frames.
text/event-stream- response
Outline generation started.
type?TypeEvent discriminator.
"started"curl -X POST 'https://api.presentations.ai/api/v1/outlines/stream' \ -H 'Content-Type: application/json' \ -d '{ "prompt": "Turn the Q3 results into a concise board update.", "slide_count": "8"}'{ "type": "started"}