For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Update customer profile and budget settings. Customers are created automatically from usage; use this endpoint to configure budgets or update profile fields after creation.
Path parameters
customer_identifierstringRequired
Your unique identifier for this customer.
Headers
AuthorizationstringRequired
Bearer token. Use Bearer YOUR_API_KEY.
Query parameters
environmentenumOptional
Optional environment filter. If omitted, the backend uses the environment implied by your auth context when applicable.
Allowed values:
Request
This endpoint expects an object.
emailstring or nullOptional
Customer email address.
namestring or nullOptional
Customer display name.
metadataobjectOptional
Custom key-value metadata.
period_budgetdouble or nullOptional
Spending budget per period in USD.
budget_durationenumOptional
Budget renewal period.
Allowed values:
total_budgetdouble or nullOptional
Total lifetime spending budget in USD.
period_startdatetimeOptional
Optional custom budget period start.
period_enddatetime or nullOptional
Optional custom budget period end.
markup_percentagedoubleOptional
Markup percentage applied to usage reports for this customer.
Response
Updated customer details.
idstring
Customer identifier used by the detail serializer.