Skip to main content
POST
/
api
/
v1
/
config
/
consumption-config
{
  "consumption_config": {
    "created_at": "2023-11-07T05:31:56Z",
    "partitions": [
      {
        "filters": [
          {
            "operator": "IN",
            "conditions": [
              {
                "dataset_slug": "<string>",
                "log_filter": {
                  "query": "<string>"
                }
              }
            ]
          }
        ],
        "name": "<string>",
        "partitions": "<array>",
        "slug": "<string>"
      }
    ],
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
consumption_config
object

The ConsumptionConfig to create.

dry_run
boolean

If true, validates the specified configuration without creating the ConsumptionConfig. If the specified configuration is valid, the endpoint returns a partial response without the ConsumptionConfig. If the specified configuration is invalid, the endpoint returns an error.

Response

A successful response containing the created ConsumptionConfig.

consumption_config
object