Get workspace quota by user
GET
CoderSessionTokenheader
Coder-Session-Token<token>user*stringUser ID, name, or me
organization*stringOrganization ID
Format
uuidOK
application/json- response
budget?integercredits_consumed?integerThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/organizations/{organization}/members/{user}/workspace-quota" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "budget": 0, "credits_consumed": 0}