> ## 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.

# List Spaces

> List the spaces you can read, with their page counts.



## OpenAPI

````yaml /openapi-v1.json get /api/v1/spaces
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:
    get:
      tags:
        - Spaces
      summary: List Spaces
      description: List the spaces you can read, with their page counts.
      operationId: core_api_v1_controllers_spaces_list_spaces
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceListOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    SpaceListOut:
      properties:
        object:
          default: list
          title: Object
          type: string
        data:
          items:
            $ref: '#/components/schemas/SpaceOut'
          title: Data
          type: array
      required:
        - data
      title: SpaceListOut
      type: object
    SpaceOut:
      properties:
        object:
          default: space
          title: Object
          type: string
        id:
          title: Id
          type: string
        name:
          title: Name
          type: string
        address:
          title: Address
          type: string
        level:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Your access to this space: 'read', 'propose' (page changes become
            proposals) or 'write'.
          title: Level
        page_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Page Count
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
      required:
        - id
        - name
        - address
      title: SpaceOut
      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.