LlmQuotaWrite
Fields
Admin-editable billing config for a project.
7 fields
at_cap_action- string
enabled- boolean
hard_cap_usd- number
included_usd- number
overage_rate_usd- number
period_type- string
soft_warn_threshold_pct- integer
Raw schema (JSON)
{
"description": "Admin-editable billing config for a project.",
"properties": {
"at_cap_action": {
"default": "AUTO_DOWNGRADE_TO_ML",
"pattern": "^(SOFT_WARN|AUTO_DOWNGRADE_TO_ML|AUTO_DOWNGRADE_TO_RULES|HARD_BLOCK)$",
"title": "At Cap Action",
"type": "string"
},
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"hard_cap_usd": {
"default": 0,
"minimum": 0,
"title": "Hard Cap Usd",
"type": "number"
},
"included_usd": {
"default": 0,
"minimum": 0,
"title": "Included Usd",
"type": "number"
},
"overage_rate_usd": {
"default": 1,
"minimum": 0,
"title": "Overage Rate Usd",
"type": "number"
},
"period_type": {
"default": "MONTHLY",
"pattern": "^(MONTHLY)$",
"title": "Period Type",
"type": "string"
},
"soft_warn_threshold_pct": {
"default": 100,
"maximum": 100,
"minimum": 1,
"title": "Soft Warn Threshold Pct",
"type": "integer"
}
},
"title": "LlmQuotaWrite",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
PUT/api/v1/projects/{project_id}/llm-quota— Upsert Project Quota
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON