> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get SMS report

> Retrieve daily Brevo transactional SMS statistics.

`brevo.getSmsReport` retrieve daily Brevo transactional SMS statistics.

## Example

```ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { brevo } from "automate.ax/brevo"

export default automation("Get SMS report", () => {
  onDashboardRun({ title: "Get SMS report" })
  brevo.getSmsReport({ days: 7, sort: "desc" })
})
```

## Inputs

Use `days` from 1–90 or paired dates. Optional `tag` filters results and `sort` defaults to `desc`. The second argument can select `{ account }`.

## Output

Returns `{ reports }`, one available metrics object per date.
