CAIN-42 CAIN Studio

API reference · schema

StatsResponse

6 fields · used by 1 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
total_findings requiredinteger
by_severity requiredmap of string to integer
by_class requiredmap of string to integer
by_status requiredmap of string to integer
avg_confidence requirednumber
avg_delta requirednumber

Smallest valid example

{
  "total_findings": 1,
  "by_severity": {},
  "by_class": {},
  "by_status": {},
  "avg_confidence": 1.0,
  "avg_delta": 1.0
}

Used by 1 operation

GET/fabric/drift/statsStats

JSON Schema

Show the raw definition
{
  "properties": {
    "total_findings": {
      "type": "integer",
      "title": "Total Findings"
    },
    "by_severity": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "By Severity"
    },
    "by_class": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "By Class"
    },
    "by_status": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "By Status"
    },
    "avg_confidence": {
      "type": "number",
      "title": "Avg Confidence"
    },
    "avg_delta": {
      "type": "number",
      "title": "Avg Delta"
    }
  },
  "type": "object",
  "required": [
    "total_findings",
    "by_severity",
    "by_class",
    "by_status",
    "avg_confidence",
    "avg_delta"
  ],
  "title": "StatsResponse"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem