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

# Retrieve a Custom Action Execution

> Fetch one execution of a Custom Action. This endpoint may change or be removed without prior notice.



## OpenAPI

````yaml /api-reference/openapi.yml get /v1/custom_integrations/{custom_integration_uid}/custom_actions/{custom_action_uid}/executions/{uid}
openapi: 3.0.1
info:
  title: Siit Public API
  version: v0
servers:
  - url: https://api.siit.io
security: []
paths:
  /v1/custom_integrations/{custom_integration_uid}/custom_actions/{custom_action_uid}/executions/{uid}:
    parameters:
      - name: custom_integration_uid
        in: path
        description: The UID of the Custom Integration
        required: true
        schema:
          type: string
      - name: custom_action_uid
        in: path
        description: The UID of the Custom Action
        required: true
        schema:
          type: string
      - name: uid
        in: path
        description: The UID of the execution
        required: true
        schema:
          type: string
    get:
      tags:
        - Unstable
        - Custom Action Execution
      summary: Retrieve a Custom Action Execution
      description: >-
        Fetch one execution of a Custom Action. This endpoint may change or be
        removed without prior notice.
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  uid:
                    type: string
                    description: The UID of the execution
                  custom_integration_uid:
                    type: string
                    description: The UID of the Custom Integration
                  custom_action_uid:
                    type: string
                    description: The UID of the Custom Action
                  custom_action_version:
                    type: integer
                    description: >-
                      The version of the Custom Action definition the execution
                      ran with
                  state:
                    type: string
                    enum:
                      - pending
                      - started
                      - waiting
                      - waiting_for_action
                      - success
                      - failed
                      - rejected
                    description: The state of the execution
                  input_definition:
                    type: array
                    nullable: true
                    items:
                      oneOf:
                        - title: Enum field
                          type: object
                          required:
                            - slug
                            - kind
                            - label
                            - values
                          properties:
                            slug:
                              type: string
                              pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
                              description: >-
                                Key under which the value is sent to your
                                endpoint
                            label:
                              type: string
                              maxLength: 200
                              description: Label displayed to the person filling the field
                            required:
                              type: boolean
                              default: false
                            multiple:
                              type: boolean
                              default: false
                              description: >-
                                Accept several values. Only for `text` and
                                `enum` fields.
                            kind:
                              type: string
                              enum:
                                - enum
                            values:
                              type: array
                              items:
                                type: string
                              minItems: 1
                              description: The allowed values
                        - title: Scalar field
                          type: object
                          required:
                            - slug
                            - kind
                            - label
                          properties:
                            slug:
                              type: string
                              pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
                              description: >-
                                Key under which the value is sent to your
                                endpoint
                            label:
                              type: string
                              maxLength: 200
                              description: Label displayed to the person filling the field
                            required:
                              type: boolean
                              default: false
                            multiple:
                              type: boolean
                              default: false
                              description: >-
                                Accept several values. Only for `text` and
                                `enum` fields.
                            kind:
                              type: string
                              enum:
                                - boolean
                                - date
                                - number
                                - text
                    description: >-
                      The input fields the Custom Action declared when the
                      execution was created
                  input_data:
                    type: object
                    description: The input values, keyed by input field slug
                  output_data:
                    type: object
                    description: >-
                      The values extracted from the response of your endpoint,
                      keyed by output slug
                  context_data:
                    type: object
                    description: >-
                      What the execution ran on, such as `request_uid` or
                      `user_uid`, and `submitted_from` for manual and copilot
                      runs
                  response_status:
                    type: integer
                    nullable: true
                    description: The HTTP status your endpoint answered with
                  error_code:
                    type: string
                    nullable: true
                    description: A machine-readable error code when the execution failed
                  error_message:
                    type: string
                    nullable: true
                    description: A human-readable error message when the execution failed
                  execution_layer:
                    type: string
                    nullable: true
                    enum:
                      - agent
                      - copilot
                      - direct
                      - integration
                      - mcp
                      - system
                      - workflow
                      - null
                    description: >-
                      The layer that triggered the execution (e.g. `direct`,
                      `workflow`, `agent`, `copilot`, `mcp`)
                  submitted_from:
                    type: string
                    nullable: true
                    description: The channel the execution was submitted from
                  action_execution_uid:
                    type: string
                    nullable: true
                    description: The UID of the record that triggered the execution
                  action_execution_type:
                    type: string
                    nullable: true
                    description: The type of the record that triggered the execution
                  execution_actor_uid:
                    type: string
                    nullable: true
                    description: The UID of the actor behind the execution
                  execution_actor_type:
                    type: string
                    nullable: true
                    description: >-
                      The type of the actor behind the execution (e.g. `User`,
                      `Agent::Base`)
                  executed_by_uid:
                    type: string
                    nullable: true
                    description: >-
                      The UID of the User who ran the action manually or through
                      the copilot
                  mcp_action_execution_uid:
                    type: string
                    nullable: true
                    description: The UID of the MCP tool call behind a manual run, when any
                  workflow_action_execution_uid:
                    type: string
                    nullable: true
                    description: >-
                      The UID of the workflow action execution that ran the
                      action, when any
                  app_access_action_execution_uid:
                    type: string
                    nullable: true
                    description: >-
                      The UID of the App Access provisioning step that ran the
                      action, when any
                  started_at:
                    type: string
                    format: date-time
                    nullable: true
                    description: >-
                      datetime formatted as ISO 8601 (e.g.
                      "2020-12-15T03:34:13.000Z")
                  finished_at:
                    type: string
                    format: date-time
                    nullable: true
                    description: >-
                      datetime formatted as ISO 8601 (e.g.
                      "2020-12-15T03:34:13.000Z")
                  created_at:
                    type: string
                    format: date-time
                    description: >-
                      datetime formatted as ISO 8601 (e.g.
                      "2020-12-15T03:34:13.000Z")
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
      security:
        - bearer: []
components:
  schemas:
    errors_object:
      type: object
      properties:
        error:
          type: string
        troubleshoot:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````