Plus AI Presentation Agent API

Create and drive AI presentation agent sessions.

GitHub OpenAPI

Operations 4

POST /r/v0/agent/sessions Create and start an AI agent session #
GET /r/v0/agent/sessions/{sessionId} Get the current state of an agent session #
POST /r/v0/agent/sessions/{sessionId}/interrupt Stop the turn an agent session is working on #
POST /r/v0/agent/sessions/{sessionId}/messages Continue an agent session with another prompt #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/plusai-com:plusai-com-presentation-agent-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

plusai-com-presentation-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PlusAI REST Presentation Agent API
  version: v0
  description: Generate and edit native, fully editable PowerPoint (.pptx) presentations with Plus AI. The Presentation Agent API runs multi-turn agent sessions that create or revise decks, the Presentations API turns a prompt into a deck, and the Files API uploads decks and source files for them to use. Authenticate with an API key sent as a Bearer token (create one at https://app.plusdocs.com/api-settings); API access requires a Pro, Team or Max plan. See https://plusai.com/auth.md. Assembled from the API reference at https://guide.plusai.com/apis-for-presentations/api-reference.
  termsOfService: https://plusai.com/terms
  contact:
    name: Plus AI support
    email: support@plusdocs.com
    url: https://plusai.com/contact-us
servers:
- url: https://api.plusdocs.com
  description: Production
security:
- apiKey: []
tags:
- name: Presentation Agent
  description: Create and drive AI presentation agent sessions.
paths:
  /r/v0/agent/sessions:
    post:
      description: '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 in the caller''s organization that the caller

        owns or that are shared with one of their teams (e.g. uploaded via

        `PUT /r/v0/files/upload`); other files are reported as not found.'
      operationId: createAgentSession
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAgentSessionRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateAgentSessionResponse'
          description: Session created and started.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequiredError'
          description: Insufficient AI agent credits for the billing cycle.
        '500':
          $ref: '#/components/responses/InternalServerError'
      summary: Create and start an AI agent session
      tags:
      - Presentation Agent
  /r/v0/agent/sessions/{sessionId}:
    get:
      description: '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.


        A session is a conversation: its first prompt is turn 0, and each

        message posted with `POST /r/v0/agent/sessions/{sessionId}/messages`

        starts the next turn. `status`, `lastAssistantMessage`,

        `statusMessage`, `stalled`, `turnCreditsUsed` and `turnPptxUrl` all

        describe the current `turn`.


        **Polling a turn.** After posting a message that returned turn `N`,

        poll until `turn` equals `N` and `status` is `IDLE`, `FAILED` or

        `INTERRUPTED`, or until `stalled` is `true`. The new turn is recorded

        before the message is acknowledged, so a poll never reports the

        previous turn''s result as the new turn''s.


        Any member of the session''s organization can read it; only the user

        who created it can continue or interrupt it.'
      operationId: getAgentSession
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSession'
          description: The current session state.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Session not found.
      summary: Get the current state of an agent session
      tags:
      - Presentation Agent
  /r/v0/agent/sessions/{sessionId}/interrupt:
    post:
      description: 'Stops the session''s current turn, and any sub-agents working on it,

        if it is still in progress. The session then reports `INTERRUPTED`

        and accepts the next message. Pass `expectedTurn` so a late request

        can''t stop a newer turn.


        Only the user who created the session can interrupt it.'
      operationId: interruptAgentSession
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InterruptAgentSessionRequest'
        required: false
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InterruptAgentSessionResponse'
          description: The turn was stopped.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Session not found, or not created by the caller.
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSessionNotActive'
          description: '`NOT_ACTIVE`: nothing was stopped, because the turn had already

            ended (or `expectedTurn` isn''t the current turn). `status` and

            `turn` are the session''s.

            '
        '500':
          $ref: '#/components/responses/InternalServerError'
      summary: Stop the turn an agent session is working on
      tags:
      - Presentation Agent
  /r/v0/agent/sessions/{sessionId}/messages:
    post:
      description: 'Posts a follow-up prompt to an existing session, which starts the

        session''s next turn and runs the agent on it. The agent keeps the

        conversation so far and edits the session''s presentation in place.

        Poll the returned `pollingUrl` (the same URL as at creation) until

        `turn` equals the returned `turn` and `status` is `IDLE`, `FAILED` or

        `INTERRUPTED`, or until `stalled` is `true`.


        Only the user who created the session can continue it. A turn still

        in progress must finish, or be stopped with

        `POST /r/v0/agent/sessions/{sessionId}/interrupt`, before the next

        one can start (`409 AGENT_BUSY`).


        Send an `Idempotency-Key` header to retry safely: a retry with the

        same key after the message was accepted returns the same turn and

        doesn''t start another.'
      operationId: sendAgentSessionMessage
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      - description: 'A client-generated key for this message (e.g. a UUID), reused on

          retries. 1 to 255 letters, digits, `.`, `_`, `:` or `-`. Without

          one, every request is a new message.

          '
        in: header
        name: Idempotency-Key
        required: false
        schema:
          pattern: ^[A-Za-z0-9._:-]{1,255}$
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendAgentSessionMessageRequest'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendAgentSessionMessageResponse'
          description: Message accepted; the new turn has started.
        '400':
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/Error'
                - $ref: '#/components/schemas/AgentSessionRefusal'
          description: 'The request is invalid, or an attachment can''t be used

            (`INVALID_ATTACHMENT_KEY`, `ATTACHMENT_FAILED`, `PDF_PAGE_LIMIT`).

            '
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSessionRefusal'
          description: Insufficient AI agent credits for the billing cycle.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSessionRefusal'
          description: 'The caller may no longer use the session''s organization

            (`NOT_ORG_MEMBER`) or edit its presentation

            (`PRESENTATION_EDIT_FORBIDDEN`).

            '
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Session not found, or not created by the caller.
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSessionRefusal'
          description: "The session can't take this message now:\n- `AGENT_BUSY`: a turn is still in progress. Wait for it to end,\n  or stop it with `interruptUrl`, then post again. `staleAt` is\n  when the running turn counts as stalled, after which a new\n  message replaces it.\n- `CONVERSATION_ADVANCED`: `expectedTurn` is behind the session's\n  `turn`.\n- `SESSION_NOT_CONTINUABLE` (see `reason`) or `CONTEXT_OVERFLOW`:\n  the conversation can't continue; create a new session.\n"
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSessionRefusal'
          description: '`SESSION_EXPIRED`: the conversation is too old or has too many

            turns (see `reason`); create a new session.

            '
        '500':
          $ref: '#/components/responses/InternalServerError'
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSessionRefusal'
          description: 'A temporary failure (`ORG_ACCESS_UNVERIFIED`,

            `TURN_START_FAILED`); retry with the same `Idempotency-Key`.

            '
      summary: Continue an agent session with another prompt
      tags:
      - Presentation Agent
components:
  schemas:
    AgentSessionNotActive:
      properties:
        code:
          enum:
          - NOT_ACTIVE
          type: string
        message:
          type: string
        status:
          description: The session's status.
          type: string
        turn:
          description: The session's current turn.
          type: integer
      required:
      - code
      - message
      - turn
      - status
      type: object
    AgentSession:
      properties:
        createdAt:
          format: date-time
          type: string
        lastAssistantMessage:
          description: The agent's latest reply in the current turn, once it has ended. Null for sessions not created through this API (e.g. the web app's or the PowerPoint add-in's chats).
          type:
          - string
          - 'null'
        pdfUrl:
          description: Download URL for the generated PDF (populated when finished).
          format: uri
          type:
          - string
          - 'null'
        pptxUrl:
          description: Download URL for the generated PPTX (populated when finished).
          format: uri
          type:
          - string
          - 'null'
        sessionId:
          type: string
        stalled:
          description: 'The current turn can no longer finish (it never started, or stopped

            making progress). Stop polling it; posting a new message replaces

            the stalled turn.

            '
          type: boolean
        status:
          description: 'The status of the current turn: `READY`, `RUNNING` and

            `PENDING_TOOL_CALLS` are in progress; `IDLE` means the turn

            finished and the session is waiting for the next message.

            '
          enum:
          - READY
          - IDLE
          - RUNNING
          - PENDING_TOOL_CALLS
          - DONE
          - INTERRUPTED
          - FAILED
          type: string
        statusMessage:
          description: A description of the current status, e.g. why the turn failed.
          type:
          - string
          - 'null'
        thumbnailUrl:
          description: Download URL for a thumbnail image (populated when finished).
          format: uri
          type:
          - string
          - 'null'
        turn:
          description: 'The conversation turn the session is on: 0 for the prompt it was

            created with, then one more for each message posted to it.

            '
          minimum: 0
          type: integer
        turnCreditsUsed:
          description: AI agent credits the current turn has used so far.
          type:
          - number
          - 'null'
        turnPptxUrl:
          description: 'Download URL for the presentation as of the end of the current

            turn (populated once the turn is finished). `pptxUrl` is always the

            latest version.

            '
          format: uri
          type:
          - string
          - 'null'
        updatedAt:
          format: date-time
          type: string
      required:
      - sessionId
      - status
      - turn
      - stalled
      type: object
    SendAgentSessionMessageResponse:
      properties:
        pollingUrl:
          description: URL to poll for session state (the same for every turn).
          format: uri
          type: string
        sessionId:
          type: string
        turn:
          description: The turn this message started. Poll until the session reports it.
          type: integer
      required:
      - sessionId
      - turn
      - pollingUrl
      type: object
    InterruptAgentSessionResponse:
      properties:
        sessionId:
          type: string
        status:
          enum:
          - INTERRUPTED
          type: string
        turn:
          description: The turn that was stopped.
          type: integer
      required:
      - sessionId
      - turn
      - status
      type: object
    CreateAgentSessionRequest:
      properties:
        attachments:
          description: Files to attach to the initial message.
          items:
            properties:
              fileId:
                type: string
            required:
            - fileId
            type: object
          type: array
        callbackUrl:
          description: 'HTTPS URL invoked when the session changes state. Must be a public

            HTTPS address (no localhost/private IPs).

            '
          format: uri
          type: string
        language:
          default: auto
          description: Target language. Defaults to `auto`.
          type: string
        model:
          description: The model to use.
          enum:
          - claude-fable-5
          - claude-opus-5-5
          - claude-opus-5
          - claude-opus-4-8
          - claude-opus-4-7
          - claude-opus-4-6
          - claude-sonnet-5-5
          - claude-sonnet-5
          - claude-sonnet-4-6
          - claude-haiku-4-5
          - gpt-5.4
          - gpt-5.4-nano
          - gpt-5.4-mini
          - gpt-5.4-pro
          - gpt-5.5
          - gpt-5.5-pro
          - gpt-5.6-sol
          - gpt-5.6-terra
          - gpt-5.6-luna
          - '@cf/moonshotai/kimi-k2.7-code'
          type: string
        pptxFileId:
          description: 'ID of an existing PowerPoint file (uploaded via the files API) to

            seed the session with. Must reference a `.pptx` file (legacy

            `.ppt` files aren''t supported).

            '
          type: string
        prompt:
          description: The initial instruction for the agent.
          type: string
      required:
      - prompt
      type: object
    CreateAgentSessionResponse:
      properties:
        pollingUrl:
          description: URL to poll for session state.
          format: uri
          type: string
        sessionId:
          type: string
      required:
      - sessionId
      - pollingUrl
      type: object
    Error:
      properties:
        message:
          type: string
      required:
      - message
      type: object
    PaymentRequiredError:
      properties:
        code:
          type: string
        message:
          type: string
      required:
      - code
      - message
      type: object
    InterruptAgentSessionRequest:
      properties:
        expectedTurn:
          description: 'Stop only this turn. Without it, whichever turn is in progress is

            stopped.

            '
          minimum: 0
          type: integer
      type: object
    AgentSessionRefusal:
      description: Why the session didn't accept the message. Nothing was changed.
      properties:
        code:
          enum:
          - AGENT_BUSY
          - CONVERSATION_ADVANCED
          - SESSION_NOT_CONTINUABLE
          - CONTEXT_OVERFLOW
          - INSUFFICIENT_AGENT_CREDITS
          - NOT_ORG_MEMBER
          - PRESENTATION_EDIT_FORBIDDEN
          - SESSION_EXPIRED
          - INVALID_ATTACHMENT_KEY
          - ATTACHMENT_FAILED
          - PDF_PAGE_LIMIT
          - ORG_ACCESS_UNVERIFIED
          - TURN_START_FAILED
          type: string
        interruptUrl:
          description: '`AGENT_BUSY` only: the URL that stops the running turn.'
          format: uri
          type: string
        message:
          type: string
        reason:
          description: 'For `SESSION_NOT_CONTINUABLE` and `SESSION_EXPIRED`, why the

            conversation can''t continue (e.g. `agent`, `model_retired`, `age`, `turns`).

            '
          type: string
        staleAt:
          description: '`AGENT_BUSY` only: when the running turn counts as stalled, after

            which a new message replaces it.

            '
          format: date-time
          type:
          - string
          - 'null'
        turn:
          description: The session's current turn.
          type: integer
      required:
      - code
      - message
      type: object
    SendAgentSessionMessageRequest:
      properties:
        attachments:
          description: 'Files to attach to the message, as for `POST /r/v0/agent/sessions`.

            '
          items:
            properties:
              fileId:
                type: string
            required:
            - fileId
            type: object
          type: array
        callbackUrl:
          description: 'HTTPS URL invoked when this turn ends, replacing the session''s

            callback URL. Must be a public HTTPS address (no localhost/private

            IPs).

            '
          format: uri
          type: string
        expectedTurn:
          description: 'The session''s `turn` the caller last saw. The message is refused

            with `409 CONVERSATION_ADVANCED` if the session has moved on.

            '
          minimum: 0
          type: integer
        prompt:
          description: The follow-up instruction for the agent.
          type: string
      required:
      - prompt
      type: object
  responses:
    InternalServerError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: An unexpected error occurred.
    Unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Missing or invalid API key.
    BadRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: The request was malformed or missing required fields.
  securitySchemes:
    apiKey:
      description: API key issued for your Plus organization, sent as a bearer token.
      scheme: bearer
      type: http
externalDocs:
  description: Plus AI API reference
  url: https://guide.plusai.com/apis-for-presentations/api-reference