model management

Get Access Group Budget

Get the shared budget of an access group, and the spend drawn against it.

Example:

curl -X GET 'http://localhost:4000/access_group/production-models/budget' \
  -H 'Authorization: Bearer sk-1234'

Parameters:

  • access_group: str - The access group name (URL path parameter)

Returns:

  • AccessGroupBudgetResponse; budget is null when the group has no budget set

Raises:

  • HTTPException 404: If access group not found
get/access_group/{access_group}/budget

Path parameters

access_groupstring required

Response

Successful Response

access_groupstring required
spendnumber required

Changes