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

# Intercom Lis Data Attributes: Inputs, Cost & CLI Example

> List all data attributes. Intercom Intercom Lis Data Attributes 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=intercom_lis_data_attributes:{}' --json
```

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

## Input Schema

| Name                       | Type                                       | Required | Default | Description                                                                                      |
| -------------------------- | ------------------------------------------ | -------- | ------- | ------------------------------------------------------------------------------------------------ |
| `payload.model`            | `"contact" \| "company" \| "conversation"` | No       |         | Specify the data attribute model to return.                                                      |
| `payload.include_archived` | `boolean`                                  | No       |         | Include archived attributes in the list. By default we return only non archived data attributes. |

### Allowed values

| Field           | Allowed values                       |
| --------------- | ------------------------------------ |
| `payload.model` | `contact`, `company`, `conversation` |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.",
    "properties": {
      "model": {
        "type": "string",
        "description": "Specify the data attribute model to return.",
        "enum": [
          "contact",
          "company",
          "conversation"
        ]
      },
      "include_archived": {
        "type": "boolean",
        "description": "Include archived attributes in the list. By default we return only non archived data attributes."
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                                                                      |
| ------------- | -------- | -------- | ------- | ------------------------------------------------------------------------------------------------ |
| `result.data` | `object` | Yes      |         | A list of all data attributes belonging to a workspace for contacts, companies or conversations. |
| `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": "A list of all data attributes belonging to a workspace for contacts, companies or conversations.",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of the object",
            "enum": [
              "list"
            ]
          },
          "data": {
            "type": "array",
            "description": "A list of data attributes",
            "items": {
              "type": "object",
              "description": "Data Attributes are metadata used to describe your contact, company and conversation models. These include standard and custom attributes. By using the data attributes endpoint, you can get the global list of attributes for your workspace, as well as create and archive custom attributes.",
              "properties": {
                "type": {
                  "type": "string",
                  "description": "Value is `data_attribute`.",
                  "enum": [
                    "data_attribute"
                  ]
                },
                "id": {
                  "type": "integer",
                  "description": "The unique identifier for the data attribute which is given by Intercom. Only available for custom attributes."
                },
                "model": {
                  "type": "string",
                  "description": "Value is `contact` for user/lead attributes and `company` for company attributes.",
                  "enum": [
                    "contact",
                    "company"
                  ]
                },
                "name": {
                  "type": "string",
                  "description": "Name of the attribute."
                },
                "full_name": {
                  "type": "string",
                  "description": "Full name of the attribute. Should match the name unless it's a nested attribute. We can split full_name on `.` to access nested user object values."
                },
                "label": {
                  "type": "string",
                  "description": "Readable name of the attribute (i.e. name you see in the UI)"
                },
                "description": {
                  "type": "string",
                  "description": "Readable description of the attribute."
                },
                "data_type": {
                  "type": "string",
                  "description": "The data type of the attribute.",
                  "enum": [
                    "string",
                    "integer",
                    "float",
                    "boolean",
                    "date"
                  ]
                },
                "options": {
                  "type": "array",
                  "description": "List of predefined options for attribute value.",
                  "items": {
                    "type": "string"
                  }
                },
                "api_writable": {
                  "type": "boolean",
                  "description": "Can this attribute be updated through API"
                },
                "messenger_writable": {
                  "type": "boolean",
                  "description": "Can this attribute be updated by the Messenger"
                },
                "ui_writable": {
                  "type": "boolean",
                  "description": "Can this attribute be updated in the UI"
                },
                "custom": {
                  "type": "boolean",
                  "description": "Set to true if this is a CDA"
                },
                "archived": {
                  "type": "boolean",
                  "description": "Is this attribute archived. (Only applicable to CDAs)"
                },
                "created_at": {
                  "type": "integer",
                  "description": "The time the attribute was created as a UTC Unix timestamp",
                  "format": "date-time"
                },
                "updated_at": {
                  "type": "integer",
                  "description": "The time the attribute was last updated as a UTC Unix timestamp",
                  "format": "date-time"
                },
                "admin_id": {
                  "type": "string",
                  "description": "Teammate who created the attribute. Only applicable to CDAs"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "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 intercom_lis_data_attributes --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`.
