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

# Get account analytics

Gets one account's analytics for a period. Returns 422 if the account has no analytics.

**workspace** `string` *required*

The workspace UUID. Get it from [List workspaces](https://support.paddypost.com/api-reference/workspaces/list-workspaces.md).

**account** `string` *required*

The account UUID.

**period** `string` (default: this\_month)

`this_week`, `last_week`, `this_month`, `last_month`, `last_3_months` or `this_year`.

**date\_from** `string`

Start date, `Y-m-d`. Use with `date_to` instead of `period`. Up to 366 days.

**date\_to** `string`

End date, `Y-m-d`.

**type** `string`

The tab to get, such as `overview`, `engagement` or `content`. Each network has different tabs.

**page** `integer`

Page number, for the `content` tab.

**per\_page** `integer`

Items per page, up to 50.

**sort\_by** `string`

Field to sort by.

**sort\_dir** `string`

`asc` or `desc`.


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