{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/parallel-ai/json-schema/parallel-ai-memory-evict-request-schema.json",
  "title": "MemoryEvictRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/parallel-ai-memory-api-openapi.yml#/components/schemas/MemoryEvictRequest",
  "properties": {
    "memory_scope_key": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9_-]+$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Memory Scope Key",
      "description": "User-provided key identifying the memory scope to use. Omit to use personal memory, if available."
    },
    "kind": {
      "type": "string",
      "enum": [
        "task",
        "monitor",
        "findall"
      ],
      "title": "Kind",
      "description": "Kind of source to evict: `task`, `monitor`, or `findall`."
    },
    "id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "pattern": "^[a-zA-Z0-9_-]+$",
      "title": "Id",
      "description": "ID of the task run, monitor, or FindAll run to evict."
    }
  },
  "type": "object",
  "required": [
    "kind",
    "id"
  ]
}