CAIN-42 CAIN Studio

API reference · schema

ContextItem

5 fields · used by 1 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
id requiredstring
text requiredstring
categorystringdefault "uncategorized"
added_at_stepintegerdefault 0
last_referenced_stepinteger or null

Smallest valid example

{
  "id": "id",
  "text": "text",
  "category": "uncategorized",
  "added_at_step": 0
}

Used by 1 operation

POST/fabric/context/context/auditAudit Context

JSON Schema

Show the raw definition
{
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "text": {
      "type": "string",
      "title": "Text"
    },
    "category": {
      "type": "string",
      "title": "Category",
      "default": "uncategorized"
    },
    "added_at_step": {
      "type": "integer",
      "title": "Added At Step",
      "default": 0
    },
    "last_referenced_step": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Referenced Step"
    }
  },
  "type": "object",
  "required": [
    "id",
    "text"
  ],
  "title": "ContextItem"
}

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