POST

Store a key-value entry with optional semantic embedding and TTL (default 30 days). Backed by SQLite with ONNX embeddings

/v1/memory/store

Powered by SQLite

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/memory/store
Content-Type: application/json

{
  "key": "example",
  "value": "example",
  "embed": false,
  "ttl_days": 30
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Store a key-value entry with optional semantic embedding and TTL (default 30 days). Backed by SQLite with ONNX embeddings.

Self-contained, serverless, embedded SQL database engine.

Request schema

Body: JSON · application/json

FieldTypeDescription
keystringrequired
valuestringrequired
embedbooleanrequired
ttl_daysintegerrequiredmin: 1
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/memory/store \
  -H "Content-Type: application/json" \
  -d '{
  "key": "example",
  "value": "example",
  "embed": false,
  "ttl_days": 30
}'

402 payment flow omitted — see Integrations for settlement.