> ## 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 Get Field Configuration Item: Inputs, Cost & CLI

> Get Field Configuration Item. 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=attention_get_field_configuration_item:{"id":"{{id}}","itemId":"{{itemId}}"}' --json
```

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

## Input Schema

| Name             | Type     | Required | Default | Description                           |
| ---------------- | -------- | -------- | ------- | ------------------------------------- |
| `payload.id`     | `string` | Yes      |         | UUID of the field configuration.      |
| `payload.itemId` | `string` | Yes      |         | UUID of the field-configuration item. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Returns a single field-configuration item by UUID. Items belonging to a field configuration in another organization return 404.",
    "properties": {
      "id": {
        "type": "string",
        "description": "UUID of the field configuration."
      },
      "itemId": {
        "type": "string",
        "description": "UUID of the field-configuration item."
      }
    },
    "required": [
      "id",
      "itemId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                            |
| ------------- | -------- | -------- | ------- | ------------------------------------------------------ |
| `result.data` | `object` | Yes      |         | Envelope containing a single field-configuration item. |
| `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": "Envelope containing a single field-configuration item.",
        "properties": {
          "data": {
            "type": "object",
            "description": "A single field within a Field Configuration (internally `IntelligenceItem`). Items describe a prompt that Attention evaluates against a conversation and produces a value for. A field-configuration item is cloned as one `IntelligenceItemAssignment` per team the parent configuration is assigned to - see `IntelligenceItemAssignment`.",
            "properties": {
              "uuid": {
                "type": "string",
                "description": "Unique identifier of the item."
              },
              "fieldConfigurationUUID": {
                "type": "string",
                "description": "UUID of the parent field configuration."
              },
              "title": {
                "type": "string",
                "description": "Short human-readable title of the item. Trimmed; 1-128 characters."
              },
              "category": {
                "type": "string",
                "description": "Category of the item. One of the intelligence-category enum values.",
                "enum": [
                  "CRM",
                  "Indicators",
                  "BuiltInInsight",
                  "CustomInsight"
                ]
              },
              "contents": {
                "type": "string",
                "description": "Prompt text that Attention will evaluate against each conversation."
              },
              "description": {
                "type": "string",
                "description": "Optional longer description shown to end users. 0-2000 characters."
              },
              "promptType": {
                "type": "string",
                "description": "Prompt family used to analyze the conversation."
              },
              "contentType": {
                "type": "string",
                "description": "Expected shape of the extracted content."
              },
              "responseType": {
                "type": "string",
                "description": "Optional response data type hint."
              },
              "options": {
                "type": "array",
                "description": "Optional allowed response values when the item is a multiple-choice field.",
                "items": {
                  "type": "string"
                }
              },
              "dependsOn": {
                "type": "array",
                "description": "UUIDs of other items this item depends on.",
                "items": {
                  "type": "string"
                }
              },
              "maxValues": {
                "type": "integer",
                "description": "Maximum number of values allowed for multi-select items."
              },
              "allowLongResponse": {
                "type": "boolean",
                "description": "Whether the analyzer may produce a longer free-text response."
              },
              "extractQuotes": {
                "type": "boolean",
                "description": "Whether the analyzer should attach supporting quotes to the response."
              },
              "availableToAllClients": {
                "type": "boolean",
                "description": "Internal flag marking the item as globally available."
              },
              "analysisLevel": {
                "type": "string",
                "description": "Level at which the item is evaluated.",
                "enum": [
                  "conversation",
                  "deal",
                  "lead",
                  "contact",
                  "account"
                ]
              },
              "metadata": {
                "type": "object",
                "description": "Numeric scoring metadata for a field-configuration item. Required when the item represents a numeric score - `min_score` must be less than or equal to `max_score`.",
                "properties": {
                  "min_score": {
                    "type": "number",
                    "description": "Minimum allowed score value.",
                    "format": "double"
                  },
                  "max_score": {
                    "type": "number",
                    "description": "Maximum allowed score value.",
                    "format": "double"
                  },
                  "middle_score": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Optional midpoint score value, used by scoring heuristics.",
                    "format": "double"
                  },
                  "min_criteria": {
                    "type": "string",
                    "description": "Human-readable description of what the minimum score means."
                  },
                  "max_criteria": {
                    "type": "string",
                    "description": "Human-readable description of what the maximum score means."
                  },
                  "middle_criteria": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Human-readable description of what the middle score means."
                  }
                },
                "additionalProperties": false
              },
              "createdAt": {
                "type": "string",
                "description": "Timestamp when the item was created.",
                "format": "date-time"
              },
              "lastModifiedAt": {
                "type": "string",
                "description": "Timestamp when the item was last updated.",
                "format": "date-time"
              }
            },
            "required": [
              "allowLongResponse",
              "availableToAllClients",
              "category",
              "contentType",
              "contents",
              "createdAt",
              "extractQuotes",
              "fieldConfigurationUUID",
              "lastModifiedAt",
              "promptType",
              "title",
              "uuid"
            ],
            "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 attention_get_field_configuration_item --payload '{
  "id": "string",
  "itemId": "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`.
