> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreamlayer.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get v1executions



## OpenAPI

````yaml /openapi/managed.yaml get /v1/executions/{execution_id}
openapi: 3.1.0
info:
  title: DreamLayer Managed Image API
  version: '1'
  description: Opaque conversational image execution for runtimes, apps, and agents.
servers:
  - url: https://api.dreamlayer.io
security:
  - bearerAuth: []
paths:
  /v1/executions/{execution_id}:
    get:
      operationId: getExecution
      parameters:
        - $ref: '#/components/parameters/Version'
        - $ref: '#/components/parameters/ExecutionId'
      responses:
        '200':
          description: Canonical execution state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecutionStatus'
components:
  parameters:
    Version:
      name: DreamLayer-Version
      in: header
      required: true
      schema:
        type: string
        const: '1'
    ExecutionId:
      name: execution_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    ExecutionStatus:
      type: object
      additionalProperties: false
      required:
        - execution_id
        - conversation_id
        - status
        - image_job
      properties:
        execution_id:
          type: string
          format: uuid
        conversation_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - needs_input
            - queued
            - running
            - completed
            - failed
            - cancelled
        image_job:
          oneOf:
            - $ref: '#/components/schemas/ImageJob'
            - type: 'null'
    ImageJob:
      type: object
      additionalProperties: false
      required:
        - public_job_id
        - status
        - finished_assets
        - sanitized_error
      properties:
        public_job_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - queued
            - running
            - completed
            - failed
        finished_assets:
          type: array
          maxItems: 1
          items:
            $ref: '#/components/schemas/FinishedAsset'
        sanitized_error:
          oneOf:
            - $ref: '#/components/schemas/SanitizedError'
            - type: 'null'
    FinishedAsset:
      type: object
      additionalProperties: false
      required:
        - asset_id
        - download_url
        - content_type
        - width
        - height
      properties:
        asset_id:
          type: string
          format: uuid
        download_url:
          type: string
        content_type:
          type: string
          const: image/png
        width:
          type: integer
          minimum: 1
          maximum: 4096
        height:
          type: integer
          minimum: 1
          maximum: 4096
    SanitizedError:
      type: object
      additionalProperties: false
      required:
        - code
        - message
      properties:
        code:
          type: string
          const: generation_failed
        message:
          type: string
          const: Image generation failed.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````