looot · Schema

AuditPage

MarketplaceArtificial IntelligenceDataIntegration

Properties

Name Type Description
records array
nextCursor stringnull
chain object Self-consistency of the currently stored contiguous chain only; not proof against suffix truncation or complete-history rewrite.
View JSON Schema on GitHub

JSON Schema

looot-audit-page-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/looot/json-schema/looot-audit-page-schema.json",
  "title": "AuditPage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/looot-audit-records-api-openapi.yml#/components/schemas/AuditPage",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "records",
    "nextCursor",
    "chain"
  ],
  "properties": {
    "records": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "$ref": "#/$defs/AuditRecord"
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "maxLength": 2048
    },
    "chain": {
      "type": "object",
      "description": "Self-consistency of the currently stored contiguous chain only; not proof against suffix truncation or complete-history rewrite.",
      "additionalProperties": false,
      "required": [
        "structurallyConsistent",
        "terminalHash"
      ],
      "properties": {
        "structurallyConsistent": {
          "const": true
        },
        "terminalHash": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^sha256:[a-f0-9]{64}$"
        }
      }
    }
  },
  "$defs": {
    "AuditRecord": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "auditRecordId",
        "organizationId",
        "sequence",
        "actor",
        "action",
        "resourceType",
        "resourceId",
        "outcome",
        "payloadDigest",
        "previousRecordHash",
        "recordHash",
        "occurredAt"
      ],
      "properties": {
        "auditRecordId": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_-]{2,127}$"
        },
        "organizationId": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_-]{2,127}$"
        },
        "sequence": {
          "type": "integer",
          "minimum": 1,
          "maximum": 9007199254740991
        },
        "actor": {
          "oneOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "principalId"
              ],
              "properties": {
                "kind": {
                  "const": "principal"
                },
                "principalId": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_-]{2,127}$"
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "principalId",
                "sessionId"
              ],
              "properties": {
                "kind": {
                  "const": "machine_session"
                },
                "principalId": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_-]{2,127}$"
                },
                "sessionId": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_-]{2,127}$"
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "service"
              ],
              "properties": {
                "kind": {
                  "const": "system"
                },
                "service": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_-]{1,63}$"
                }
              }
            }
          ]
        },
        "action": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_.:-]{2,127}$"
        },
        "resourceType": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_-]{1,63}$"
        },
        "resourceId": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_-]{2,127}$"
        },
        "outcome": {
          "enum": [
            "succeeded",
            "denied",
            "failed"
          ]
        },
        "payloadDigest": {
          "type": "string",
          "pattern": "^sha256:[a-f0-9]{64}$"
        },
        "previousRecordHash": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^sha256:[a-f0-9]{64}$"
        },
        "recordHash": {
          "type": "string",
          "pattern": "^sha256:[a-f0-9]{64}$"
        },
        "occurredAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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/looot-audit-page"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.