{"uid":"cap_R0OCnFmInX3yMEIfxsCCW","slug":"vaaya-letta-agent-message-be6bcdab","name":"Vaaya Letta Agent Message","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/letta/message","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":["agent_id"],"properties":{"input":{"anyOf":[{"type":"string"},{"type":"array","items":{}}]},"agent_id":{"type":"string","minLength":1},"messages":{"type":"array","items":{}}},"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_gROWPQaNniRFXFNuWbsPh","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":"Send a message to a Letta AI agent hosted on Vaaya to trigger autonomous actions like outreach, enrichment, demos, and web-enabled tasks","exampleAgentPrompt":"Tell my Letta agent (agent_id: agent-abc123) to find and enrich the LinkedIn profile for John Smith at Acme Corp, then draft a personalized cold outreach email for him.","exampleUseCases":[{"title":"Automated contact enrichment outreach","prompt":"Message my Letta agent with ID agent-xyz789 to look up and enrich the contact info for the leads in my pipeline, then draft personalized outreach emails for each one."},{"title":"Build a live product demo","prompt":"Send a message to my Vaaya-hosted Letta agent (agent-demo42) asking it to spin up an interactive product demo for our new SaaS dashboard — include a sample dataset and a walkthrough flow."},{"title":"Go-to-market campaign execution","prompt":"Trigger my agent agent-gtm001 to run a go-to-market campaign: identify target accounts in the fintech space, pull contact details, and schedule outreach messages across email and LinkedIn."}],"resultDescription":"Returns the agent's response object including any generated content, action outcomes, tool call results, or status updates from the Letta agent after processing the input message.","failureModes":["Missing or invalid agent_id returns 400 or agent-not-found error","Malformed body or missing required fields returns schema validation error","Agent timeout if underlying task is long-running","Payment failure (insufficient USDC) blocks request","Agent not initialized or unavailable returns 500 or agent error state"],"whenToPreferThis":"Choose this endpoint when you need to delegate complex multi-step tasks to a persistent, stateful Letta AI agent hosted on Vaaya — especially for tasks combining web access, contact enrichment, outreach, or content generation without needing to set up your own infrastructure or API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:34.151Z","isFirstParty":false}