{"uid":"cap_rFDkONGtjp8nafz2SBfQB","slug":"relaystation-baton-vector-batch-write-85c86b11","name":"Relaystation Baton Vector Batch-Write","description":"$0.002/batch of 10. Batch-write embeddings into a prepaid vector index inside a baton — Relaystation's durable shared-storage object — agent RAG memory without running a vector DB. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/baton/%7Bid%7D/vectors","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":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"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_046FNN4afN4DIW4rMMPUT","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":"Batch-writes embeddings into a prepaid vector index inside a Relaystation baton (durable shared-storage object), enabling agent RAG memory without self-hosting a vector database.","exampleAgentPrompt":"Write these 10 embeddings as a batch into my Relaystation baton (ID: baton_abc123) so I can use them for RAG memory lookups later.","exampleUseCases":[{"title":"Agent knowledge base ingestion","prompt":"I've chunked and embedded my product documentation — can you batch-write all these embedding vectors into my baton (ID: baton_docs42) so my agent can do RAG lookups against it?"},{"title":"Persistent agent conversation memory","prompt":"Take these 10 conversation-turn embeddings and store them in my Relaystation baton baton_mem99 so my agent can retrieve relevant past context in future sessions."},{"title":"Research corpus vector indexing","prompt":"I have a batch of 10 embeddings from research paper abstracts — write them into my baton baton_research7 so I can query them semantically without running my own vector DB."}],"resultDescription":"Confirmation that the batch of embedding vectors has been written into the specified baton's prepaid vector index. The baton then holds the indexed vectors for subsequent semantic retrieval queries. Any overpaid credit beyond the $0.002/batch cost is auto-credited back.","failureModes":["Invalid or missing baton ID in path — 404 not found","Insufficient prepaid balance in the baton — payment or credit error","Malformed embedding vectors in request body — 400 bad request","Batch size exceeds allowed limit — 400 or 413 error","x402 payment not attached or insufficient — 402 payment required","Body type mismatch (wrong bodyType enum value) — 400 validation error"],"whenToPreferThis":"Choose this endpoint when an agent needs durable, hosted vector storage for RAG without the overhead of deploying and managing a vector database. It is ideal for agents that already generate embeddings and need to persist them cheaply ($0.002/batch of 10) into Relaystation's baton shared-storage objects. Prefer this over self-hosted solutions when infrastructure simplicity and per-use micropayment pricing matter, and when you are already using Relaystation batons as your agent's shared memory layer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:30:33.432Z","isFirstParty":false}