# SML Memory Graph Store

> SML Memory Graph Store is a paid API for AI agents from scriptmasterlabs.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Stores structured memory entries (episodic, semantic, procedural, or custom) for a named agent namespace with provenance metadata, payable per call via x402.

## Facts

- Endpoint: POST https://scriptmasterlabs.com/api/memory/store?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sml-memory-graph-store-adb2506b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rb6HJELTh3DRDmeUb2cWh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sml-memory-graph-store-adb2506b -d '<json body>'
```

Example prompt: Store an episodic memory for agent 'assistant-7' with content 'User prefers concise bullet-point summaries over prose' and tag it as 'preference' with a provenance confidence of 0.92.

## When to prefer this

Choose this endpoint when an AI agent needs to persist typed, tagged memory entries (episodic, semantic, procedural, or custom) in a structured graph store with provenance tracking, particularly in x402 pay-per-call architectures where per-use micropayments are acceptable and audit trails of confidence are important.

## Known failure modes

- Missing required 'provenance.confidence' field causes validation error
- Invalid 'type' value outside allowed enum (episodic, semantic, procedural, custom) may be rejected
- Payment not accepted or insufficient USDC balance causes 402 response
- Empty or missing 'content' field results in rejected store operation
- Unknown or malformed 'agent_id' namespace may cause routing failure

## How this service works

Pay-per-call APIs and a read-only provider check for x402 buyers. Inspect evidence and live terms before a caller-controlled payment; accept delivery with proof.

## Output

Returns a JSON object confirming storage in the SML Memory Graph, with the product name and any route-specific live values populated after successful accepted delivery via x402 payment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tags": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "type": {
   "type": "string",
   "description": "episodic, semantic, procedural, or custom"
  },
  "content": {
   "type": "string",
   "description": "Memory text"
  },
  "agent_id": {
   "type": "string",
   "description": "Agent namespace"
  },
  "provenance": {
   "type": "object",
   "required": [
    "confidence"
   ],
   "properties": {
    "confidence": {
     "type": "number"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Route-specific live values are returned after successful accepted delivery.",
  "product": "SML Memory Graph Store"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sml-memory-graph-store-adb2506b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scriptmasterlabs.com](https://www.zero.xyz/host/scriptmasterlabs.com/llms.txt)
