# Vaaya Zep Add — Append Messages to a Zep Memory Thread

> Vaaya Zep Add — Append Messages to a Zep Memory Thread is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Appends one or more messages to a named Zep memory thread so that agent conversation history is persisted and retrievable across sessions.

## Facts

- Endpoint: POST https://vaaya.ai/api/run/zep/add
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vaaya-zep-add-append-messages-to-a-zep-memory-thread-3411a730
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GsVHQv8WkjkJX7R29yFD9

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 vaaya-zep-add-append-messages-to-a-zep-memory-thread-3411a730 -d '<json body>'
```

Example prompt: Add these two messages to my Zep memory thread 'user-session-42': a user message saying 'What is the status of my order?' and an assistant message saying 'Your order is currently being processed.' — and return the updated context.

## When to prefer this

Use this endpoint when your AI agent needs to persist conversation turns to a Zep-backed long-term memory store without setting up a Zep account or API key directly. Ideal for agents already using the Vaaya platform that want managed memory append operations at $0.01 per call. Prefer this over direct Zep SDK calls when you want zero-config memory persistence inside a Vaaya agent workflow.

## Known failure modes

- Missing thread_id or empty string — 400 validation error
- Empty messages array or messages with missing role/content — 400 validation error
- Thread does not exist — may create a new thread or return 404 depending on Zep backend configuration
- Invalid bodyType — request rejected before reaching Zep
- Payment failure (x402) — call not executed, 402 response returned
- Network timeout to upstream Zep service — 503 or timeout error

## How this service works

Give an AI agent a credit account. Set a limit and a spending policy, and the agent makes approved, metered purchases from providers that accept Vaaya.

## Output

Returns a confirmation that the messages were appended to the specified Zep thread. If return_context is true, the response also includes the updated thread context object containing the full conversation history and any derived memory facts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "http://json-schema.org/draft-07/schema#",
     "required": [
      "thread_id",
      "messages"
     ],
     "properties": {
      "messages": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "role",
         "content"
        ],
        "properties": {
         "name": {
          "type": "string"
         },
         "role": {
          "type": "string",
          "minLength": 1
         },
         "content": {
          "type": "string"
         }
        },
        "additionalProperties": false
       },
       "minItems": 1
      },
      "thread_id": {
       "type": "string",
       "minLength": 1
      },
      "return_context": {
       "type": "boolean"
      }
     },
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vaaya-zep-add-append-messages-to-a-zep-memory-thread-3411a730/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vaaya.ai](https://www.zero.xyz/host/vaaya.ai/llms.txt)
