{"uid":"cap_zfM2MAczgAwFnbum5wFr9","slug":"vaaya-zep-thread-create-2a167a2e","name":"Vaaya Zep Thread Create","description":"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.","url":"https://vaaya.ai/api/run/zep/thread-create","method":"POST","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M55R1KAyqdNA1UMr8f_5I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a new Zep memory thread for a user, enabling persistent conversational memory in AI agents.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Initialize memory for new user onboarding","prompt":"Set up a new Zep memory thread with thread ID 'onboarding-thread-001' for user 'user-789' so the agent can remember everything discussed during onboarding."},{"title":"Start fresh session thread for returning user","prompt":"Create a new conversation memory thread called 'support-session-20240610' for user 'customer-john-42' in Zep so the support agent can track this ticket's full history."},{"title":"Multi-agent workflow thread initialization","prompt":"Initialize a Zep thread with ID 'workflow-thread-marketing-01' for user 'agent-orchestrator-1' and attach metadata indicating it belongs to the go-to-market campaign workflow."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:38.552Z","isFirstParty":false}