# Refresh statistics (/th/growsocmed/docs/api-reference/insights/sync-insights)

Read the latest statistics from the platforms (once every 5 minutes); ?days=N also reads again the posts published in the last N days (up to 90)

POST /insights/sync

```json
{
  "tags": [
    "Insights"
  ],
  "summary": "Refresh statistics",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 365
      },
      "required": false,
      "name": "days",
      "in": "query"
    }
  ],
  "requestBody": {
    "required": false,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "account_id": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "queued": {
                "type": "number"
              }
            },
            "required": [
              "queued"
            ]
          }
        }
      }
    }
  },
  "operationId": "sync-insights",
  "description": "Read the latest statistics from the platforms (once every 5 minutes); ?days=N also reads again the posts published in the last N days (up to 90)"
}
```