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

# Get a site



## OpenAPI

````yaml /openapi.json get /v1/projects/{projectId}
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/{projectId}:
    get:
      tags:
        - Projects
      summary: Get a site
      operationId: PublicProjectsController_findOne_v1
      parameters:
        - name: projectId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicProjectDto'
        '404':
          description: No such site in this workspace
      security:
        - api-key: []
components:
  schemas:
    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.

````