# 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-15).

Stores a text entry in a named, persistent memory collection, embedding and indexing it for later semantic recall.

## Facts

- Endpoint: GET https://api.agishub.com/v1/memory-store
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agishub-memory-store-2d37bb55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TOZ4Fn5Bwx6IhqB7gBc7G

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-2d37bb55
```

Example prompt: Save the following to my 'project-alpha' memory collection so I can search it later: 'The client meeting on June 3rd concluded with agreement on a Q3 launch date and a $50k budget.'

## When to prefer this

Use this endpoint when you need to persist text in a durable, semantically searchable memory store that can later be queried by meaning rather than exact match. Prefer this over a simple key-value store when future retrieval will be semantic/vector-based. It pairs naturally with the companion memory-search endpoint on the same platform for a full RAG-style recall loop.

## Known failure modes

- Missing required 'text' or 'namespace' query parameter returns a validation error
- Empty string for 'text' or 'namespace' rejected due to minLength:1 constraint
- Network timeout if embedding computation takes too long for very large text
- Payment failure (402) if x402 USDC payment is not included or insufficient
- Namespace collision or unauthorized access if namespace key is guessed by another party

## How this service works

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

## Output

Returns a JSON confirmation indicating the text was successfully stored, embedded, and indexed in the specified namespace, along with the entry ID (auto-generated or provided).

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "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
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "Store a piece of text in a persistent, searchable memory collection (namespace). Embedded and indexed for later semantic"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agishub-memory-store-2d37bb55/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)
