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

# Resolve

> Resolve this principal's completed create request by its Idempotency-Key after an ambiguous client failure.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/projects/{projectId}/executions/resolve
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/resolve:
    get:
      tags:
        - executions
      summary: Resolve
      description: >-
        Resolve this principal's completed create request by its Idempotency-Key
        after an ambiguous client failure.
      operationId: executions.resolve
      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: idempotencyKey
          in: query
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 128
            pattern: ^[A-Za-z0-9._:-]+$
          description: The exact key sent with executions.create.
      responses:
        '200':
          description: The execution created by that request.
          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
        '202':
          description: The create request is still in progress; retry resolution shortly.
          content:
            application/json:
              schema:
                type: object
                properties:
                  state:
                    type: string
                    enum:
                      - pending
                required:
                  - state
                additionalProperties: false
        '404':
          description: >-
            No matching request exists, or the completed or failed request
            created no execution.
        '422':
          description: Invalid idempotency key.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````