Raku · Schema

MemoryWriteResponse

POST /memories response — the created memory plus pipeline status + timing. Subclasses MemoryResponse so the memory fields stay at the top level (the existing POST client contract is preserved) and adds the two pipeline fields.

Artificial IntelligenceVisual InspectionPlatformEnterpriseAustralia

Properties

Name Type Description
id string
content string
source object
memory_type string
importance number
created_at string
updated_at string
last_accessed string
access_count integer
tags array
confidence_score object
source_type object
evidence_count integer
contradiction_count integer
confidence_decay_rate object
last_validated_at object
valid_from object
valid_to object
tx_from object
tx_to object
superseded_by object
is_current boolean
pipeline_status object
pipeline object
View JSON Schema on GitHub

JSON Schema

raku-so-memory-write-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/raku-so/json-schema/raku-so-memory-write-response-schema.json",
  "title": "MemoryWriteResponse",
  "description": "POST /memories response — the created memory plus pipeline status + timing.\n\nSubclasses MemoryResponse so the memory fields stay at the top level (the\nexisting POST client contract is preserved) and adds the two pipeline fields.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/raku-so-openapi.json#/components/schemas/MemoryWriteResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source"
    },
    "memory_type": {
      "type": "string",
      "title": "Memory Type"
    },
    "importance": {
      "type": "number",
      "title": "Importance"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    },
    "last_accessed": {
      "type": "string",
      "title": "Last Accessed"
    },
    "access_count": {
      "type": "integer",
      "title": "Access Count"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags",
      "default": []
    },
    "confidence_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Confidence Score"
    },
    "source_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Type"
    },
    "evidence_count": {
      "type": "integer",
      "title": "Evidence Count",
      "default": 0
    },
    "contradiction_count": {
      "type": "integer",
      "title": "Contradiction Count",
      "default": 0
    },
    "confidence_decay_rate": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Confidence Decay Rate"
    },
    "last_validated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Validated At"
    },
    "valid_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Valid From"
    },
    "valid_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Valid To"
    },
    "tx_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tx From"
    },
    "tx_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tx To"
    },
    "superseded_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Superseded By"
    },
    "is_current": {
      "type": "boolean",
      "title": "Is Current",
      "default": true
    },
    "pipeline_status": {
      "$ref": "#/$defs/PipelineStatus"
    },
    "pipeline": {
      "$ref": "#/$defs/PipelineTiming"
    }
  },
  "type": "object",
  "required": [
    "id",
    "content",
    "memory_type",
    "importance",
    "created_at",
    "updated_at",
    "last_accessed",
    "access_count",
    "pipeline_status",
    "pipeline"
  ],
  "$defs": {
    "PipelineStatus": {
      "properties": {
        "embedding": {
          "$ref": "#/$defs/StepStatus"
        },
        "importance": {
          "$ref": "#/$defs/StepStatus"
        },
        "entities": {
          "$ref": "#/$defs/StepStatus"
        },
        "consolidation": {
          "$ref": "#/$defs/StepStatus"
        },
        "conflicts": {
          "$ref": "#/$defs/StepStatus"
        }
      },
      "type": "object",
      "required": [
        "embedding",
        "importance",
        "entities",
        "consolidation",
        "conflicts"
      ],
      "title": "PipelineStatus",
      "description": "Outcome of each write-pipeline step (RKU-65 §7.4)."
    },
    "PipelineTiming": {
      "properties": {
        "admission_ms": {
          "type": "integer",
          "title": "Admission Ms"
        },
        "embedding_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Embedding Ms"
        },
        "importance_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Importance Ms"
        },
        "entities_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entities Ms"
        },
        "consolidation_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Consolidation Ms"
        },
        "conflicts_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Conflicts Ms"
        },
        "store_ms": {
          "type": "integer",
          "title": "Store Ms"
        },
        "total_ms": {
          "type": "integer",
          "title": "Total Ms"
        }
      },
      "type": "object",
      "required": [
        "admission_ms",
        "embedding_ms",
        "importance_ms",
        "entities_ms",
        "consolidation_ms",
        "conflicts_ms",
        "store_ms",
        "total_ms"
      ],
      "title": "PipelineTiming",
      "description": "Per-step wall-clock timing in ms. `None` means the step did not run."
    },
    "StepStatus": {
      "type": "string",
      "enum": [
        "ok",
        "deferred",
        "skipped_rss",
        "skipped_due_to_degradation",
        "unavailable"
      ],
      "title": "StepStatus",
      "description": "Per-step outcome in the write pipeline (RKU-65 §7.4)."
    }
  }
}

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/raku-so-memory-write-response"
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.