---
title: "Get the team metrics"
method: GET
path: "/insights/teams/metrics"
tags: ["Insights"]
---

# Get the team metrics

`GET /insights/teams/metrics`

## Request

- Base URL: `https://socialbu.com/api/v1`
- URL: `https://socialbu.com/api/v1/insights/teams/metrics`
- Auth: HTTP bearer

Returns a team's members performance metrics

## Query parameters

- `start` string, date, required
- `end` string, date, required
- `metrics` union, required
  - string
  - string[]
- `accounts` integer[]
- `team` integer, required

## Response `200`

successful operation

- object
  - `data` object[]
    - `member_id` integer: Unique identifier of the team member.
    - `member_name` string: Full name of the team member.
    - `member_photo` string: URL to the profile photo of the team member.
    - `total_engagements` integer: Total number of interactions (likes, comments.) received across the member's posts.
    - `scheduled_posts` object[]: Array scheduled posts.
      - `date` string, date: Date on which the posts are scheduled.
      - `count` integer: Number of posts scheduled on that date.
    - `published_posts` object[]: Array of published posts.
      - `date` string, date: Date on which the posts were published.
      - `count` integer: Number of posts published on that date.
    - `rejected_posts` object[]: Array of rejected posts.
      - `date` string, date: Date on which the posts were rejected.
      - `count` integer: Number of posts rejected on that date.

## Other responses

- `404`: Resource not found

---

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