# AGISHub Memory Store

> AGISHub Memory Store is a paid API for AI agents from api.agishub.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Stores a piece of text in a persistent, namespace-scoped semantic memory collection, embedded and indexed for later semantic recall.

## Facts

- Endpoint: POST https://api.agishub.com/paid/memory-store
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agishub-memory-store-8629c06e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t59jhoorgetvumUI9bAPh

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 agishub-memory-store-8629c06e -d '<json body>'
```

Example prompt: Remember this for me in my 'project-alpha' memory namespace: 'The client prefers weekly status emails on Fridays and dislikes Slack pings.'

## When to prefer this

Choose this endpoint when you need to persist arbitrary text into a named, semantically searchable collection for later retrieval by an AI agent — especially when the storage needs to be grouped by namespace and recalled via semantic similarity search rather than exact key lookup. Prefer this over a simple key-value store when the retrieval pattern is semantic/fuzzy rather than exact-match.

## Known failure modes

- Missing required 'namespace' or 'text' query parameter returns a 400 error
- Empty string for 'text' (minLength:1 not met) rejected with validation error
- Invalid or expired payment causes 402 response
- Namespace collision or quota exceeded may return a 429 or 403
- Network timeout returns a 5xx error with no guarantee of storage

## How this service works

Store a piece of text in a persistent, searchable memory collection (namespace). Embedded and indexed for later semantic recall.

## Output

A JSON object confirming the stored entry, including the assigned or provided entry ID, the namespace it was written to, and confirmation of successful indexing for semantic recall.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "namespace",
      "text"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Optional stable id to update an existing entry; auto-generated if omitted."
      },
      "text": {
       "type": "string",
       "minLength": 1,
       "description": "The text/content to store and make searchable."
      },
      "namespace": {
       "type": "string",
       "minLength": 1,
       "description": "Your collection key — groups and isolates your memories. Treat it like a secret: anyone with it can read/write this collection."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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