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

# List workflow runs

> The org's workflow run log (every trigger: schedule, run_now, manual, test), newest first. Filter with workflowId, scheduleId, trigger, status, userId. A session token only sees runs executed as its own user.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workflow-runs
openapi: 3.1.0
info:
  title: Sidenet API
  version: 1.0.0
  description: >-
    Sidenet HTTP endpoints exposed by the Sidenet Studio. All routes require an
    api key that can be generated through the studio in studio.sidenet.ai.
servers:
  - url: https://api.sidenet.ai
security:
  - bearerAuth: []
paths:
  /v1/workflow-runs:
    get:
      tags:
        - Workflows
      summary: List workflow runs
      description: >-
        The org's workflow run log (every trigger: schedule, run_now, manual,
        test), newest first. Filter with workflowId, scheduleId, trigger,
        status, userId. A session token only sees runs executed as its own user.
      parameters:
        - name: workflowId
          in: query
          required: false
          schema:
            type: string
            example: 4c2f9e18-7a63-4d05-b1e8-93a7c0f2d641
        - name: scheduleId
          in: query
          required: false
          schema:
            type: string
        - name: trigger
          in: query
          required: false
          schema:
            type: string
            enum:
              - schedule
              - run_now
              - manual
              - test
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - running
              - succeeded
              - failed
              - skipped
        - name: userId
          in: query
          required: false
          schema:
            type: string
            example: user_4821
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
            maximum: 200
      responses:
        '200':
          description: The runs
          content:
            application/json:
              schema:
                type: object
                properties:
                  runs:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        workflow_id:
                          type: string
                          format: uuid
                        schedule_id:
                          type: string
                          format: uuid
                          nullable: true
                        trigger:
                          type: string
                          enum:
                            - schedule
                            - run_now
                            - manual
                            - test
                        status:
                          type: string
                          enum:
                            - running
                            - succeeded
                            - failed
                            - skipped
                        started_at:
                          type: string
                          format: date-time
                        finished_at:
                          type: string
                          format: date-time
                          nullable: true
                        text:
                          type: string
                          nullable: true
                          description: >-
                            The text posted to the thread: the workflow's
                            output_text rendered against this run, else a
                            completion notice with the output attached.
                        error:
                          type: string
                          nullable: true
                        thread_id:
                          type: string
                          nullable: true
                          description: >-
                            The conversation the result was posted to, when
                            notify=thread.
                        request_id:
                          type: string
                          nullable: true
                          description: Joins the run to its trace.
        '400':
          description: Missing headers
      security:
        - bearerAuth: []
        - sessionToken: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization API key, generated in studio.sidenet.ai. Backend only —
        never in a browser.
    sessionToken:
      type: http
      scheme: bearer
      description: >-
        Session token (`snat_…`) minted by POST /v1/token. Carries the
        organization and the end user; safe in a browser.

````