# Vaaya Zep Get Context

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

Retrieves conversational memory and context for an agent thread from Zep, a long-term memory store, given a thread ID.

## Facts

- Endpoint: POST https://vaaya.ai/api/run/zep/get-context
- 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/vaaya-zep-get-context-64026f65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hv48WnXaoFkQgW8qck78l

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-get-context-64026f65 -d '<json body>'
```

Example prompt: Fetch the Zep conversation context for thread ID 'thread_abc123' so I can pick up where we left off.

## When to prefer this

Use this endpoint when your agent needs to retrieve prior conversational state or long-term memory from Zep for a specific thread before generating a response. Ideal for multi-session agents that must maintain continuity across conversations. Prefer this over building your own memory retrieval when you want a plug-and-play, pay-per-call solution without setting up Zep API keys yourself.

## Known failure modes

- Thread ID not found — returns error if the thread_id does not exist in Zep
- Empty context — thread exists but has no stored messages or memory yet
- Invalid thread_id format — rejected if thread_id is empty or malformed (minLength:1 enforced)
- Payment failure — x402 payment of $0.01 USDC not completed, request rejected
- Zep service unavailable — upstream Zep API is down or unreachable

## 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 the stored conversational context and memory associated with the given thread ID from Zep, which may include message history, facts, summaries, and other session state that the agent can use to maintain continuity across interactions.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vaaya-zep-get-context-64026f65/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)
