gridzen-ai · Schema

DecisionTrace

PII-minimized operational audit entry, suitable for a future audit store.

CompanyAIEnergyGridOptimization

Properties

Name Type Description
trace_id string
event object
decision object
risk_score integer
reason_codes array
providers_used array
identifier_types array
consent_reference_present boolean
evaluated_at string
View JSON Schema on GitHub

JSON Schema

gridzen-ai-decision-trace-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gridzen-ai/json-schema/gridzen-ai-decision-trace-schema.json",
  "title": "DecisionTrace",
  "description": "PII-minimized operational audit entry, suitable for a future audit store.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gridzen-ai-openapi.json#/components/schemas/DecisionTrace",
  "properties": {
    "trace_id": {
      "type": "string",
      "title": "Trace Id"
    },
    "event": {
      "$ref": "#/$defs/DecisionEvent"
    },
    "decision": {
      "$ref": "#/$defs/DecisionOutcome"
    },
    "risk_score": {
      "type": "integer",
      "title": "Risk Score"
    },
    "reason_codes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Reason Codes"
    },
    "providers_used": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Providers Used"
    },
    "identifier_types": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Identifier Types"
    },
    "consent_reference_present": {
      "type": "boolean",
      "title": "Consent Reference Present"
    },
    "evaluated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Evaluated At"
    }
  },
  "type": "object",
  "required": [
    "trace_id",
    "event",
    "decision",
    "risk_score",
    "reason_codes",
    "providers_used",
    "identifier_types",
    "consent_reference_present",
    "evaluated_at"
  ],
  "$defs": {
    "DecisionEvent": {
      "type": "string",
      "enum": [
        "onboarding",
        "payout",
        "account_change"
      ],
      "title": "DecisionEvent"
    },
    "DecisionOutcome": {
      "type": "string",
      "enum": [
        "allow",
        "review",
        "decline"
      ],
      "title": "DecisionOutcome"
    }
  }
}

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/gridzen-ai-decision-trace"
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.