---
title: "Get Team Member Usage"
method: GET
path: "/v1/billing/team/{team_id}/usage"
tags: ["billing"]
---

# Get Team Member Usage

`GET /v1/billing/team/{team_id}/usage`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/billing/team/{team_id}/usage`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/billing/team/:team_id/usage/get.ts> (a function with typed inputs; its response is checked against the schema)

Get per-member usage breakdown for a date range.

Requires ``MANAGE_BILLING`` — owner, admin, and billing roles all qualify.
Usage is scoped to requests billed to this team. Defaults to the current
UTC month when no range is given.

Returns per-member usage including:
- User email and name
- Total credits used in the range
- Request count in the range

Args:
    team_id: Team UUID
    start_date: Optional ISO range start; defaults to the current UTC month
    end_date: Optional ISO range end; defaults to now
    full_history: When true, include every request ever billed to the team
    auth: Authenticated user context

Returns:
    Team usage breakdown by member

## Path parameters

- `team_id` string, required

## Query parameters

- `start_date` string, nullable: Range start (ISO date or datetime, UTC); ignored when full_history=true
- `end_date` string, nullable: Range end (ISO date or datetime, UTC); defaults to now
- `full_history` boolean: If true, include all requests ever billed to the team; ignores start_date

## Response `200`

Successful Response

- TeamUsageResponse: Response model for team member usage breakdown.
  - `team_id` string, required
  - `team_name` string, required
  - `total_usage` number, required
  - `members` TeamMemberUsage[], required
    - `user_id` string, required
    - `email` string, required
    - `full_name` string, required
    - `total_credits` number, required
    - `request_count` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/billing/team/:team_id/usage/get.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
