CloudTruth · Schema

LogDestinations

Per-org log destination CRUD. Per-type config (api_key, token, collector_url, etc.) is submitted inside ``configuration``. Sensitive keys are encrypted at rest via ``LogDestination.SENSITIVE_CONFIG_KEYS`` and masked on read by ``to_representation``.

CompanyConfigManagementDevOpsCloudSecurity

Properties

Name Type Description
url string
id string Primary key for log destination.
name string Customer-chosen name for this destination.
type object The sink type (Datadog, etc.). * `datadog` - Datadog Logs * `splunk_hec` - Splunk HEC * `sumo_logic` - Sumo Logic HTTP Source * `generic_https` - Generic HTTPS Webhook
enabled boolean
configuration object
last_attempt_at string
last_success_at string
last_error object
consecutive_failures integer
total_records_delivered integer
gap_skipped_count integer
cursor_lag_seconds integer Age (in seconds) of the oldest audit record waiting to be delivered. 0 means caught up — no pending records. Growing values indicate the drain is falling behind.
View JSON Schema on GitHub

JSON Schema

cloudtruth-log-destinations-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudtruth/json-schema/cloudtruth-log-destinations-schema.json",
  "title": "LogDestinations",
  "description": "Per-org log destination CRUD.\n\nPer-type config (api_key, token, collector_url, etc.) is submitted\ninside ``configuration``. Sensitive keys are encrypted at rest via\n``LogDestination.SENSITIVE_CONFIG_KEYS`` and masked on read by\n``to_representation``.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudtruth-log-destinations-api-openapi.yml#/components/schemas/LogDestinations",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true,
      "description": "Primary key for log destination."
    },
    "name": {
      "type": "string",
      "description": "Customer-chosen name for this destination."
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/$defs/LogDestinationsTypeEnum"
        }
      ],
      "description": "The sink type (Datadog, etc.).\n\n* `datadog` - Datadog Logs\n* `splunk_hec` - Splunk HEC\n* `sumo_logic` - Sumo Logic HTTP Source\n* `generic_https` - Generic HTTPS Webhook"
    },
    "enabled": {
      "type": "boolean",
      "default": true
    },
    "configuration": {},
    "last_attempt_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "last_success_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "last_error": {
      "readOnly": true
    },
    "consecutive_failures": {
      "type": "integer",
      "readOnly": true
    },
    "total_records_delivered": {
      "type": "integer",
      "readOnly": true
    },
    "gap_skipped_count": {
      "type": "integer",
      "readOnly": true
    },
    "cursor_lag_seconds": {
      "type": "integer",
      "description": "Age (in seconds) of the oldest audit record waiting to be delivered. 0 means caught up — no pending records. Growing values indicate the drain is falling behind.",
      "readOnly": true
    }
  },
  "required": [
    "configuration",
    "consecutive_failures",
    "cursor_lag_seconds",
    "gap_skipped_count",
    "id",
    "last_attempt_at",
    "last_error",
    "last_success_at",
    "name",
    "total_records_delivered",
    "type",
    "url"
  ],
  "$defs": {
    "LogDestinationsTypeEnum": {
      "enum": [
        "datadog",
        "splunk_hec",
        "sumo_logic",
        "generic_https"
      ],
      "type": "string",
      "description": "* `datadog` - Datadog Logs\n* `splunk_hec` - Splunk HEC\n* `sumo_logic` - Sumo Logic HTTP Source\n* `generic_https` - Generic HTTPS Webhook"
    }
  }
}

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/cloudtruth-log-destinations"
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.