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

# Get Space Page Version

> Read the content of one version of a page.



## OpenAPI

````yaml /openapi-v1.json get /api/v1/spaces/pages/versions/{version_number}
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/spaces/pages/versions/{version_number}:
    get:
      tags:
        - Spaces
      summary: Get Space Page Version
      description: Read the content of one version of a page.
      operationId: core_api_v1_controllers_spaces_get_space_page_version
      parameters:
        - in: path
          name: version_number
          schema:
            title: Version Number
            type: integer
          required: true
        - in: query
          name: address
          schema:
            title: Address
            type: string
          required: true
        - in: query
          name: start_line
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Start Line
          required: false
        - in: query
          name: end_line
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: End Line
          required: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceVersionContentOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    SpaceVersionContentOut:
      properties:
        version_number:
          title: Version Number
          type: integer
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        change_summary:
          title: Change Summary
          type: string
        actor_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Actor Type
        actor_label:
          title: Actor Label
          type: string
        user:
          anyOf:
            - type: string
            - type: 'null'
          title: User
        object:
          default: space_page
          title: Object
          type: string
        id:
          title: Id
          type: string
        address:
          title: Address
          type: string
        space:
          title: Space
          type: string
        path:
          anyOf:
            - type: string
            - type: 'null'
          title: Path
        title:
          title: Title
          type: string
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
        total_lines:
          title: Total Lines
          type: integer
        content:
          title: Content
          type: string
        start_line:
          title: Start Line
          type: integer
        end_line:
          title: End Line
          type: integer
        truncated:
          title: Truncated
          type: boolean
        next_start_line:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Start Line
        hint:
          anyOf:
            - type: string
            - type: 'null'
          title: Hint
      required:
        - version_number
        - change_summary
        - actor_label
        - id
        - address
        - space
        - title
        - total_lines
        - content
        - start_line
        - end_line
        - truncated
      title: SpaceVersionContentOut
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.