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

# List execution step logs for a trigger execution



## OpenAPI

````yaml /openapi.json get /trigger_executions/{id}/execution_step_logs
openapi: 3.0.3
info:
  title: Pocketflows API
  version: 0.0.4
servers:
  - url: https://api.pocketflows.com
    description: Production server
security:
  - HttpBasicAuth: []
paths:
  /trigger_executions/{id}/execution_step_logs:
    get:
      tags:
        - Execution step logs
      summary: List execution step logs for a trigger execution
      parameters:
        - in: path
          name: id
          schema:
            type: string
          description: The ID of the trigger execution
          required: true
      responses:
        '200':
          description: A dictionary with an `execution_step_logs` property
          content:
            application/json:
              schema:
                type: object
                properties:
                  execution_step_logs:
                    type: array
                    items:
                      $ref: '#/components/schemas/ExecutionStepLog'
                    description: An array of execution step logs
                required:
                  - execution_step_logs
components:
  schemas:
    ExecutionStepLog:
      type: object
      properties:
        id:
          type: string
          description: The ID of the execution step log
        step:
          type: string
          description: The ID of the campaign step
        outcome:
          type: string
          description: The outcome of the step execution
        reason:
          type: string
          nullable: true
          description: The reason for the outcome
        sent_email:
          type: string
          nullable: true
          description: The ID of the sent email, if applicable
        sent_sms_message:
          type: string
          nullable: true
          description: The ID of the sent SMS message, if applicable
        sent_custom_step:
          type: string
          nullable: true
          description: The ID of the sent custom step, if applicable
        created_at:
          type: string
          description: The time the step was logged in ISO 8601 format
      required:
        - id
        - step
        - outcome
        - reason
        - sent_email
        - sent_sms_message
        - sent_custom_step
        - created_at
      title: The Execution Step Log object
  securitySchemes:
    HttpBasicAuth:
      type: http
      scheme: basic

````