CAIN-42 CAIN Studio

API reference · schema

RecordProvenanceRequest

16 fields · used by 0 operations

Last reviewed 2026-10-06

Fields

FieldTypeMeaning
envelope_id requiredstring
tool_id requiredstring
tool_versionstring or null
mcp_server_idstring or null
mcp_server_versionstring or null
model_providerstring or null
model_namestring or null
model_versionstring or null
agent_versionstring or null
agent_build_idstring or null
skill_idsarray of string
environmentstring or null
resource requiredstring
action requiredstring
effect_occurred requiredstring
effect_result requiredstring

Smallest valid example

{
  "envelope_id": "envelope-id",
  "tool_id": "tool-id",
  "resource": "resource",
  "action": "action",
  "effect_occurred": "effect-occurred",
  "effect_result": "effect-result"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "envelope_id": {
      "type": "string",
      "title": "Envelope Id"
    },
    "tool_id": {
      "type": "string",
      "title": "Tool Id"
    },
    "tool_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tool Version"
    },
    "mcp_server_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mcp Server Id"
    },
    "mcp_server_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mcp Server Version"
    },
    "model_provider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Provider"
    },
    "model_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Name"
    },
    "model_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Version"
    },
    "agent_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Version"
    },
    "agent_build_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Build Id"
    },
    "skill_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Skill Ids"
    },
    "environment": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Environment"
    },
    "resource": {
      "type": "string",
      "title": "Resource"
    },
    "action": {
      "type": "string",
      "title": "Action"
    },
    "effect_occurred": {
      "type": "string",
      "title": "Effect Occurred"
    },
    "effect_result": {
      "type": "string",
      "title": "Effect Result"
    }
  },
  "type": "object",
  "required": [
    "envelope_id",
    "tool_id",
    "resource",
    "action",
    "effect_occurred",
    "effect_result"
  ],
  "title": "RecordProvenanceRequest"
}

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