> ## 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 deployment including its build log.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/projects/{projectId}/deploys/{deployId}
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}/deploys/{deployId}:
    get:
      tags:
        - deploys
      summary: Get
      description: Get one deployment including its build log.
      operationId: deploys.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.
        - name: deployId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The deployment.
          content:
            application/json:
              schema:
                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'
                  buildLog:
                    type: string
                    description: Accumulated build output.
                required:
                  - id
                  - status
                  - environment
                  - trigger
                  - gitRef
                  - buildLog
        '404':
          description: No such deployment in this project.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````