# smaily fields

> The 53 fields of the smaily connector: field ID, name, type and description.

Use the field ID in the `fields` parameter of a request to `https://connectors.windsor.ai/smaily`. This list comes from `GET https://connectors.windsor.ai/smaily/fields`; the same call returns it as JSON, with more detail.

## ab_tests

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `ab_tests__completed_at` | ab_tests.completed_at | `TIMESTAMP` | ab_tests.completed_at |
| `ab_tests__created_at` | ab_tests.created_at | `TIMESTAMP` | ab_tests.created_at |
| `ab_tests__id` | ab_tests.id | `TEXT` | ab_tests.id |
| `ab_tests__name` | ab_tests.name | `TEXT` | ab_tests.name |
| `ab_tests__sections` | ab_tests.sections | `OBJECT` | ab_tests.sections |
| `ab_tests__status` | ab_tests.status | `TEXT` | ab_tests.status |
| `ab_tests__tags` | ab_tests.tags | `OBJECT` | ab_tests.tags |

## automations

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `automations__id` | automations.id | `TEXT` | automations.id |
| `automations__name` | automations.name | `TEXT` | automations.name |
| `automations__sections` | automations.sections | `OBJECT` | automations.sections |

## campaigns

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `campaigns__completed_at` | campaigns.completed_at | `TIMESTAMP` | campaigns.completed_at |
| `campaigns__created_at` | campaigns.created_at | `TIMESTAMP` | campaigns.created_at |
| `campaigns__id` | campaigns.id | `TEXT` | campaigns.id |
| `campaigns__name` | campaigns.name | `TEXT` | campaigns.name |
| `campaigns__status` | campaigns.status | `TEXT` | campaigns.status |
| `campaigns__tags` | campaigns.tags | `OBJECT` | campaigns.tags |
| `campaigns__template` | campaigns.template | `OBJECT` | campaigns.template |

## segments

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `segments__id` | segments.id | `TEXT` | segments.id |
| `segments__name` | segments.name | `TEXT` | segments.name |
| `segments__subscribers_count` | segments.subscribers_count | `NUMERIC` | segments.subscribers_count |

## templates

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `templates__created_at` | templates.created_at | `TIMESTAMP` | templates.created_at |
| `templates__id` | templates.id | `TEXT` | templates.id |
| `templates__modified_at` | templates.modified_at | `TIMESTAMP` | templates.modified_at |
| `templates__name` | templates.name | `TEXT` | templates.name |
| `templates__preview_url` | templates.preview_url | `TEXT` | templates.preview_url |
| `templates__type` | templates.type | `TEXT` | templates.type |

## users

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `users__email` | users.email | `TEXT` | users.email |
| `users__first_name` | users.first_name | `TEXT` | users.first_name |
| `users__id` | users.id | `TEXT` | users.id |
| `users__is_owner` | users.is_owner | `BOOLEAN` | users.is_owner |
| `users__last_name` | users.last_name | `TEXT` | users.last_name |
| `users__role` | users.role | `OBJECT` | users.role |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | Account ID. |
| `account_name` | Account Name | `TEXT` | Account name. |
| `data_fetched_at` | Data fetched at | `TIMESTAMP` | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each kee… |
| `datasource` | Data Source | `TEXT` | The name of the Windsor connector returning the row |
| `date` | Date | `DATE` | Date. |
| `day_of_month` | Day of month | `TEXT` | Day of the month |
| `month` | Month | `TEXT` | Number of the month |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `source` | Source | `TEXT` | The name of the Windsor connector returning the row |
| `today` | Today | `DATE` | Today's date |
| `week` | Week | `TEXT` | Week (Sun-Sat). |
| `week_day` | Day of week and day number | `TEXT` | Weekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday. |
| `week_day_iso` | Day of week and day number, ISO | `TEXT` | Weekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7 |
| `week_iso` | Week ISO | `TEXT` | Week, ISO format (Mon-Sun). |
| `year` | Year | `TEXT` | Year |
| `year_month` | Yearmonth | `TEXT` | Year and month, e.g. 2024\|3 |
| `year_month_name` | Year month name | `TEXT` | Year and month with the month name written out, e.g. "Jan 2025". |
| `year_of_week` | Year of week | `TEXT` | The year that contains first day of the week (Sun-Sat). |
| `year_of_week_iso` | Year of week, ISO | `TEXT` | The year that contains first day of the ISO week (Mon-Sun). |
| `year_week` | Year week | `TEXT` | Year and week for US weeks (Sun-Sat), e.g. 2024\|15 |
| `year_week_iso` | Year week ISO | `TEXT` | Year and week for ISO weeks (Mon-Sun), e.g. 2024\|20 |
