get_customer_detail
Retrieve a customer's profile and budget details using their unique identifier, including spending, budget limits, access rights, and environment.
Instructions
Retrieve detailed information about a specific customer including budget usage.
Returns customer profile and budget data:
IDENTIFICATION:
id: Internal customer ID
customer_identifier: Your unique identifier for this customer
email: Customer email (if provided)
name: Customer name (if provided)
environment: Environment (prod/test)
organization_name: Owning organization name
BUDGET & SPENDING:
period_budget: Budget limit for current period (USD, null if unlimited)
budget_duration: Budget period type (e.g., "monthly")
total_period_usage: Spending in current period (USD)
period_start: Current budget period start
period_end: Current budget period end (null if ongoing)
total_budget: Lifetime budget limit (null if unlimited)
OTHER:
has_write_access: Whether customer has write access
updated_at: Last update timestamp
NOTE: For usage metrics (requests, tokens, cost, latency), use get_spans_summary with a customer_identifier filter instead.
Use list_customers first to find customer_identifier, then use this for full details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | No | Environment: 'prod' or 'test' (default: 'prod') | |
| customer_identifier | Yes | Unique identifier of the customer (from list_customers) |