Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    WouldRefuseSummary

    Fields

    The ai_report.distribution_would_refuse audit rows of the last 30 days.

    6 fields
    by_channel
    array of WouldRefuseChannel or null
    decisions
    integer or null
    measured · required
    boolean
    runs
    integer or null
    since
    string (date-time) or null
    window_days
    integer
    Raw schema (JSON)
    {
      "description": "The ``ai_report.distribution_would_refuse`` audit rows of the last 30 days.\n\nAbsence is not health: ``measured`` is False when the audit read failed or\ntimed out, and then every number below is None (never 0).",
      "properties": {
        "by_channel": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/components/schemas/WouldRefuseChannel"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "By Channel"
        },
        "decisions": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Decisions"
        },
        "measured": {
          "title": "Measured",
          "type": "boolean"
        },
        "runs": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Runs"
        },
        "since": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Since"
        },
        "window_days": {
          "default": 30,
          "title": "Window Days",
          "type": "integer"
        }
      },
      "required": [
        "measured"
      ],
      "title": "WouldRefuseSummary",
      "type": "object"
    }

    2 endpoints send or return this schema, on its own or inside another schema.