Korely · Schema

AddBody

Artificial IntelligenceMemoryBi-temporalAgents

Properties

Name Type Description
content string
user_id object The end user this memory belongs to. One of user_id and agent_id is required: with neither (or only ids made of spaces, format characters or marks) the write is a 422 `identity_required`; run_id alone
agent_id object Agent namespace: the agent writing. One of user_id and agent_id is required: with neither (or only ids made of spaces, format characters or marks) the write is a 422 `identity_required`; run_id alone
run_id object
metadata object
kind string What the text is: `note` (the default), what somebody said or decided; `session`, the log of a work session (what a coding assistant's hooks save). A read may leave the sessions out, their facts with
timestamp object ISO date/datetime the memory's events occurred (defaults to now). Facts extracted inherit it as valid_from, so `as_of` point-in-time queries reflect when things were true, not when they were ingested.
View JSON Schema on GitHub

JSON Schema

korely-ai-add-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/korely-ai/json-schema/korely-ai-add-body-schema.json",
  "title": "AddBody",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/korely-ai-openapi.json#/components/schemas/AddBody",
  "properties": {
    "content": {
      "type": "string",
      "maxLength": 16000,
      "minLength": 1,
      "title": "Content"
    },
    "user_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id",
      "description": "The end user this memory belongs to. One of user_id and agent_id is required: with neither (or only ids made of spaces, format characters or marks) the write is a 422 `identity_required`; run_id alone is not enough. 1 to 255 characters, no '/', no control character or other line break, and not '.' or '..': the id names a namespace that DELETE /v1/users/<user_id>/memories and DELETE /v1/agents/<agent_id> address as one URL path segment."
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id",
      "description": "Agent namespace: the agent writing. One of user_id and agent_id is required: with neither (or only ids made of spaces, format characters or marks) the write is a 422 `identity_required`; run_id alone is not enough. 1 to 255 characters, no '/', no control character or other line break, and not '.' or '..': the id names a namespace that DELETE /v1/users/<user_id>/memories and DELETE /v1/agents/<agent_id> address as one URL path segment."
    },
    "run_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Run Id"
    },
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata"
    },
    "kind": {
      "type": "string",
      "enum": [
        "note",
        "session"
      ],
      "title": "Kind",
      "description": "What the text is: `note` (the default), what somebody said or decided; `session`, the log of a work session (what a coding assistant's hooks save). A read may leave the sessions out, their facts with them (`exclude_sessions`).",
      "default": "note"
    },
    "timestamp": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Timestamp",
      "description": "ISO date/datetime the memory's events occurred (defaults to now). Facts extracted inherit it as valid_from, so `as_of` point-in-time queries reflect when things were true, not when they were ingested. A moment from 0001-01-02 to 9999-12-30, in UTC; outside it, or unreadable, a 422."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "content"
  ]
}

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/korely-ai-add-body"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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