Collate · Schema

AgentExecution

CompanyDataMetadataData CatalogData GovernanceData DiscoveryData QualityData LineageOpen Source

Properties

Name Type Description
id string
agent object
agentId string
timestamp integer
endTimestamp integer
status string
input string
output string
modelCalls array
dataAccessed array
toolCalls array
metrics object
errorMessage string
errorStack string
complianceChecks array
executedBy string
sessionId string
environment string
agentVersion string
metadata object
deleted boolean
View JSON Schema on GitHub

JSON Schema

collate-agent-execution-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/collate/json-schema/collate-agent-execution-schema.json",
  "title": "AgentExecution",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/collate-agent-executions-api-openapi.yml#/components/schemas/AgentExecution",
  "required": [
    "agent",
    "agentId",
    "status",
    "timestamp"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "agent": {
      "$ref": "#/$defs/EntityReference"
    },
    "agentId": {
      "type": "string",
      "format": "uuid"
    },
    "timestamp": {
      "type": "integer",
      "format": "int64"
    },
    "endTimestamp": {
      "type": "integer",
      "format": "int64"
    },
    "status": {
      "type": "string",
      "enum": [
        "Running",
        "Success",
        "Failed",
        "Timeout",
        "Cancelled",
        "PartialSuccess"
      ]
    },
    "input": {
      "type": "string"
    },
    "output": {
      "type": "string"
    },
    "modelCalls": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ModelCall"
      }
    },
    "dataAccessed": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataAccess"
      }
    },
    "toolCalls": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ToolCall"
      }
    },
    "metrics": {
      "$ref": "#/$defs/ExecutionMetrics"
    },
    "errorMessage": {
      "type": "string"
    },
    "errorStack": {
      "type": "string"
    },
    "complianceChecks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ComplianceCheck"
      }
    },
    "executedBy": {
      "type": "string"
    },
    "sessionId": {
      "type": "string"
    },
    "environment": {
      "type": "string",
      "enum": [
        "Development",
        "Staging",
        "Production"
      ]
    },
    "agentVersion": {
      "type": "string"
    },
    "metadata": {
      "$ref": "#/$defs/Metadata"
    },
    "deleted": {
      "type": "boolean"
    }
  },
  "$defs": {
    "ComplianceCheck": {
      "type": "object",
      "properties": {
        "checkName": {
          "type": "string"
        },
        "passed": {
          "type": "boolean"
        },
        "details": {
          "type": "string"
        },
        "severity": {
          "type": "string",
          "enum": [
            "Low",
            "Medium",
            "High",
            "Critical"
          ]
        }
      }
    },
    "DataAccess": {
      "required": [
        "accessType",
        "dataSource"
      ],
      "type": "object",
      "properties": {
        "dataSource": {
          "$ref": "#/$defs/EntityReference"
        },
        "accessType": {
          "type": "string",
          "enum": [
            "Read",
            "Write",
            "Update",
            "Delete"
          ]
        },
        "columns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "recordCount": {
          "type": "integer",
          "format": "int32"
        },
        "query": {
          "type": "string"
        },
        "timestamp": {
          "type": "integer",
          "format": "int64"
        },
        "piiAccessed": {
          "type": "boolean"
        },
        "sensitivityLevel": {
          "type": "string",
          "enum": [
            "Public",
            "Internal",
            "Confidential",
            "Restricted"
          ]
        }
      }
    },
    "EntityReference": {
      "required": [
        "id",
        "type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "fullyQualifiedName": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "deleted": {
          "type": "boolean"
        },
        "inherited": {
          "type": "boolean"
        },
        "href": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "ExecutionMetrics": {
      "type": "object",
      "properties": {
        "totalRowsProcessed": {
          "type": "integer",
          "format": "int32"
        },
        "totalBytesProcessed": {
          "type": "integer",
          "format": "int32"
        },
        "cpuTime": {
          "type": "number",
          "format": "double"
        },
        "memoryUsed": {
          "type": "integer",
          "format": "int32"
        },
        "cost": {
          "type": "number",
          "format": "double"
        }
      }
    },
    "Metadata": {
      "type": "object"
    },
    "ModelCall": {
      "type": "object",
      "properties": {
        "model": {
          "$ref": "#/$defs/EntityReference"
        },
        "prompt": {
          "type": "string"
        },
        "response": {
          "type": "string"
        },
        "inputTokens": {
          "type": "integer",
          "format": "int32"
        },
        "outputTokens": {
          "type": "integer",
          "format": "int32"
        },
        "latencyMs": {
          "type": "number",
          "format": "double"
        },
        "cost": {
          "type": "number",
          "format": "double"
        },
        "timestamp": {
          "type": "integer",
          "format": "int64"
        },
        "purpose": {
          "type": "string"
        }
      }
    },
    "Parameters__1": {
      "type": "object"
    },
    "ToolCall": {
      "type": "object",
      "properties": {
        "tool": {
          "$ref": "#/$defs/EntityReference"
        },
        "parameters": {
          "$ref": "#/$defs/Parameters__1"
        },
        "result": {
          "type": "string"
        },
        "success": {
          "type": "boolean"
        },
        "latencyMs": {
          "type": "number",
          "format": "double"
        },
        "timestamp": {
          "type": "integer",
          "format": "int64"
        },
        "errorMessage": {
          "type": "string"
        }
      }
    }
  }
}

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/collate-agent-execution"
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.