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

# List sites

> Every site (project) of the workspace. The ids returned are what the pages endpoints take as `projectId`.



## OpenAPI

````yaml /openapi.json get /v1/projects
openapi: 3.0.0
info:
  title: wondeya Developer API
  description: >-
    The public REST API for building on wondeya: agents, projects, pages,
    knowledge, assets, brand, theme, usage, retrieval and chat, authenticated by
    a workspace API key (`Authorization: Bearer wdy_live_…`).
  version: 0.1.0
  contact:
    name: wondeya
    url: https://wondeya.com
    email: team@wondeya.com
  license:
    name: Proprietary
    url: https://wondeya.com/terms
servers:
  - url: https://api.wondeya.com
    description: Production
  - url: http://localhost:8080
    description: Development
security: []
tags:
  - name: Identity
  - name: Agents
  - name: Projects
  - name: Pages
  - name: Knowledge
  - name: Assets
  - name: Brand
  - name: Usage
  - name: Chat
paths:
  /v1/projects:
    get:
      tags:
        - Projects
      summary: List sites
      description: >-
        Every site (project) of the workspace. The ids returned are what the
        pages endpoints take as `projectId`.
      operationId: PublicProjectsController_list_v1
      parameters:
        - name: limit
          required: false
          in: query
          description: How many items to return (1–100).
          schema:
            minimum: 1
            maximum: 100
            default: 50
            type: number
        - name: after
          required: false
          in: query
          description: >-
            Opaque cursor: pass the `nextCursor` of a previous page to get the
            next one.
          schema:
            type: string
        - name: before
          required: false
          in: query
          description: Opaque cursor for paging backwards (items before it).
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedProjectsDto'
      security:
        - api-key: []
components:
  schemas:
    PaginatedProjectsDto:
      type: object
      properties:
        data:
          description: The items of this page.
          type: array
          items:
            $ref: '#/components/schemas/PublicProjectDto'
        hasMore:
          type: boolean
          description: True when more items exist after this page.
        nextCursor:
          type: string
          nullable: true
          description: >-
            Opaque cursor to pass as `after` for the next page; null on the last
            page.
      required:
        - data
        - hasMore
        - nextCursor
    PublicProjectDto:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
          description: The console label. Never an address.
        slug:
          type: string
          description: 'The public address half: `<slug>.wondeya.app`.'
        locales:
          type: array
          items:
            type: string
            enum:
              - es
              - en
        defaultLocale:
          type: string
          enum:
            - es
            - en
        robots:
          $ref: '#/components/schemas/PublicSiteRobotsDto'
        analytics:
          $ref: '#/components/schemas/PublicSiteAnalyticsDto'
        sitemap:
          $ref: '#/components/schemas/PublicSiteSitemapDto'
        llmsTxt:
          $ref: '#/components/schemas/PublicLlmsTxtDto'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - name
        - slug
        - locales
        - defaultLocale
        - robots
        - analytics
        - sitemap
        - llmsTxt
        - createdAt
        - updatedAt
    PublicSiteRobotsDto:
      type: object
      properties:
        indexable:
          type: boolean
        aiSearch:
          type: boolean
          description: Let AI assistants answer using the site.
        aiTraining:
          type: boolean
          description: Let AI companies train on the site.
        disallow:
          description: Extra Disallow paths.
          type: array
          items:
            type: string
        raw:
          type: string
          description: Advanced full-override robots body.
      required:
        - indexable
        - aiSearch
        - aiTraining
        - disallow
    PublicSiteAnalyticsDto:
      type: object
      properties:
        clarityId:
          type: string
        gtmId:
          type: string
        metaPixelId:
          type: string
    PublicSiteSitemapDto:
      type: object
      properties:
        extraUrls:
          type: array
          items:
            $ref: '#/components/schemas/PublicSitemapExtraUrlDto'
      required:
        - extraUrls
    PublicLlmsTxtDto:
      type: object
      properties:
        text:
          type: string
          description: The generated llms.txt body, if any.
        generatedAt:
          type: string
          format: date-time
    PublicSitemapExtraUrlDto:
      type: object
      properties:
        path:
          type: string
          description: A same-site path (e.g. `/docs`).
          example: /docs
        priority:
          type: number
          minimum: 0
          maximum: 1
        changefreq:
          type: string
          enum:
            - always
            - hourly
            - daily
            - weekly
            - monthly
            - yearly
            - never
      required:
        - path
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: opaque
      type: http
      description: >-
        A workspace API key: wdy_live_… / wdy_test_…. Created at POST
        /workspaces/{tenantId}/keys and shown exactly once.

````