> ## 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 the execution logs of a Workflow

> Lists the runs of a Workflow, most recently triggered first. Each run includes its trigger event, status, inputs and ordered action steps with their status, outputs and errors. This endpoint may change or be removed without prior notice.



## OpenAPI

````yaml /api-reference/openapi.yml get /v1/workflows/{workflow_uid}/execution_logs
openapi: 3.0.1
info:
  title: Siit Public API
  version: v0
servers:
  - url: https://api.siit.io
security: []
paths:
  /v1/workflows/{workflow_uid}/execution_logs:
    parameters:
      - name: workflow_uid
        in: path
        description: The UID of the Workflow
        required: true
        schema:
          type: string
    get:
      tags:
        - Unstable
        - Workflow
      summary: List the execution logs of a Workflow
      description: >-
        Lists the runs of a Workflow, most recently triggered first. Each run
        includes its trigger event, status, inputs and ordered action steps with
        their status, outputs and errors. This endpoint may change or be removed
        without prior notice.
      parameters:
        - name: started_after
          in: query
          schema:
            type: string
            format: date-time
          required: false
          description: Only return runs started at or after this DateTime (ISO 8601).
        - name: started_before
          in: query
          schema:
            type: string
            format: date-time
          required: false
          description: Only return runs started before this DateTime (ISO 8601).
        - name: include_skipped
          in: query
          required: false
          description: >-
            Also list each action of a skipped branch as its own `skipped` step.
            Defaults to false. Skipped steps are only reconstructed when the run
            shows that branch selection completed.
          schema:
            type: boolean
        - 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:
                        started_at:
                          type: string
                          format: date-time
                          nullable: true
                          description: >-
                            When the run started (ISO 8601). Null when it has
                            not started yet.
                        finished_at:
                          type: string
                          format: date-time
                          nullable: true
                          description: >-
                            When the run finished (ISO 8601). Null while it is
                            not finished.
                        status:
                          type: string
                          enum:
                            - pending
                            - running
                            - waiting
                            - success
                            - failure
                            - skipped
                          description: Status of the run
                        inputs:
                          type: object
                          nullable: true
                          additionalProperties: true
                          description: >-
                            The trigger context the run started with. Resolved
                            per-step inputs are not recorded.
                        trigger:
                          type: object
                          additionalProperties: true
                          description: >-
                            The event that started the run. Carries a `subtype`
                            key too when the event has one (e.g. the kind of SLA
                            breached).
                          properties:
                            event:
                              type: string
                              description: >-
                                The trigger event, as `<trigger kind>.<event>`
                                (e.g. `request.submitted`)
                            occurred_at:
                              type: string
                              format: date-time
                              description: When the event occurred (ISO 8601)
                        target:
                          type: object
                          nullable: true
                          additionalProperties: true
                          description: >-
                            The record the run acted on, kept even after that
                            record is deleted. Carries its `name` and `uid` too
                            when known.
                          properties:
                            kind:
                              type: string
                              description: The kind of record (e.g. `request`, `user`)
                        error:
                          type: object
                          nullable: true
                          additionalProperties: true
                          description: >-
                            Set when the run or step failed or was skipped, null
                            otherwise. Holds a `code` (machine-readable error
                            code) and/or a `message` (human-readable reason);
                            each key is omitted when unknown.
                        steps:
                          type: array
                          items:
                            type: object
                            additionalProperties: true
                            description: >-
                              One action step of the run. Besides `action` and
                              `status`, a step carries, when known: `uid` (the
                              step execution UID, absent on reconstructed
                              skipped steps), `action_uid` (UID of the Workflow
                              action), `branch` (name of the branch it ran in),
                              `started_at`, `finished_at`, `outputs` (what the
                              action produced; for a branching step, `{
                              branches: [{ name, status }] }`) and `error`
                              (`code` and/or `message`). Keys without a value
                              are omitted.
                            properties:
                              action:
                                type: string
                                description: >-
                                  The kind of action (e.g.
                                  `request.quick_reply`)
                              status:
                                type: string
                                enum:
                                  - pending
                                  - running
                                  - waiting
                                  - success
                                  - failure
                                  - skipped
                                description: Status of the step
                          description: The action steps of the run, in execution order
        '400':
          description: Invalid start time
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
        '401':
          description: Unauthorized
        '404':
          description: 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

````