billing

Get a project spend cap

Changed on

Return the project spend cap. Unset when no row exists. Any member may read.

Args: team_id: Billed team. project_id: Project on that team. auth: Caller.

Returns: Configured cap, or configured=false.

Raises: HTTPException: 404 when the project is missing, deleted, or not on the team.

get/v1/billing/team/{team_id}/projects/{project_id}/spend-limits

Request

Path parameters

team_idstring required
project_idstring required

Response

Successful Response

configuredboolean required
scope'team' | 'project' required
team_idstring required
project_idstring nullable
window_kind'daily' | 'monthly' nullable
cap_usdstring nullable
set_bystring nullable
updated_atstring date-time nullable

Changes