Chronosphere · Schema
ConfigV1UpdateLogRetentionConfigBody
ObservabilityAIOpsMonitoringMetricsLoggingDistributed TracingTelemetryOpenTelemetryPrometheusAlertingSLOInfrastructure as CodeMCPAgent ReadyA2A
Properties
| Name | Type | Description |
|---|---|---|
| create_if_missing | boolean | If `true`, the LogRetentionConfig will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the LogRetentionConfig does not already exist. |
| dry_run | boolean | If `true`, validates the specified configuration without creating or updating the LogRetentionConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogRe |
| log_retention_config | object | The LogRetentionConfig to update. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/chronosphere/main/json-schema/chronosphere-config-v1-update-log-retention-config-body-schema.json",
"title": "ConfigV1UpdateLogRetentionConfigBody",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/chronosphere-logretentionconfig-api-openapi.yml#/components/schemas/ConfigV1UpdateLogRetentionConfigBody",
"properties": {
"create_if_missing": {
"description": "If `true`, the LogRetentionConfig will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the LogRetentionConfig does not already exist.",
"type": "boolean"
},
"dry_run": {
"description": "If `true`, validates the specified configuration without creating or updating the LogRetentionConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogRetentionConfig. If the specified configuration is invalid, the endpoint returns an error.",
"type": "boolean"
},
"log_retention_config": {
"allOf": [
{
"$ref": "#/$defs/configv1LogRetentionConfig"
}
],
"description": "The LogRetentionConfig to update."
}
},
"type": "object",
"$defs": {
"configv1LogRetentionConfig": {
"description": "LogRetentionConfig configures long-term retention policies for log data.\nEach config specifies a filter to match logs and retention parameters for\ncold storage (Iceberg). Multiple configs per tenant are supported; when\nconfigs overlap, the longest retention wins.",
"properties": {
"created_at": {
"description": "Timestamp of when the LogRetentionConfig was created. Cannot be set by clients.",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"filter": {
"description": "Log query filter. Only matching logs will have the retention config applied.",
"type": "string"
},
"mode": {
"allOf": [
{
"$ref": "#/$defs/configv1LogRetentionConfigMode"
}
],
"description": "Specifies whether the retention config is enabled or disabled."
},
"name": {
"description": "The name of the LogRetentionConfig. You can modify this value after the LogRetentionConfig is created.",
"type": "string"
},
"retention_days": {
"description": "Number of days to retain matching logs in long-term (Iceberg) storage\nafter they are exported. Once this period elapses, data is expired from\nIceberg by the IcebergDeleter.",
"format": "int64",
"type": "integer"
},
"slug": {
"description": "The unique identifier of the LogRetentionConfig. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the LogRetentionConfig is created.",
"type": "string"
},
"updated_at": {
"description": "Timestamp of when the LogRetentionConfig was last updated. Cannot be set by clients.",
"format": "date-time",
"readOnly": true,
"type": "string"
}
},
"required": [
"filter",
"mode",
"name",
"retention_days",
"slug"
],
"type": "object"
},
"configv1LogRetentionConfigMode": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
}
}
}
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/chronosphere-config-v1-update-log-retention-config-body"
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.