# Vaaya Zep Thread Create

> Vaaya Zep Thread Create is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Creates a new Zep memory thread for a user, enabling persistent conversational memory in AI agents.

## Facts

- Endpoint: POST https://vaaya.ai/api/run/zep/thread-create
- 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/vaaya-zep-thread-create-2a167a2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zfM2MAczgAwFnbum5wFr9

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-thread-create-2a167a2e -d '<json body>'
```

Example prompt: Create a new Zep memory thread with thread ID 'session-abc123' for user ID 'user-456' so this agent can start storing and retrieving conversation history for that user.

## When to prefer this

Use this endpoint when you need to initialize persistent memory threads for AI agents using Zep as the memory backend, particularly when you want zero-setup access (no Zep account or API key needed) via Vaaya's proxied x402 payment model. Prefer this over direct Zep API calls when you want pay-per-use billing at $0.01 per call without managing credentials.

## Known failure modes

- Missing required thread_id or user_id returns a 400 validation error
- Duplicate thread_id for the same user may return a conflict error
- Empty string thread_id or user_id (violating minLength:1) triggers schema validation failure
- Payment failure or insufficient USDC balance prevents the call from executing
- Zep backend unavailability may cause 502 or timeout errors

## 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 object indicating the thread was successfully created in Zep, likely including the thread ID, user ID, creation timestamp, and any metadata stored with the thread.

## 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",
      "user_id"
     ],
     "properties": {
      "user_id": {
       "type": "string",
       "minLength": 1
      },
      "metadata": {
       "type": "object",
       "additionalProperties": {}
      },
      "thread_id": {
       "type": "string",
       "minLength": 1
      }
     },
     "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-thread-create-2a167a2e/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)
