Get Team Member Usage
Changed onGet 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
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Range start (ISO date or datetime, UTC); ignored when full_history=true
Range end (ISO date or datetime, UTC); defaults to now
If true, include all requests ever billed to the team; ignores start_date
Response
Successful Response
Changes
- info
endpoint added
- info