Paid Cloud FinOps API via x402. Unpaid tool calls return 402.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Read brainiac-billing-v1 CSV or JSON charges. Required columns are date, service, cost, and currency. Native cloud-provider exports are rejected. Price $0.03 USDC. POST /api/v1/cloud-finops/billing-csv-parse. An unpaid call returns the x402 payment terms and does not run.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http cloud-finops https://www.brainiac.software/mcp/cloud-finops
Read brainiac-billing-v1 CSV or JSON charges. Required columns are date, service, cost, and currency. Native cloud-provider exports are rejected. Price $0.03 USDC. POST /api/v1/cloud-finops/billing-csv-parse. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| rows | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"minLength": 1
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/csv",
"text/plain"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"service",
"cost",
"currency"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"maxItems": 20
},
"region": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"account": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"service": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"usageUnit": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"usageQuantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
}
},
"maxItems": 5000
}
}
}Subtract the supplied budget from the supplied charges inside the period. Missing days stay uncovered and are not filled with zero from another currency. Price $0.03 USDC. POST /api/v1/cloud-finops/budget-variance-analyze. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| rows | array | |
| budget* | object |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"budget"
],
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"minLength": 1
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/csv",
"text/plain"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"service",
"cost",
"currency"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"maxItems": 20
},
"region": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"account": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"service": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"usageUnit": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"usageQuantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
}
},
"maxItems": 5000
},
"budget": {
"type": "object",
"required": [
"amount",
"currency",
"periodStart",
"periodEnd"
],
"properties": {
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"periodEnd": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"periodStart": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
}
}
}
}
}Multiply each supplied hourly price by the supplied hours. Options in different currencies are not converted, and no provider list price is added. Price $0.03 USDC. POST /api/v1/cloud-finops/compute-cost-compare. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| options* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"options"
],
"properties": {
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"hourlyPrice",
"hours",
"currency"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"hours": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"hourlyPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}Group supplied charges by one tag key. Charges without that tag remain unallocated. Price $0.04 USDC. POST /api/v1/cloud-finops/cost-allocation. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| rows | array | |
| tagKey* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"tagKey"
],
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"minLength": 1
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/csv",
"text/plain"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"service",
"cost",
"currency"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"maxItems": 20
},
"region": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"account": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"service": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"usageUnit": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"usageQuantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
}
},
"maxItems": 5000
},
"tagKey": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
}
}Score daily totals with a sample z-score. A day is flagged when the absolute z-score is at least 3 and at least 8 days were supplied. Fewer days are not scored. Price $0.04 USDC. POST /api/v1/cloud-finops/cost-anomaly-detect. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| rows | array | |
| currency | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"minLength": 1
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/csv",
"text/plain"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"service",
"cost",
"currency"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"maxItems": 20
},
"region": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"account": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"service": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"usageUnit": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"usageQuantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
}
},
"maxItems": 5000
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
}
}
}Combine the supplied billing, usage, price, and budget checks. Recommendations repeat the evidence and the assumption. No account is connected and no resource is changed. Price $0.12 USDC. POST /api/v1/cloud-finops/cost-optimization-report. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| rows | array | |
| budget | object | |
| tagKey | string | |
| groupBy | string | |
| options | array | |
| volumes | array | |
| resources | array | |
| minimumDays | integer | |
| cpuThreshold | number |
Mark compute idle only when daysObserved meets the supplied minimum and cpuPercent is below the supplied threshold. Missing CPU is not treated as idle. Price $0.04 USDC. POST /api/v1/cloud-finops/idle-resource-detect. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| resources* | array | |
| minimumDays | integer | |
| cpuThreshold | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"resources"
],
"properties": {
"resources": {
"type": "array",
"items": {
"type": "object",
"required": [
"resourceId",
"resourceType",
"daysObserved"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"cpuPercent": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"daysObserved": {
"type": "integer",
"maximum": 3660,
"minimum": 0
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
}
},
"maxItems": 500,
"minItems": 1
},
"minimumDays": {
"type": "integer",
"maximum": 3660,
"minimum": 1
},
"cpuThreshold": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
}Fit a line through at least three supplied monthly totals, or multiply the average daily cost by the length of the next month when at least 14 days are supplied. Less history is not forecast. Price $0.05 USDC. POST /api/v1/cloud-finops/monthly-cost-forecast. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| rows | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"minLength": 1
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/csv",
"text/plain"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"service",
"cost",
"currency"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"maxItems": 20
},
"region": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"account": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"service": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"usageUnit": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"usageQuantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
}
},
"maxItems": 5000
}
}
}Sum supplied charges by service, region, account, or a tag. When groupBy is omitted, charges are grouped by service. Currencies are not converted. Price $0.03 USDC. POST /api/v1/cloud-finops/spend-breakdown. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| rows | array | |
| tagKey | string | |
| groupBy | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"minLength": 1
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/csv",
"text/plain"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"service",
"cost",
"currency"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"maxItems": 20
},
"region": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"account": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"service": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"usageUnit": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"usageQuantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
}
},
"maxItems": 5000
},
"tagKey": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"groupBy": {
"enum": [
"service",
"region",
"account"
],
"type": "string"
}
}
}Mark a volume unused only when the supplied days meet minimumDays and the volume is unattached or usedGb is 0. Attachment alone is not usage. Price $0.04 USDC. POST /api/v1/cloud-finops/unused-storage-detect. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| volumes* | array | |
| minimumDays | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"volumes"
],
"properties": {
"volumes": {
"type": "array",
"items": {
"type": "object",
"required": [
"resourceId",
"daysObserved"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"usedGb": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"attached": {
"type": "boolean"
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"storageGb": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"daysObserved": {
"type": "integer",
"maximum": 3660,
"minimum": 0
}
}
},
"maxItems": 500,
"minItems": 1
},
"minimumDays": {
"type": "integer",
"maximum": 3660,
"minimum": 1
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 19, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"minLength": 1
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/csv",
"text/plain"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"service",
"cost",
"currency"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"maxItems": 20
},
"region": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"account": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"service": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"usageUnit": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"usageQuantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
}
},
"maxItems": 5000
},
"budget": {
"type": "object",
"required": [
"amount",
"currency",
"periodStart",
"periodEnd"
],
"properties": {
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"periodEnd": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"periodStart": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
}
}
},
"tagKey": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"groupBy": {
"enum": [
"service",
"region",
"account"
],
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"hourlyPrice",
"hours",
"currency"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"hours": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"hourlyPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
}
}
},
"maxItems": 8,
"minItems": 2
},
"volumes": {
"type": "array",
"items": {
"type": "object",
"required": [
"resourceId",
"daysObserved"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"usedGb": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"attached": {
"type": "boolean"
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"storageGb": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"daysObserved": {
"type": "integer",
"maximum": 3660,
"minimum": 0
}
}
},
"maxItems": 500
},
"resources": {
"type": "array",
"items": {
"type": "object",
"required": [
"resourceId",
"resourceType",
"daysObserved"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": -1000000000000
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"cpuPercent": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"resourceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"daysObserved": {
"type": "integer",
"maximum": 3660,
"minimum": 0
},
"resourceType": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
}
},
"maxItems": 500
},
"minimumDays": {
"type": "integer",
"maximum": 3660,
"minimum": 1
},
"cpuThreshold": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
}