> ## 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 proactive tasks

> Pages through a worker's proactive tasks, newest first: the work it does on its own, as the app's Proactive tab lists it. A task runs only while the worker's `outreach_enabled` is on and the worker isn't archived.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/digital_workers/{worker_id}/tasks
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}/tasks:
    get:
      tags:
        - digital_workers
      summary: List a worker's proactive tasks
      description: >-
        Pages through a worker's proactive tasks, newest first: the work it does
        on its own, as the app's Proactive tab lists it. A task runs only while
        the worker's `outreach_enabled` is on and the worker isn't archived.
      operationId: digital_workers_list_tasks
      parameters:
        - description: The worker's id, from GET /v1/digital_workers
          in: path
          name: worker_id
          required: true
          schema:
            type: string
        - description: Only tasks in this status
          in: query
          name: status
          required: false
          schema:
            anyOf:
              - enum:
                  - open
                  - done
                  - needs_recheck
                type: string
              - type: 'null'
            default: null
        - description: Only tasks about this account
          in: query
          name: account_id
          required: false
          schema:
            anyOf:
              - maxLength: 255
                minLength: 1
                type: string
              - type: 'null'
            default: null
        - 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/WorkerTaskPage'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    WorkerTaskPage:
      properties:
        data:
          items:
            $ref: '#/components/schemas/WorkerTask'
          title: Data
          type: array
        has_more:
          default: false
          title: Has More
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - data
      title: WorkerTaskPage
      type: object
    WorkerTask:
      properties:
        account_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The account an account task is about
          title: Account Id
        account_name:
          anyOf:
            - type: string
            - type: 'null'
          description: That account's name; null once it no longer exists
          title: Account Name
        conditions:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: >-
            Narrows a book task to the accounts that match: the `conditions` of
            an account segment, as in the worker's `accounts.segment`. Null
            means the whole book
          title: Conditions
        created_at:
          description: ISO 8601 UTC
          title: Created At
          type: string
        deadline:
          anyOf:
            - type: string
            - type: 'null'
          description: A goal's deadline, ISO 8601 UTC
          title: Deadline
        id:
          title: Id
          type: string
        instructions:
          description: >-
            What the worker should do: added to its prompt every time the task
            runs
          title: Instructions
          type: string
        kind:
          description: >-
            one_off runs once, then is done; recurring runs on its `schedule`;
            goal is checked each time the worker runs while it is open, until
            the worker reports it achieved or blocked or its `deadline` passes
          enum:
            - one_off
            - recurring
            - goal
          title: Kind
          type: string
        next_run_at:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            When it is next due, ISO 8601 UTC; null when it is due whenever the
            worker next runs. It runs only while the worker's `outreach_enabled`
            is on
          title: Next Run At
        parked_at:
          anyOf:
            - type: string
            - type: 'null'
          description: Since when, ISO 8601 UTC
          title: Parked At
        parked_reason:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Why the worker isn't running it, such as a schedule or conditions
            that need repair, or a wait for its outreach budget; null when
            nothing holds it
          title: Parked Reason
        schedule:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: >-
            When a recurring task runs, in UTC: a cron expression, or daily or
            weekly at an hour
          title: Schedule
        scope:
          description: >-
            global is about your workspace and no one account; account is about
            the account in `account_id`; book is about each account the worker
            covers (its `accounts.segment`), once each period, narrowed by
            `conditions`
          enum:
            - global
            - account
            - book
          title: Scope
          type: string
        source:
          description: >-
            Who added it: human (a person, or a key), self (the worker, as a
            follow-up) or system (Statisfy: a default task, which you may
            change, or delete to opt out of it)
          enum:
            - human
            - self
            - system
          title: Source
          type: string
        status:
          description: >-
            open runs when due; done never runs again; needs_recheck is a goal
            the worker reported blocked, or whose deadline passed, for a person
            to look at
          enum:
            - open
            - done
            - needs_recheck
          title: Status
          type: string
        updated_at:
          description: ISO 8601 UTC
          title: Updated At
          type: string
        worker_id:
          title: Worker Id
          type: string
      required:
        - id
        - worker_id
        - kind
        - scope
        - account_id
        - account_name
        - instructions
        - schedule
        - deadline
        - conditions
        - status
        - source
        - next_run_at
        - parked_reason
        - parked_at
        - created_at
        - updated_at
      title: WorkerTask
      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.