CAIN-42 CAIN Studio

API reference · schema

QueryMemoriesRequest

8 fields · used by 1 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
agent_idstring or null
memory_typestring or null
trust_levelstring or null
tagsarray of string or null
query_textstring or null
min_confidencenumbermin 0.0 · max 1.0 · default 0.0
min_trust_levelstring or null
limitintegermin 1.0 · max 500.0 · default 50

Smallest valid example

{
  "min_confidence": 0.0,
  "limit": 50
}

Used by 1 operation

POST/fabric/memory/queryApi Query Memories

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id"
    },
    "memory_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Memory Type"
    },
    "trust_level": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trust Level"
    },
    "tags": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags"
    },
    "query_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query Text"
    },
    "min_confidence": {
      "type": "number",
      "maximum": 1.0,
      "minimum": 0.0,
      "title": "Min Confidence",
      "default": 0.0
    },
    "min_trust_level": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Min Trust Level"
    },
    "limit": {
      "type": "integer",
      "maximum": 500.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 50
    }
  },
  "type": "object",
  "title": "QueryMemoriesRequest"
}

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