CAIN-42 CAIN Studio

API reference · schema

InvokeRequest

4 fields · used by 0 operations

Last reviewed 2026-10-04

Fields

FieldTypeMeaning
contract_id requiredstringmax length 40
request requiredobject
invocation requiredobject
runtime_digeststring or nullmax length 256

Smallest valid example

{
  "contract_id": "contract-id",
  "request": {},
  "invocation": {}
}

JSON Schema

Show the raw definition
{
  "properties": {
    "contract_id": {
      "type": "string",
      "maxLength": 40,
      "title": "Contract Id"
    },
    "request": {
      "additionalProperties": true,
      "type": "object",
      "title": "Request"
    },
    "invocation": {
      "additionalProperties": true,
      "type": "object",
      "title": "Invocation"
    },
    "runtime_digest": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Runtime Digest"
    }
  },
  "type": "object",
  "required": [
    "contract_id",
    "request",
    "invocation"
  ],
  "title": "InvokeRequest"
}

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