Amnic · JSON Structure

Amnic Api Filter Structure

A filter object specifying a dimension and its accepted values for cost data queries.

Type: object Properties: 2 Required: 2
Cloud Cost ObservabilityFinOpsCloud Cost ManagementCost OptimizationKubernetesAzureGoogle Cloud

Filter is a JSON Structure definition published by Amnic, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

filter_by values

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amnic/refs/heads/main/json-structure/amnic-api-filter-structure.json",
  "name": "Filter",
  "description": "A filter object specifying a dimension and its accepted values for cost data queries.",
  "type": "object",
  "properties": {
    "filter_by": {
      "type": "string",
      "description": "The dimension to filter by (e.g., service, region, account, team).",
      "example": "service"
    },
    "values": {
      "type": "array",
      "description": "The list of values to include for the specified filter dimension.",
      "items": {
        "type": "string"
      },
      "example": [
        "EC2",
        "S3"
      ]
    }
  },
  "required": [
    "filter_by",
    "values"
  ]
}