Get group AI budget
GET
CoderSessionTokenheader
Coder-Session-Token<token>group*stringGroup ID
Format
uuidOK
application/json- response
created_at?stringFormat
date-timegroup_id?stringFormat
uuidspend_limit_micros?integerupdated_at?stringFormat
date-timeThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/groups/{group}/ai/budget" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "created_at": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "spend_limit_micros": 0, "updated_at": "2019-08-24T14:15:22Z"}