{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neruva-io/json-schema/neruva-io-agent-remember-request-schema.json",
  "title": "AgentRememberRequest",
  "description": "One-call agent memory write.\n\nAlways pushes a Records entry (typed event, semantic-searchable).\nKG binding happens via one of three paths:\n\nextract=\"off\" (default, 0.14.0 behavior, $0 to us):\n  No KG binding unless `triples=[...]` is passed explicitly. Caller\n  ran extraction in their own LLM turn or doesn't want KG facts.\n\nextract=\"byo\" + `triples=[...]`:\n  Same as \"off\" but explicit. Customer-extracted triples bound to KG.\n\nextract=\"managed\":\n  REMOVED 2026-05-20. Substrate no longer makes server-side LLM\n  calls (architectural decision: $0/call, no external dependency,\n  deterministic replay). Migration: run hd_kg_extraction_prompt\n  in your own LLM, pass the extracted triples=[[s,p,o],...] in\n  the same agent_remember call alongside extract='byo'.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neruva-io-openapi.json#/components/schemas/AgentRememberRequest",
  "properties": {
    "text": {
      "type": "string",
      "title": "Text"
    },
    "namespace": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Namespace"
    },
    "triples": {
      "anyOf": [
        {
          "items": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Triples"
    },
    "extract": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Extract",
      "default": "off"
    },
    "tags": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags"
    },
    "kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kind"
    },
    "user_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id"
    },
    "meta": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Meta"
    },
    "engine": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Engine"
    },
    "commit": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Commit",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "text"
  ]
}