{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/memoryplugin-com/json-schema/memoryplugin-com-memory-input-schema.json",
  "title": "MemoryInput",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/memoryplugin-com-openapi.json#/components/schemas/MemoryInput",
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The memory to be added. Always prepend with current date in YYYY-MM-DD format in the users timezone if you know it, UTC otherwise."
    },
    "bucketId": {
      "type": "integer",
      "description": "The id of the bucket to add the memory to. If not provided, the memory will be added to the default bucket."
    },
    "source": {
      "type": "string",
      "description": "Client source identifier (e.g., 'chatgpt' for ChatGPT requests)"
    }
  },
  "required": [
    "text"
  ]
}