> ## 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 current execution state and exit information.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/projects/{projectId}/executions/{executionId}
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}/executions/{executionId}:
    get:
      tags:
        - executions
      summary: Get
      description: Get current execution state and exit information.
      operationId: executions.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: executionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Current execution state.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                      - starting
                      - running
                      - succeeded
                      - failed
                      - cancelled
                      - timed_out
                  image:
                    type: string
                  command:
                    type: array
                    items:
                      type: string
                  region:
                    type: string
                  resources:
                    type: object
                    properties:
                      cpuKind:
                        type: string
                        enum:
                          - shared
                          - performance
                      cpus:
                        type: integer
                        minimum: 1
                        maximum: 16
                      memoryMb:
                        type: integer
                        minimum: 256
                        maximum: 65536
                    required:
                      - cpuKind
                      - cpus
                      - memoryMb
                    additionalProperties: false
                  runtime:
                    type: object
                    properties:
                      nestedContainers:
                        type: boolean
                    required:
                      - nestedContainers
                    additionalProperties: false
                  timeoutSeconds:
                    type: integer
                  exitCode:
                    type:
                      - integer
                      - 'null'
                  errorCode:
                    type:
                      - string
                      - 'null'
                  cleanupStatus:
                    type: string
                    enum:
                      - pending
                      - confirmed
                      - attention_required
                  createdAt:
                    type: string
                    format: date-time
                  startedAt:
                    type:
                      - string
                      - 'null'
                    format: date-time
                  finishedAt:
                    type:
                      - string
                      - 'null'
                    format: date-time
                required:
                  - id
                  - status
                  - image
                  - command
                  - region
                  - resources
                  - runtime
                  - timeoutSeconds
                  - exitCode
                  - errorCode
                  - cleanupStatus
                  - createdAt
                  - startedAt
                  - finishedAt
                additionalProperties: false
        '404':
          description: No such execution.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````