get:
  operationId: getWorkflowExecutionHistory
  tags:
    - Workflows
  summary: Get Workflow Execution History
  description: >-
    Get a detailed history of a single workflow execution.  Workflow executions are available for up to 2 days before being archived.  If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
  security:
    - oauth2: [sp:workflow:read]
  parameters:
    - name: id
      in: path
      description: Id of the workflow execution
      required: true
      style: simple
      explode: false
      schema:
        type: string
        example: c17bea3a-574d-453c-9e04-4365fbf5af0b
  responses:
    '200':
      description: >-
        List of workflow execution events for the given workflow execution
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/WorkflowExecutionEvent.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '404':
      $ref: '../../v3/responses/404.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'
