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

# Attention List Proactive Actions: Inputs, Cost & CLI

> List Actions. Attention Attention List Proactive Actions docs include request fields, response shape, pricing notes, and Deepline CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=attention_list_proactive_actions:{}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                 | Type      | Required | Default | Description                                                                                                     |
| -------------------- | --------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------- |
| `payload.owner_uuid` | `string`  | No       |         | Filter to a single owner user UUID. Only honored for organization-level API keys; ignored for user-scoped keys. |
| `payload.status`     | `array`   | No       |         | Lifecycle statuses to include. Defaults to pending only. Suppressed actions are never returned.                 |
| `payload.cursor`     | `string`  | No       |         | Opaque pagination cursor from a previous response's next\_cursor. Omit for the first page.                      |
| `payload.size`       | `integer` | No       |         | Maximum number of actions to return per page (default 50, max 200)                                              |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Lists Proactive actions (Next Best Actions), mirroring the action feed users see in the UI. ### Scope * An **organization-level** API key returns actions for every user in the organization. * A **user-scoped** API key returns only that user's actions; the `owner_uuid` filter is ignored for user-scoped keys. ### Filtering * `status` defaults to `pending`. Pass one or more of `pending`, `drafted`, `sent`, `dismissed`, `expired` to widen the set. Suppressed actions are never returned. * `owner_uuid` narrows the result to a single owner (organization-level keys only). ### Pagination * Cursor-based. Omit `cursor` for the first page; pass the response's `next_cursor` unchanged for the next. When `next_cursor` is absent, iteration is complete. * `size` is clamped to a server-side maximum of 200 (default 50).",
    "properties": {
      "owner_uuid": {
        "type": "string",
        "description": "Filter to a single owner user UUID. Only honored for organization-level API keys; ignored for user-scoped keys."
      },
      "status": {
        "type": "array",
        "description": "Lifecycle statuses to include. Defaults to pending only. Suppressed actions are never returned.",
        "items": {
          "type": "string",
          "enum": [
            "pending",
            "drafted",
            "sent",
            "dismissed",
            "expired"
          ]
        }
      },
      "cursor": {
        "type": "string",
        "description": "Opaque pagination cursor from a previous response's next_cursor. Omit for the first page."
      },
      "size": {
        "type": "integer",
        "description": "Maximum number of actions to return per page (default 50, max 200)",
        "minimum": 1,
        "maximum": 200
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "A Proactive Next Best Action as shown to the user.",
              "properties": {
                "uuid": {
                  "type": "string",
                  "description": "Unique identifier of the action"
                },
                "entity_type": {
                  "type": "string",
                  "description": "Type of the entity the action targets (e.g. crm_record)"
                },
                "entity_id": {
                  "type": "string",
                  "description": "Identifier of the entity the action targets"
                },
                "owner_user_uuid": {
                  "type": "string",
                  "description": "UUID of the user who owns the action"
                },
                "action_type": {
                  "type": "string",
                  "description": "Kind of action (e.g. send_email)"
                },
                "title": {
                  "type": "string",
                  "description": "Short title / next move"
                },
                "signal_type": {
                  "type": "string",
                  "description": "The parent signal's type (e.g. no_reply, close_date_risk). Empty when the action has no parent signal."
                },
                "severity": {
                  "type": "string",
                  "description": "The parent signal's severity: high, medium, or low. Empty when absent."
                },
                "display_group": {
                  "type": "string",
                  "description": "The deterministic feed section this action belongs to, derived from signal_type: At risk, You committed, Buying signals, Re-engage, Coordinate internally, CRM cleanup, Connect your tools, or Other."
                },
                "subject": {
                  "type": "string",
                  "description": "Draft subject line, when the action is an email."
                },
                "draft_body": {
                  "type": "string",
                  "description": "Drafted message body, when available."
                },
                "proposed_recipients": {
                  "type": "array",
                  "description": "Proposed recipients of the drafted message.",
                  "items": {
                    "type": "string"
                  }
                },
                "proposed_slots": {
                  "type": "array",
                  "description": "Proposed meeting time slots, rendered in the rep's timezone.",
                  "items": {
                    "type": "string"
                  }
                },
                "status": {
                  "type": "string",
                  "description": "Lifecycle status: pending, drafted, sent, dismissed, or expired."
                },
                "external_url": {
                  "type": "string",
                  "description": "URL of the drafted artifact in the external system, when available"
                },
                "why": {
                  "type": "object",
                  "description": "The reasoning behind a Proactive action — the \"why this suggestion\" contract.",
                  "properties": {
                    "rationale": {
                      "type": "string",
                      "description": "Plain-language explanation of why this action is suggested."
                    },
                    "key_quote": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string"
                        },
                        "speaker": {
                          "type": "string"
                        },
                        "source_label": {
                          "type": "string"
                        },
                        "source_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "evidence": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "label": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "impact": {
                            "type": "string"
                          },
                          "source_label": {
                            "type": "string"
                          },
                          "source_url": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "generated_at": {
                  "type": "string",
                  "description": "When the action was generated",
                  "format": "date-time"
                },
                "updated_at": {
                  "type": "string",
                  "description": "When the action was last updated",
                  "format": "date-time"
                },
                "expires_at": {
                  "type": "string",
                  "description": "When the action stops being valid and is no longer shown.",
                  "format": "date-time"
                }
              },
              "required": [
                "uuid",
                "entity_type",
                "entity_id",
                "owner_user_uuid",
                "action_type",
                "title",
                "signal_type",
                "severity",
                "display_group",
                "subject",
                "draft_body",
                "proposed_recipients",
                "proposed_slots",
                "status",
                "external_url",
                "why",
                "generated_at",
                "updated_at",
                "expires_at"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "type": "string",
            "description": "Opaque cursor for the next page. Absent when there are no more results."
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute attention_list_proactive_actions --payload '{}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
