Get a user
Returns the user’s editable profile and current budget usage.
Authentication
AuthorizationBearer
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
OR
AuthorizationBearer
Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.
Path parameters
customer_identifier
Your unique identifier for this user.
Query parameters
environment
Optional environment filter. If omitted, the backend uses the environment implied by your auth context when applicable.
Allowed values:
Response
User details.
id
User identifier.
name
User display name.
email
User email address.
customer_identifier
Your unique identifier for the user.
environment
User 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
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error