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

# Get Presentation

Read the current metadata for an owned Modern presentation. After generation or an edit succeeds, use `repo_commit_sha` as `base_commit_sha` for concurrency-safe edits and exports.


## OpenAPI

````yaml GET /api/modern/v1/presentations/{presentation_id}
openapi: 3.1.0
info:
  title: Alai API
  description: API endpoints for Alai Classic, Creative, and Modern presentation generation
  version: 1.1.0
servers:
  - url: https://slides-api.getalai.com
security:
  - BearerAuth: []
paths:
  /api/modern/v1/presentations/{presentation_id}:
    get:
      tags:
        - Modern Slides API
      summary: Get Presentation
      operationId: get_presentation_api_modern_v1_presentations__presentation_id__get
      parameters:
        - name: presentation_id
          in: path
          required: true
          schema:
            type: string
            title: Presentation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModernApiPresentation'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ModernApiPresentation:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        artifact_format:
          $ref: '#/components/schemas/ArtifactFormat'
        canvas_width:
          type: integer
          title: Canvas Width
        canvas_height:
          type: integer
          title: Canvas Height
        design_system_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Design System Id
        repo_commit_sha:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Commit Sha
        preview_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Preview Url
      type: object
      required:
        - id
        - title
        - artifact_format
        - canvas_width
        - canvas_height
      title: ModernApiPresentation
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ArtifactFormat:
      type: string
      enum:
        - presentation
        - infographic
        - carousel
        - poster
        - social_post
      title: ArtifactFormat
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Your Alai API key. Get one from your account settings at app.getalai.com

````