For the complete documentation index, see llms.txt. This page is also available as Markdown.

Presentation Agent

Create and drive AI presentation agent sessions.

Create and start an AI agent session

post

Creates a new agent session, posts the initial prompt, and starts the agent. Returns a polling URL to track progress.

Optionally seeds the session with an existing PowerPoint file (pptxFileId) and/or file attachments (attachments[].fileId). File IDs must reference files owned by the caller's organization (e.g. uploaded via PUT /r/v0/files/upload).

Authorizations
AuthorizationstringRequired

API key issued for your Plus organization, sent as a bearer token.

Body
promptstringRequired

The initial instruction for the agent.

pptxFileIdstringOptional

ID of an existing PowerPoint file (uploaded via the files API) to seed the session with. Must reference a .pptx/PowerPoint file.

languagestringOptional

Target language. Defaults to auto.

Default: auto
callbackUrlstring · uriOptional

HTTPS URL invoked when the session changes state. Must be a public HTTPS address (no localhost/private IPs).

modelstring · enumOptional

The model to use.

Possible values:
Responses
post
/r/v0/agent/sessions

Get the current state of an agent session

get

Returns the current status of an agent session. Poll this endpoint until status reaches a terminal value. When the agent finishes, pdfUrl, pptxUrl, and thumbnailUrl are populated with download URLs.

Authorizations
AuthorizationstringRequired

API key issued for your Plus organization, sent as a bearer token.

Path parameters
sessionIdstringRequired
Responses
200

The current session state.

application/json
sessionIdstringRequired
statusstring · enumRequiredPossible values:
pdfUrlstring · nullableOptional

Download URL for the generated PDF (populated when finished).

pptxUrlstring · nullableOptional

Download URL for the generated PPTX (populated when finished).

thumbnailUrlstring · nullableOptional

Download URL for a thumbnail image (populated when finished).

createdAtstring · date-timeOptional
updatedAtstring · date-timeOptional
get
/r/v0/agent/sessions/{sessionId}

Last updated

Was this helpful?