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

# Get

> Get one project with its latest deployment.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/projects/{projectId}
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}:
    get:
      tags:
        - projects
      summary: Get
      description: Get one project with its latest deployment.
      operationId: projects.get
      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: The project.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  slug:
                    type: string
                    pattern: ^[a-z][a-z0-9-]{1,61}$
                  runtimeClass:
                    type: string
                    enum:
                      - scale-to-zero
                      - always-on
                  region:
                    type: string
                    description: >-
                      Where the app runs: a compute region id for always-on
                      apps, "global" for scale-to-zero apps (they run on the
                      global edge). Immutable after creation. The catalog lives
                      at regions.list.
                  gitRepo:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Connected repository as "owner/repo" — pushes and pull
                      requests there drive deploys and previews; null when no
                      repository is connected.
                  gitRef:
                    type: string
                    description: Production branch — pushes to it deploy automatically.
                  url:
                    type: string
                    description: >-
                      Public URL on the managed domain
                      ("https://<slug>.korve.app").
                  createdAt:
                    type: string
                    format: date-time
                  latestDeployment:
                    anyOf:
                      - type: object
                        properties:
                          id:
                            type: string
                          status:
                            type: string
                            enum:
                              - queued
                              - building
                              - deploying
                              - ready
                              - failed
                          environment:
                            type:
                              - string
                              - 'null'
                            description: >-
                              Slug of the environment the deployment targets.
                              Null only for deployments that predate environment
                              tracking.
                          trigger:
                            type:
                              - object
                              - 'null'
                            description: >-
                              What queued the deployment. Null for deployments
                              that predate trigger tracking.
                            properties:
                              kind:
                                type: string
                                enum:
                                  - push
                                  - pr
                                  - manual
                                  - rollback
                                description: >-
                                  push = a push to a connected branch, pr = a
                                  pull-request preview, manual = the API/CLI,
                                  rollback = a redeploy of an earlier successful
                                  deployment.
                              actor:
                                type: object
                                description: >-
                                  Who triggered it — present for
                                  repository-driven deploys.
                                properties:
                                  login:
                                    type: string
                                  avatarUrl:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - login
                                  - avatarUrl
                            required:
                              - kind
                          gitRepo:
                            type:
                              - string
                              - 'null'
                            description: >-
                              Source repository as "owner/repo"; null for
                              non-git deploys.
                          gitRef:
                            type: string
                          commitSha:
                            type:
                              - string
                              - 'null'
                          createdAt:
                            type: string
                            format: date-time
                          finishedAt:
                            type:
                              - string
                              - 'null'
                            format: date-time
                          error:
                            type:
                              - string
                              - 'null'
                        required:
                          - id
                          - status
                          - environment
                          - trigger
                          - gitRef
                      - type: 'null'
                required:
                  - id
                  - name
                  - slug
                  - runtimeClass
                  - region
                  - gitRepo
                  - gitRef
                  - url
                  - latestDeployment
        '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

````