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

# Smartlead: Get Campaign Analytics By Date

> Get a Smartlead campaign's sent, open, reply and bounce totals between two dates. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Get a Smartlead campaign's sent, open, reply and bounce totals between two dates.

> [!NOTE]
>
> Tool ID: `smartlead_get_campaign_analytics_by_date`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe smartlead_get_campaign_analytics_by_date --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe smartlead_get_campaign_analytics_by_date --json` for the complete live contract.

## Input reference

Smartlead campaign analytics by date range input.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.campaign_id` | `string \| integer` | Yes | — | Smartlead campaign identifier (number or positive numeric string). |
| `payload.start_date` | `string` | Yes | — | Start date in YYYY-MM-DD format. Minimum length: 1. Pattern: `^\d&#123;4&#125;-\d&#123;2&#125;-\d&#123;2&#125;$`. |
| `payload.end_date` | `string` | Yes | — | End date in YYYY-MM-DD format. Minimum length: 1. Pattern: `^\d&#123;4&#125;-\d&#123;2&#125;-\d&#123;2&#125;$`. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Smartlead campaign analytics by date range input.",
    "properties": {
      "campaign_id": {
        "description": "Smartlead campaign identifier (number or positive numeric string).",
        "anyOf": [
          {
            "type": "string",
            "description": "Smartlead campaign identifier (number or positive numeric string).",
            "minLength": 1,
            "pattern": "^\\d+$"
          },
          {
            "type": "integer",
            "description": "Smartlead campaign identifier (number or positive numeric string).",
            "minimum": 1
          }
        ]
      },
      "start_date": {
        "type": "string",
        "description": "Start date in YYYY-MM-DD format.",
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "end_date": {
        "type": "string",
        "description": "End date in YYYY-MM-DD format.",
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      }
    },
    "required": [
      "campaign_id",
      "start_date",
      "end_date"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Raw Smartlead campaign analytics by date payload.

The static output schema is not available. Run `deepline describe smartlead_get_campaign_analytics_by_date --json` for the live contract.

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "description": "Raw Smartlead campaign analytics by date payload."
  }
  ```
</details>

## Deepline cost

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

## Related documentation

* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.