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

# List

> List all the project's custom domains across every environment, each annotated with the environment it routes to and its verification status.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/projects/{projectId}/domains
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/projects/{projectId}/domains:
    get:
      tags:
        - domains
      summary: List
      description: >-
        List all the project's custom domains across every environment, each
        annotated with the environment it routes to and its verification status.
      operationId: domains.list
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The project's id (UUID) or slug — either form is accepted.
      responses:
        '200':
          description: Custom domains, oldest first.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    hostname:
                      type: string
                      pattern: ^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,}$
                    environment:
                      type: string
                      pattern: ^[a-z][a-z0-9-]{0,38}$
                      description: Slug of the environment this domain routes to.
                    status:
                      type: string
                      description: >-
                        Verification state: pending_dns until the CNAME points
                        at the platform, pending_ssl while the certificate is
                        issued, then active. failed is terminal.
                      enum:
                        - pending_dns
                        - pending_ssl
                        - active
                        - failed
                    verificationErrors:
                      type:
                        - string
                        - 'null'
                      description: >-
                        Why verification is stuck, when the edge reported a
                        reason.
                    createdAt:
                      type: string
                      format: date-time
                  required:
                    - id
                    - hostname
                    - environment
                    - status
                    - verificationErrors
        '404':
          description: No such project in this organization.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````