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

# List pages

> Lists all pages in the workspace that the user has access to. Workspace owners/admins see all pages; members see 'everyone' pages, pages they created, and invited pages. Enriches results with favorites, source counts, and children counts.




## OpenAPI

````yaml /openapi/pages.yaml get /pages
openapi: 3.1.0
info:
  title: Connie Pages API
  version: 1.0.0
  description: >
    API for the Pages module â€” a Notion-style hierarchical page/wiki system
    with AI-powered content generation, multi-source syncing, vector search, and
    public/private sharing.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Pages
    description: page lifecycle management (CRUD, folders, favorites)
  - name: Page Articles
    description: Article and content retrieval
  - name: Page Search
    description: Full-text and vector search across pages
  - name: Page Invites
    description: page-specific invitation management
  - name: Page Sharing
    description: Public and shared access endpoints
  - name: Page AI
    description: AI-powered content generation
  - name: Page Attachments
    description: File upload and media management
  - name: Page Bulk
    description: Bulk operations (delete, move)
  - name: Page References
    description: Notion-style page-mention chip management
  - name: Page Comments
    description: Inline (highlight-anchored) comments on page content
  - name: Utilities
    description: Supporting utilities (link preview)
paths:
  /pages:
    get:
      tags:
        - Pages
      summary: List pages
      description: >
        Lists all pages in the workspace that the user has access to. Workspace
        owners/admins see all pages; members see 'everyone' pages, pages they
        created, and invited pages. Enriches results with favorites, source
        counts, and children counts.
      operationId: listPages
      parameters:
        - name: search
          in: query
          schema:
            type: string
          description: Search term matched against page name/description
        - name: limit
          in: query
          schema:
            type: integer
            default: 500
        - name: parent_id
          in: query
          schema:
            type: string
          description: Filter by parent page ID, or "root" for top-level
      responses:
        '200':
          description: Pages
          content:
            application/json:
              schema:
                type: object
                properties:
                  knowledgeBases:
                    description: >
                      Legacy field name — kept for backwards compatibility while
                      the API completes the rename to `pages`.
                    type: array
                    items:
                      $ref: '#/components/schemas/Page'
                  total:
                    type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    Page:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
          nullable: true
        icon:
          type: string
          nullable: true
        access_type:
          type: string
          enum:
            - everyone
            - invited
        article_count:
          type: integer
        sources_count:
          type: integer
        source_labels:
          type: array
          items:
            type: string
        total_tokens:
          type: integer
        tags:
          type: array
          items:
            type: string
        last_synced_at:
          type: string
          format: date-time
          nullable: true
        created_by:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        is_folder:
          type: boolean
        parent_id:
          type: string
          nullable: true
        is_favorited:
          type: boolean
        children_count:
          type: integer
    Error:
      type: object
      properties:
        error:
          type: string
  responses:
    Unauthorized:
      description: Not authenticated
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

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