> ## 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 the project's preview environments, newest first.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/projects/{projectId}/previews
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}/previews:
    get:
      tags:
        - previews
      summary: List
      description: List the project's preview environments, newest first.
      operationId: previews.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: Preview environments with their public URLs.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    prNumber:
                      type: integer
                      description: Pull request number at the connected repository.
                    slug:
                      type: string
                      description: Managed subdomain label — "<project-slug>-pr-<n>".
                    url:
                      type: string
                      description: Public preview URL ("https://<slug>.korve.app").
                    status:
                      type: string
                      enum:
                        - active
                        - removed
                    deploymentId:
                      type:
                        - string
                        - 'null'
                      description: Latest deployment released to this preview.
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
                    - prNumber
                    - slug
                    - url
                    - status
        '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

````