---
title: "When the figures were last refreshed"
description: "synced_at is when the 5-minute refresh last wrote the scope's current-day figures — not an answer's computed_at, which is the OLDEST figure in its range."
canonical_url: "https://twominutebilling.com/help/developers/api-reference/analytics/when-the-figures-were-last-refreshed"
---
# When the figures were last refreshed

> synced_at is when the 5-minute refresh last wrote the scope's current-day figures — not an answer's computed_at, which is the OLDEST figure in its range.

<api-operation method="GET" path="/v1/analytics/sync">
<template v-slot:docs="">

`synced_at` is when the 5-minute refresh last wrote the scope's current-day figures — not an answer's `computed_at`, which is the OLDEST figure in its range. `business` narrows it; omitted, it is the organization's least-recently refreshed business. Null until anything has been written. `refresh_seconds` is the refresh interval.

## Query parameters

<table>
<thead>
  <tr>
    <th>
      Parameter
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Required
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        business
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      Limit the answer to one business (biz_…).
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        livemode
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      Limit the answer to <code>
        live
      </code>
      
       or <code>
        test
      </code>
      
       data, or <code>
        all
      </code>
      
      .
    </td>
  </tr>
</tbody>
</table>

## Response

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        object
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      The object type; always <code>
        analytics_sync
      </code>
      
      . One of <code>
        analytics_sync
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        business
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      The business id the answer is for.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        synced_at
      </code>
    </td>
    
    <td>
      <code>
        string · ISO-8601
      </code>
    </td>
    
    <td>
      When the figures were last refreshed. Null if they never were.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        refresh_seconds
      </code>
    </td>
    
    <td>
      <code>
        integer
      </code>
    </td>
    
    <td>
      How often the figures refresh, in seconds.
    </td>
  </tr>
</tbody>
</table>

## Status codes

<table>
<thead>
  <tr>
    <th>
      Status
    </th>
    
    <th>
      Meaning
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        200
      </code>
    </td>
    
    <td>
      The last refresh instant
    </td>
  </tr>
</tbody>
</table>
</template>

<template v-slot:request="">

```bash [Request]
curl "$TMBILLING_URL/v1/analytics/sync" \
  -H "Authorization: Bearer $TMBILLING_API_KEY"
```

</template>

<template v-slot:response="">

```json [200 OK]
{
  "object": "analytics_sync",
  "business": "biz_XXXXXXXXXXXX01",
  "synced_at": "2026-03-14T09:30:00Z",
  "refresh_seconds": 300
}
```

</template>
</api-operation>


## Sitemap

See the full [sitemap](https://twominutebilling.com/sitemap.md) for all pages.
