IBM API Connect · Schema

SettingsBody

OpenSearch settings request body

API GatewayAPI ManagementDeveloper PortalDeveloper ToolsIBM

Properties

Name Type Description
rollover object
retention object
summary_retention object
audit_retention object
heartbeat_retention object
metrics_retention object
View JSON Schema on GitHub

JSON Schema

ibm-api-connect-settings-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-settings-body-schema.json",
  "title": "SettingsBody",
  "description": "OpenSearch settings request body",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-analytics-api-openapi.yml#/components/schemas/SettingsBody",
  "type": "object",
  "properties": {
    "rollover": {
      "type": "object",
      "required": [
        "min_doc_count",
        "min_index_age"
      ],
      "properties": {
        "min_doc_count": {
          "description": "The minimum number of documents required to roll over the event index.",
          "type": "integer",
          "minimum": 1,
          "x-example": 25000000
        },
        "min_index_age": {
          "description": "The minimum age required to roll over the event index. Index age is the time between its creation and the present. Use d for day and h for hour, e.g. 30d or 96h.",
          "type": "string",
          "x-example": "1d"
        }
      }
    },
    "retention": {
      "type": "object",
      "required": [
        "min_index_age"
      ],
      "properties": {
        "min_index_age": {
          "description": "The minimum age required to delete the event index. Index age is the time between its creation and the present. Use d for day and h for hour, e.g. 30d or 96h.",
          "type": "string",
          "x-example": "90d"
        }
      }
    },
    "summary_retention": {
      "type": "object",
      "required": [
        "min_index_age"
      ],
      "properties": {
        "min_index_age": {
          "description": "The minimum age required to delete the summary index. Index age is the time between its creation and the present. Use d for day and h for hour, e.g. 366d or 8000h.",
          "type": "string",
          "x-example": "366d"
        }
      }
    },
    "audit_retention": {
      "type": "object",
      "required": [
        "min_index_age"
      ],
      "properties": {
        "min_index_age": {
          "description": "The minimum age required to delete the audit index. Index age is the time between its creation and the present. Use d for day and h for hour, e.g. 30d or 800h.",
          "type": "string",
          "x-example": "30d"
        }
      }
    },
    "heartbeat_retention": {
      "type": "object",
      "required": [
        "min_index_age"
      ],
      "properties": {
        "min_index_age": {
          "description": "The minimum age required to delete the heartbeat index. Index age is the time between its creation and the present. Use d for day and h for hour, e.g. 30d or 800h.",
          "type": "string",
          "x-example": "30d"
        }
      }
    },
    "metrics_retention": {
      "type": "object",
      "required": [
        "min_index_age"
      ],
      "properties": {
        "min_index_age": {
          "description": "The minimum age required to delete the metrics index. Index age is the time between its creation and the present. Use d for day and h for hour, e.g. 30d or 800h.",
          "type": "string",
          "x-example": "30d"
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ibm-api-connect-settings-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.