Retrieve a customer
Retrieve a customer by customer_identifier. This endpoint returns the editable customer profile and current budget usage fields.
Path parameters
customer_identifier
Your unique identifier for this customer.
Headers
Authorization
Bearer token. Use Bearer YOUR_API_KEY.
Query parameters
environment
Optional environment filter. If omitted, the backend uses the environment implied by your auth context when applicable.
Allowed values:
Response
Customer details.
id
Customer identifier used by the detail serializer.
name
Customer display name.
email
Customer email address.
customer_identifier
Your unique identifier for the customer.
environment
Customer environment.
Allowed values:
total_budget
Lifetime spending budget in USD.
period_budget
Current period budget in USD.
organization_name
Owning organization name.
total_period_usage
Usage in the current budget period in USD.
period_start
Start of the current budget period.
period_end
End of the current budget period.
budget_duration
Budget renewal period.
Allowed values:
updated_at
Last update timestamp.
Errors
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error