{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kognite-dev/json-schema/kognite-dev-post-api-memories-ingest-request-schema.json",
  "title": "PostApiMemoriesIngestRequest",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/kognite-dev-openapi-generated.yml#/components/schemas/PostApiMemoriesIngestRequest",
  "type": "object",
  "properties": {
    "messages": {
      "type": "array",
      "description": "Array of message objects with content, speaker?, timestamp?, id?."
    },
    "extract": {
      "type": "boolean",
      "description": "Forms atomic memories (default true)."
    },
    "store_raw": {
      "type": "boolean",
      "description": "Keeps the verbatim turns for precise recall (default true)."
    },
    "source": {
      "type": "string",
      "description": "Optional source label up to 128 characters."
    },
    "team": {
      "type": "string",
      "description": "Slug to store the conversation and its facts in that team."
    }
  },
  "required": [
    "messages"
  ]
}