LlmQuotaRead
Fields
12 fields
at_cap_action- string
created_at· required- string (date-time)
enabled- boolean
hard_cap_usd- number
id· required- string (uuid)
included_usd- number
overage_rate_usd- number
period_type- string
project_id· required- string (uuid)
soft_warn_threshold_pct- integer
updated_at· required- string (date-time)
updated_by_user_id- string (uuid) or null
Raw schema (JSON)
{
"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"
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"hard_cap_usd": {
"default": 0,
"minimum": 0,
"title": "Hard Cap Usd",
"type": "number"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"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"
},
"project_id": {
"format": "uuid",
"title": "Project Id",
"type": "string"
},
"soft_warn_threshold_pct": {
"default": 100,
"maximum": 100,
"minimum": 1,
"title": "Soft Warn Threshold Pct",
"type": "integer"
},
"updated_at": {
"format": "date-time",
"title": "Updated At",
"type": "string"
},
"updated_by_user_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated By User Id"
}
},
"required": [
"id",
"project_id",
"created_at",
"updated_at"
],
"title": "LlmQuotaRead",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/projects/{project_id}/llm-quota— Get Project QuotaPUT/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