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

# List page versions

> Returns the version history for a page, newest first.



## OpenAPI

````yaml /api-reference/openapi.yaml get /knowledge-hub/pages/{page_id}/versions
openapi: 3.0.3
info:
  title: Exec API
  version: '1.0'
  description: >
    REST API for programmatic access to your Exec workspace.


    Use the Exec API to read workspace data, list members, retrieve group
    information,

    and create interactive scenario creation sessions.


    ## Authentication

    All requests require a valid API key passed in the Authorization header:

    ```

    Authorization: Bearer exec_live_...

    ```


    Create API keys in your workspace settings under **Settings > API**.
servers:
  - url: https://api.exec.com/rest/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /knowledge-hub/pages/{page_id}/versions:
    get:
      tags:
        - Knowledge Hub - Pages
      summary: List page versions
      description: Returns the version history for a page, newest first.
      operationId: listKnowledgeHubPageVersions
      parameters:
        - name: page_id
          in: path
          required: true
          description: The page's unique identifier (UUID)
          schema:
            type: string
        - name: page
          in: query
          description: >-
            Pagination page number (1-indexed) — which page of results to
            return, not a Knowledge Hub page.
          schema:
            type: integer
            default: 1
            minimum: 1
        - name: page_size
          in: query
          description: Number of results per page (max 100)
          schema:
            type: integer
            default: 50
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: Paginated version history
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/KnowledgeHubPageVersion'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
              example:
                data:
                  - version: 4
                    title: Pricing objection guide
                    change_type: manual_edit
                    created_by:
                      id: u1a2b3c4d5e6
                      email: jane@acme.com
                      first_name: Jane
                      last_name: Smith
                    created_at: '2026-06-01T12:00:00Z'
                    updated_at: '2026-06-01T12:00:00Z'
                  - version: 3
                    title: Pricing objection guide
                    change_type: ai_generation
                    created_by: null
                    created_at: '2026-05-20T10:00:00Z'
                    updated_at: '2026-05-20T10:00:00Z'
                pagination:
                  page: 1
                  page_size: 50
                  total_count: 4
                  total_pages: 1
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    KnowledgeHubPageVersion:
      type: object
      description: A single entry in a page's version history.
      properties:
        version:
          type: integer
          description: Version number
        title:
          type: string
          description: Page title at this version
        change_type:
          type: string
          enum:
            - created
            - ai_generation
            - manual_edit
            - restore
            - clone
          description: What kind of change produced this version
        created_by:
          $ref: '#/components/schemas/User'
          nullable: true
          description: User who created this version (null for system/AI changes)
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Pagination:
      type: object
      properties:
        page:
          type: integer
          description: Current page number
        page_size:
          type: integer
          description: Number of items per page
        total_count:
          type: integer
          description: Total number of items
        total_pages:
          type: integer
          description: Total number of pages
    User:
      type: object
      properties:
        id:
          type: string
          description: Unique user identifier
        email:
          type: string
          format: email
          description: User's email address
        first_name:
          type: string
          description: User's first name
        last_name:
          type: string
          description: User's last name
    ValidationErrorDetail:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              description: Error category (e.g., "invalid_request")
            code:
              type: string
              description: Specific error code (e.g., "user_not_found")
            message:
              type: string
              description: Human-readable error message
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorDetail'
          example:
            error:
              type: authentication_error
              code: invalid_api_key
              message: Invalid or inactive API key
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorDetail'
          example:
            error:
              type: not_found
              message: 'Scenario not found: abc123'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |
        API key created in Settings > API.

        Format: `exec_live_` followed by 40 alphanumeric characters.

````