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

# List a worker's runs

> Pages through the times the worker ran on its own (its proactive tasks), newest first, with what each did, as the app's Activity tab lists them. The actions a run left for a person are counted by GET /v1/digital_workers/{worker_id}/held_count.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/digital_workers/{worker_id}/runs
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/digital_workers/{worker_id}/runs:
    get:
      tags:
        - digital_workers
      summary: List a worker's runs
      description: >-
        Pages through the times the worker ran on its own (its proactive tasks),
        newest first, with what each did, as the app's Activity tab lists them.
        The actions a run left for a person are counted by GET
        /v1/digital_workers/{worker_id}/held_count.
      operationId: digital_workers_list_runs
      parameters:
        - description: The worker's id, from GET /v1/digital_workers
          in: path
          name: worker_id
          required: true
          schema:
            type: string
        - in: query
          name: limit
          required: false
          schema:
            default: 25
            maximum: 100
            minimum: 1
            type: integer
        - description: '`next_cursor` from the previous page'
          in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkerRunPage'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    WorkerRunPage:
      properties:
        data:
          description: Newest first
          items:
            $ref: '#/components/schemas/WorkerRun'
          title: Data
          type: array
        has_more:
          default: false
          title: Has More
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        total:
          description: How many runs it has
          title: Total
          type: integer
      required:
        - data
        - total
      title: WorkerRunPage
      type: object
    WorkerRun:
      properties:
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          description: ISO 8601 UTC; null while it runs
          title: Completed At
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        id:
          title: Id
          type: string
        started_at:
          description: ISO 8601 UTC
          title: Started At
          type: string
        status:
          description: >-
            How it ended: complete, or another word when it stopped short (see
            `error`)
          title: Status
          type: string
        summary:
          anyOf:
            - type: string
            - type: 'null'
          description: What it did, in its own words; null when it said nothing
          title: Summary
        tool_calls:
          title: Tool Calls
          type: integer
        trigger:
          anyOf:
            - type: string
            - type: 'null'
          description: What started it, such as a schedule
          title: Trigger
        turns:
          title: Turns
          type: integer
      required:
        - id
        - status
        - trigger
        - summary
        - turns
        - tool_calls
        - started_at
        - completed_at
        - error
      title: WorkerRun
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.