---
title: "An account's overview for a period"
method: GET
path: "/accounts/{id}/metrics"
---

# An account's overview for a period

`GET /accounts/{id}/metrics`

## Request

- Base URL: `https://govir.app/api/v1`
- URL: `https://govir.app/api/v1/accounts/{id}/metrics`
- Auth: HTTP bearer

Scope: `read`.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `from` string, date: YYYY-MM-DD
- `to` string, date: YYYY-MM-DD

## Response `200`

OK

- AccountMetrics
  - `account_id` string, uuid
  - `range` object
    - `from` string, date: YYYY-MM-DD
    - `to` string, date: YYYY-MM-DD
  - `previous_range` object, nullable
    - `from` string, date: YYYY-MM-DD
    - `to` string, date: YYYY-MM-DD
  - `timezone` string
  - `totals` object
  - `previous_totals` object, nullable
  - `series` object
  - `synced_at` string, date-time, nullable

## Other responses

- `400`: The request isn't valid
- `401`: No key, a wrong key, or a revoked one
- `404`: Not found in your workspace
- `429`: Too many requests; see Retry-After

---

[API](https://skmtc.dev/govir/apis/govir-api.md) · [All operations](https://skmtc.dev/govir/apis/govir-api/llms.txt) · [OpenAPI document](https://skmtc.dev/govir/apis/govir-api/revisions/2806c124851e?raw)
