> ## Documentation Index
> Fetch the complete documentation index at: https://docs-slidekit.theduomi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download generated presentation

> Download a generated PowerPoint file.

**Accepts both ID formats:**
- `gen_xxx` - From slide/deck generation or chart updates
- `pres_xxx` - Older direct-return generation output, if present

**Note:** For generation jobs, the status must be `completed` or `partial` before
download is available. Use the status endpoint to check.

**Alternative:** Use the `download_url` from generation responses for direct download
with authentication already embedded (signed URL).



## OpenAPI

````yaml /openapi/powerpoint-api.json get /api/v1/presentations/{presentation_id}/download
openapi: 3.1.0
info:
  title: SlideKit
  description: >-
    A comprehensive API for PowerPoint template management and presentation
    generation
  version: 1.0.0
servers: []
security: []
paths:
  /api/v1/presentations/{presentation_id}/download:
    get:
      tags:
        - presentations
      summary: Download generated presentation
      description: >-
        Download a generated PowerPoint file.


        **Accepts both ID formats:**

        - `gen_xxx` - From slide/deck generation or chart updates

        - `pres_xxx` - Older direct-return generation output, if present


        **Note:** For generation jobs, the status must be `completed` or
        `partial` before

        download is available. Use the status endpoint to check.


        **Alternative:** Use the `download_url` from generation responses for
        direct download

        with authentication already embedded (signed URL).
      operationId: >-
        download_presentation_api_v1_presentations__presentation_id__download_get
      parameters:
        - name: presentation_id
          in: path
          required: true
          schema:
            type: string
            title: Presentation Id
      responses:
        '200':
          description: PowerPoint file stream
          content:
            application/json:
              schema: {}
            application/vnd.openxmlformats-officedocument.presentationml.presentation: {}
        '400':
          description: Generation not yet complete
        '404':
          description: Presentation not found or doesn't belong to your organization
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Production API key. Development/test deployments may also allow
        X-Org-Name.

````