Finout · Schema
Finout Cost Query
A cost query request used to analyze cloud spend using user-defined Finout Views, supporting date ranges and filters for granular cost insights.
BudgetsCostsFinOps
Properties
| Name | Type | Description |
|---|---|---|
| viewId | string | The ID of the Finout View to query. |
| date | object | Optional date range for the query. Must either be fully specified or omitted entirely. |
| filter | object | A filter object used to narrow query results, supporting logical AND/OR grouping and various operators. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/finout/blob/main/json-schema/cost-query.json",
"title": "Finout Cost Query",
"description": "A cost query request used to analyze cloud spend using user-defined Finout Views, supporting date ranges and filters for granular cost insights.",
"type": "object",
"properties": {
"viewId": {
"type": "string",
"description": "The ID of the Finout View to query."
},
"date": {
"type": "object",
"description": "Optional date range for the query. Must either be fully specified or omitted entirely.",
"properties": {
"unixTimeMillSecondsStart": {
"type": "integer",
"description": "Start of the date range in Unix milliseconds (UTC)."
},
"unixTimeMillSecondsEnd": {
"type": "integer",
"description": "End of the date range in Unix milliseconds (UTC)."
}
}
},
"filter": {
"type": "object",
"description": "A filter object used to narrow query results, supporting logical AND/OR grouping and various operators.",
"properties": {
"costCenter": {
"type": "string",
"description": "The cost center to filter on (e.g., AWS, GCP, Azure)."
},
"key": {
"type": "string",
"description": "The MegaBill key to filter by."
},
"displayName": {
"type": "string",
"description": "The display name for the filter field."
},
"operator": {
"type": "string",
"description": "The filter operator.",
"enum": ["oneOf", "notOneOf", "is", "isNot", "contains", "notContains", "exists", "notExists"]
},
"value": {
"description": "The value or values to match against.",
"oneOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
]
}
}
}
},
"required": ["viewId"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cost-query"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.