CAIN-42 CAIN Studio

API reference · schema

MemVaultSearchRequest

6 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
agent_id requiredstring
query requiredstring
query_vectorarray of number or null
top_kintegermin 1.0 · max 50.0 · default 5
include_sharedbooleandefault false
min_truststringdefault "low"

Smallest valid example

{
  "agent_id": "agent-id",
  "query": "query",
  "top_k": 5,
  "include_shared": false,
  "min_trust": "low"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "query": {
      "type": "string",
      "title": "Query"
    },
    "query_vector": {
      "anyOf": [
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query Vector"
    },
    "top_k": {
      "type": "integer",
      "maximum": 50.0,
      "minimum": 1.0,
      "title": "Top K",
      "default": 5
    },
    "include_shared": {
      "type": "boolean",
      "title": "Include Shared",
      "default": false
    },
    "min_trust": {
      "type": "string",
      "title": "Min Trust",
      "default": "low"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "query"
  ],
  "title": "MemVaultSearchRequest"
}

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