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

# List Custom Action Executions

> Fetch the executions of a Custom Action across all its versions, newest first, with their inputs, outputs, errors and what triggered them. 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
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:
    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
    get:
      tags:
        - Unstable
        - Custom Action Execution
      summary: List Custom Action Executions
      description: >-
        Fetch the executions of a Custom Action across all its versions, newest
        first, with their inputs, outputs, errors and what triggered them. This
        endpoint may change or be removed without prior notice.
      parameters:
        - name: page
          in: query
          required: false
          description: The current page
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          description: Number of results retrieved per page.
          schema:
            type: integer
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta_object'
                  results:
                    type: array
                    items:
                      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")
        '401':
          description: Unauthorized
        '404':
          description: Custom Integration or Custom Action not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
      security:
        - bearer: []
components:
  schemas:
    meta_object:
      type: object
      properties:
        count:
          type: integer
        current_page:
          type: integer
        next_page_link:
          type: string
          nullable: true
        per_page:
          type: integer
          default: 20
          maximum: 200
        previous_page_link:
          type: string
          nullable: true
        total:
          type: integer
    errors_object:
      type: object
      properties:
        error:
          type: string
        troubleshoot:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````