# Export Filters Object

Export Filters keys. The accepted keys depend on the `export_type` of the Export.
`from` and `to` are returned as `YYYY-MM-DD HH:MM:SS` in UTC.

An Export created with an earlier API version keeps the filter keys of that version, for
example `year`, `month`, and `day`.

## Attributes

cdr\_incdr\_outsms\_insms\_out

| Name | Type | Nullable | Description |
| --- | --- | --- | --- |
| from | `string` | False | Start date and time of the CDR range. |
| to | `string` | False | End date and time of the CDR range. |
| did\_number | `string` | False | Filters CDRs by DID number. |
| source\_number | `string` | False | Filters CDRs by caller number, as it reached DIDWW. |
| source\_number\_out | `string` | False | Filters CDRs by caller number, as delivered to the trunk. |
| source\_country\_iso | `string` | False | Filters CDRs by caller country, as an ISO 3166-1 alpha-2 code. |

| Name | Type | Nullable | Description |
| --- | --- | --- | --- |
| from | `string` | False | Start date and time of the CDR range. |
| to | `string` | False | End date and time of the CDR range. |
| voice\_out\_trunk.id | `string` | False | Filters CDRs by Outbound Trunk. |
| source | `string` | False | Filters CDRs by source number. |
| cli | `string` | False | Filters CDRs by caller ID (CLI). |
| destination | `string` | False | Filters CDRs by destination number. |

| Name | Type | Nullable | Description |
| --- | --- | --- | --- |
| from | `string` | False | Start date and time of the SMS record range. |
| to | `string` | False | End date and time of the SMS record range. |
| source\_address\_eq | `string` | False | Filters messages by exact sender address. |
| source\_address\_cont | `string` | False | Filters messages whose sender address contains this value. |
| destination\_address\_eq | `string` | False | Filters messages by exact recipient address. |
| destination\_address\_cont | `string` | False | Filters messages whose recipient address contains this value. |
| status | `string` | False | Filters messages by state: `success`, `failed`, or `queued`. |
| trunk\_type | `string` or Array of `strings` | False | Filters messages by SMS trunk type: `smpp_smsc`, `smpp_esme`, `sms_to_email`, `http_in`. |
| sms\_trunk.id | `string` or Array of `strings` | False | Filters messages by SMS trunk ID. |
| sms\_id | `string` | False | Filters messages by SMS ID. |

| Name | Type | Nullable | Description |
| --- | --- | --- | --- |
| from | `string` | False | Start date and time of the SMS record range. |
| to | `string` | False | End date and time of the SMS record range. |
| source\_address\_eq | `string` | False | Filters messages by exact sender address. |
| source\_address\_cont | `string` | False | Filters messages whose sender address contains this value. |
| destination\_address\_eq | `string` | False | Filters messages by exact recipient address. |
| destination\_address\_cont | `string` | False | Filters messages whose recipient address contains this value. |
| status | `string` | False | Filters messages by state: `routing_error`, `in_progress`, `queued`, `failed`, or `success`. |
| sms\_trunk.id | `string` or Array of `strings` | False | Filters messages by SMS trunk ID. |
| sms\_id | `string` | False | Filters messages by SMS ID. |
| service\_type | `string` | False | Filters messages by service type: `a2p` or `p2p`. |
| sender\_id\_verification.id | `string` or Array of `strings` | False | Filters messages by sender ID verification ID. |
