> ## 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.

# Attio Update Status: Inputs, Cost & CLI Example

> Rename, archive, or reconfigure a status. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## 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=attio_update_status:{"target":"objects","identifier":"{{identifier}}","attribute":"{{attribute}}","status":"{{status}}"}' --json
```

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

## Input Schema

| Name                            | Type                   | Required | Default | Description                                                      |
| ------------------------------- | ---------------------- | -------- | ------- | ---------------------------------------------------------------- |
| `payload.target`                | `"objects" \| "lists"` | Yes      |         | Whether the resource belongs to an object or a list.             |
| `payload.identifier`            | `string`               | Yes      |         | Object or list slug/ID.                                          |
| `payload.attribute`             | `string`               | Yes      |         | Attribute slug or ID.                                            |
| `payload.status`                | `string`               | Yes      |         | Status slug or ID.                                               |
| `payload.title`                 | `string`               | No       |         | Updated status title.                                            |
| `payload.celebration_enabled`   | `boolean`              | No       |         | Whether reaching this status triggers a celebration effect.      |
| `payload.target_time_in_status` | `string`               | No       |         | Updated target time in status expressed as an ISO-8601 duration. |
| `payload.is_archived`           | `boolean`              | No       |         | Archive or unarchive the status.                                 |

### Allowed values

| Field            | Allowed values     |
| ---------------- | ------------------ |
| `payload.target` | `objects`, `lists` |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Update a status on an attribute.",
    "properties": {
      "target": {
        "type": "string",
        "description": "Whether the resource belongs to an object or a list.",
        "enum": [
          "objects",
          "lists"
        ]
      },
      "identifier": {
        "type": "string",
        "description": "Object or list slug/ID.",
        "minLength": 1
      },
      "attribute": {
        "type": "string",
        "description": "Attribute slug or ID.",
        "minLength": 1
      },
      "status": {
        "type": "string",
        "description": "Status slug or ID.",
        "minLength": 1
      },
      "title": {
        "type": "string",
        "description": "Updated status title.",
        "minLength": 1
      },
      "celebration_enabled": {
        "type": "boolean",
        "description": "Whether reaching this status triggers a celebration effect."
      },
      "target_time_in_status": {
        "type": [
          "string",
          "null"
        ],
        "description": "Updated target time in status expressed as an ISO-8601 duration."
      },
      "is_archived": {
        "type": "boolean",
        "description": "Archive or unarchive the status."
      }
    },
    "required": [
      "target",
      "identifier",
      "attribute",
      "status"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `record` | Yes      |         | Provider response payload.                     |
| `result.meta` | `record` | 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.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

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

```bash theme={null}
deepline tools execute attio_update_status --payload '{
  "target": "objects",
  "identifier": "string",
  "attribute": "string",
  "status": "string"
}' --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`.
