ContextDB · Schema

EvolveRequest

ADD requires content+source and rejects target_memory_id. UPDATE requires content+source plus target_memory_id or entity+attribute. DELETE accepts no content/write attributes and requires a target or slot. NOOP accepts no content/write attributes and requires a reason.

Artificial IntelligenceMemoryCustomer DataAgent PlatformContext

Properties

Name Type Description
user_id object
operation object
content string
source object
confidence number
action_relevant boolean
entity string
attribute string
target_memory_id string
metadata object
noop_reason string
View JSON Schema on GitHub

JSON Schema

contextdb-ai-evolve-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contextdb-ai/json-schema/contextdb-ai-evolve-request-schema.json",
  "title": "EvolveRequest",
  "description": "ADD requires content+source and rejects target_memory_id. UPDATE\nrequires content+source plus target_memory_id or entity+attribute.\nDELETE accepts no content/write attributes and requires a target or\nslot. NOOP accepts no content/write attributes and requires a reason.\n",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/contextdb-ai-openapi.yaml#/components/schemas/EvolveRequest",
  "type": "object",
  "required": [
    "user_id",
    "operation"
  ],
  "properties": {
    "user_id": {
      "$ref": "#/$defs/UserId"
    },
    "operation": {
      "$ref": "#/$defs/EvolutionOperation"
    },
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000
    },
    "source": {
      "$ref": "#/$defs/EpistemicSource"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "action_relevant": {
      "type": "boolean"
    },
    "entity": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "attribute": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "target_memory_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "metadata": {
      "type": "object",
      "maxProperties": 50,
      "propertyNames": {
        "pattern": "^[A-Za-z0-9._:\\-]{1,128}$"
      },
      "additionalProperties": true
    },
    "noop_reason": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    }
  },
  "additionalProperties": false,
  "$defs": {
    "EpistemicSource": {
      "type": "string",
      "enum": [
        "user_stated",
        "agent_inferred",
        "third_party"
      ],
      "description": "Who vouches for the claim. Required on writes."
    },
    "EvolutionOperation": {
      "type": "string",
      "enum": [
        "add",
        "update",
        "delete",
        "noop"
      ]
    },
    "UserId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._:@+\\-]{1,128}$",
      "description": "End-user memory partition key. Not an identity assertion."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/contextdb-ai-evolve-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.