presentations.ai

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.

POST
/outlines

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.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

accept-language?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Generate an outline without creating or mutating a deck.

Generate an outline without creating or mutating a deck.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/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": [          "metric",          "metric",          "metric"        ]      },      {        "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": [          "bar-chart",          "text"        ]      }    ]  }}
POST
/outlines/stream

Stream the same stateless operation exposed by POST /outlines.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

accept-language?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Generate an outline without creating or mutating a deck.

Generate an outline without creating or mutating a deck.

Response Body

text/event-stream

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/outlines/stream" \  -H "Content-Type: application/json" \  -d '{    "prompt": null  }'
{  "type": "started"}