> ## 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 Scorecard: Inputs, Cost & CLI Example

> Get Scorecard. Attention Attention Get Scorecard 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_get_scorecard:{"id":"{{id}}"}' --json
```

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

## Input Schema

| Name         | Type     | Required | Default | Description    |
| ------------ | -------- | -------- | ------- | -------------- |
| `payload.id` | `string` | Yes      |         | Scorecard UUID |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Retrieves a single scorecard by its UUID, scoped to the caller's organization. Cross-organization lookups return 404 to prevent existence leaks.",
    "properties": {
      "id": {
        "type": "string",
        "description": "Scorecard UUID"
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Single-resource envelope wrapping a Scorecard. |
| `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": "Single-resource envelope wrapping a Scorecard.",
        "properties": {
          "data": {
            "type": "object",
            "description": "A scorecard template used to evaluate a conversation, chat, or email.",
            "properties": {
              "uuid": {
                "type": "string",
                "description": "Scorecard UUID."
              },
              "title": {
                "type": "string",
                "description": "Human-readable title of the scorecard (1-128 characters)."
              },
              "organizationUUID": {
                "type": "string",
                "description": "UUID of the organization that owns the scorecard."
              },
              "teamUUID": {
                "type": "string",
                "description": "UUID of the specific team assigned to this scorecard, if any. Mutually exclusive with allTeams=true."
              },
              "allTeams": {
                "type": "boolean",
                "description": "Whether the scorecard is assigned to every team in the organization."
              },
              "enabled": {
                "type": "boolean",
                "description": "Whether the scorecard is active and runs against new interactions."
              },
              "interactionType": {
                "type": "string",
                "description": "Type of interaction the scorecard evaluates.",
                "enum": [
                  "conversation",
                  "chat",
                  "email"
                ]
              },
              "detailedInstructions": {
                "type": "string",
                "description": "Optional free-form guidance appended to the evaluator prompt."
              },
              "scorecardPrompt": {
                "type": "string",
                "description": "Optional prompt override used in expert mode."
              },
              "expertMode": {
                "type": "boolean",
                "description": "Whether this scorecard uses custom prompts (expert mode) instead of the default template."
              },
              "isDefaultTemplate": {
                "type": "boolean",
                "description": "Whether this scorecard was seeded as one of the default organization templates."
              },
              "criteria": {
                "type": "object",
                "description": "Label-based criteria that gate when a scorecard is applied to an interaction.",
                "properties": {
                  "operator": {
                    "type": "string",
                    "description": "Boolean operator joining criteria conditions.",
                    "enum": [
                      "AND",
                      "OR"
                    ]
                  },
                  "conditions": {
                    "type": "array",
                    "description": "List of field/value conditions evaluated with the operator.",
                    "items": {
                      "type": "object",
                      "description": "A single criteria condition pairing a field path with an expected value.",
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "Field path being matched (for example, a label UUID or label option UUID)."
                        },
                        "value": {
                          "type": "string",
                          "description": "Expected value for the field to satisfy the condition."
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              },
              "createdAt": {
                "type": "string",
                "description": "Timestamp when the scorecard was created.",
                "format": "date-time"
              }
            },
            "required": [
              "allTeams",
              "createdAt",
              "enabled",
              "expertMode",
              "interactionType",
              "isDefaultTemplate",
              "organizationUUID",
              "title",
              "uuid"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "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_scorecard --payload '{
  "id": "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`.
