---
title: "Live metrics Groups"
method: POST
path: "/v1/live/live_group"
tags: ["Live Metrics"]
---

# Live metrics Groups

`POST /v1/live/live_group`

## Request

- Base URL: `https://api.bunny.net/database`
- URL: `https://api.bunny.net/database/v1/live/live_group`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-database-backend-api/docs/v1/live/live_group/post.ts> (a function with typed inputs; its response is checked against the schema)

Get the live metrics for groups, you need to pass the database ids with the header: `group-ids`.

## Request body

- LiveMetricsForGroupPayload
  - `group_ids` DatabaseGroupId[], required

## Response `200`

- LiveMetricsForGroupResponse
  - `live_metrics` object, required

## Other responses

- `401`: A default error response for most API errors.
- `500`: A default error response for most API errors.

---

[API](https://skmtc.dev/bunny/apis/bunny-database-backend-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-database-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-database-backend-api/revisions/f3bb69bad6b6?raw)
