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

# List runs for a workflow

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Lists one workflow's runs, newest first.

Use `status` to keep only runs in one state, `since` to keep only runs after a moment in time, and `limit` with `offset` to page.

Manual runs started through [Run a workflow now](/api-reference/run-a-workflow-now) appear here with `is_test_run` set to `true`.

This endpoint is limited to 60 requests per minute.

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>

<Note>This endpoint accepts a personal API key. Workspace API keys are not authorized for it and are rejected with a 403.</Note>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/{workflow_id}/runs
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - ApiKeyAuth: []
paths:
  /api/apps/{app_id}/workflows/{workflow_id}/runs:
    get:
      summary: List runs for a workflow
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Lists one workflow's runs, newest first.


        Use `status` to keep only runs in one state, `since` to keep only runs
        after a moment in time, and `limit` with `offset` to page.


        Manual runs started through [Run a workflow
        now](/api-reference/run-a-workflow-now) appear here with `is_test_run`
        set to `true`.


        This endpoint is limited to 60 requests per minute.


        <Warning>The response includes fields beyond the ones documented here.
        Don't rely on undocumented response fields, as they can change at any
        time.</Warning>


        <Note>This endpoint accepts a personal API key. Workspace API keys are
        not authorized for it and are rejected with a 403.</Note>
      operationId: list_runs_api_apps__app_id__workflows__workflow_id__runs_get
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app whose workflows you want to work with.
            title: App Id
          description: ID of the app whose workflows you want to work with.
          example: 6820f3a4e7b91d003c45a1f2
        - name: workflow_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              ID of the workflow, as returned in `id` by [List
              workflows](/api-reference/list-workflows).
            title: Workflow Id
          description: >-
            ID of the workflow, as returned in `id` by [List
            workflows](/api-reference/list-workflows).
          example: 68b1c0d4e7b91d003c45a1f2
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            description: Most runs to return.
            default: 30
            title: Limit
          description: Most runs to return.
          example: 30
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: How many runs to skip, for paging.
            default: 0
            title: Offset
          description: How many runs to skip, for paging.
          example: 0
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Keep only runs in this state, for example `failed`.
            title: Status
          description: Keep only runs in this state, for example `failed`.
          example: failed
        - name: since
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Keep only runs that started at or after this ISO 8601 datetime.
            title: Since
          description: Keep only runs that started at or after this ISO 8601 datetime.
          example: '2026-08-01T00:00:00Z'
      responses:
        '200':
          description: The workflow's runs, newest first.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RunItem'
                title: WorkflowRunHistory
        '400':
          description: '`since` is not an ISO 8601 datetime.'
        '401':
          description: Missing or invalid credentials.
        '403':
          description: >-
            You don't have access to this app, the app does not exist, the app
            still runs the older automations engine instead of workflows, or you
            used a workspace API key. A missing app and an app you cannot reach
            are deliberately the same answer.
        '404':
          description: There is no workflow with this ID on this app.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RunItem:
      properties:
        run_id:
          type: string
          title: Run Id
          description: ID of the run.
          example: 0195f2a1-4c3e-7b21-9f0d-2a5c8e1b4d77
        workflow_id:
          type: string
          title: Workflow Id
          description: ID of the workflow that ran.
          example: 68b1c0d4e7b91d003c45a1f2
        workflow_name:
          type: string
          title: Workflow Name
          description: Name of that workflow at the time of the run.
          default: ''
          example: Email me new signups
        trigger_type:
          type: string
          title: Trigger Type
          description: What started the run, for example `scheduled` or `entity_created`.
          default: ''
          example: scheduled
        status:
          type: string
          title: Status
          description: >-
            How the run is going: `running`, `completed`, `failed`, or
            `cancelled`.
          example: completed
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
          description: When the run started, as an ISO 8601 timestamp.
          example: '2026-08-25T09:12:44Z'
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
          description: When the run finished. `null` while it is still running.
          example: '2026-08-25T09:12:46Z'
        duration_ms:
          type: integer
          title: Duration Ms
          description: >-
            How long the run took, in milliseconds. `0` while it is still
            running.
          default: 0
          example: 1840
        steps_count:
          type: integer
          title: Steps Count
          description: Steps the run executed.
          default: 0
          example: 3
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
          description: Why the run failed. `null` when it did not fail.
          example: The email step failed because the recipient address was missing.
        is_test_run:
          type: boolean
          title: Is Test Run
          description: >-
            `true` when the run was started by hand through Run a workflow now,
            rather than by its trigger.
          default: false
          example: false
        credits_consumed:
          type: number
          title: Credits Consumed
          description: Credits the run used.
          default: 0
          example: 0.5
        status_reason:
          type: string
          title: Status Reason
          description: >-
            Why the run failed or was cancelled. Empty on runs that finished
            successfully.
          default: ''
          example: ''
      type: object
      required:
        - run_id
        - workflow_id
        - status
      title: RunItem
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: Personal API key.

````