{"uid":"cap_o-oLyJxAiUmZrwv1wabaO","slug":"relaystation-pipeline-24b44630","name":"Relaystation Pipeline","description":"$0/call + sum of steps. Chain multiple ops — OCR → extract → convert → store — in one server-side call: one payment, one result, no intermediate downloads. The glue for 155 Relaystation tools on one balance — relaystation.ai","url":"https://api.relaystation.ai/v1/pipeline","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","properties":{"to":{"enum":["csv","tsv","json","ndjson"],"type":"string","description":"A tabular file format: csv, tsv, json (array of objects), or ndjson."},"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."},"steps":{"type":"array","items":{"type":"object","required":["op"],"properties":{"op":{"enum":["csv.convert","csv.dedupe","csv.select","data.filter","data.sort","data.groupby","data.cast","data.pivot","data.profile","data.validate","data.schema-infer","image.resize","image.convert","image.compress","image.rotate","utils.base64","data.derive","data.fillna","data.dropna","data.rename","data.slice","data.explode","data.from-xlsx","data.to-xlsx"],"type":"string"},"args":{"type":"object","description":"The op's standalone schema minus `file` (bytes are threaded step-to-step)."}}},"minItems":1,"description":"Step count is runtime-capped at cputools.pipeline.max_steps."}}},"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_nxke8CK52IdnUBQXh_YYh","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":"Executes a server-side chain of multiple operations (e.g. OCR → extract → convert → store) in a single API call with one payment, returning a single result.","exampleAgentPrompt":"Take this scanned invoice PDF, run OCR on it, extract the vendor name, amount, and date as JSON, then store the result in my Relaystation vector index — do the whole chain in one server-side call so I don't have to handle intermediate files.","exampleUseCases":[{"title":"Invoice ingestion and extraction pipeline","prompt":"Take this scanned invoice image, OCR it, pull out the vendor name, total amount, and due date as structured JSON, then save it to my Relaystation index — run the whole thing as one chained pipeline call."},{"title":"Document format conversion workflow","prompt":"I have a Word document I need OCR'd, converted to markdown, and then stored in my vector index — can you run all three steps as a single Relaystation pipeline so I only pay once and get one result back?"},{"title":"Multi-step report processing automation","prompt":"Process this batch of scanned reports: OCR each page, extract the key metrics using my schema, convert the output to a spreadsheet, and store it — chain all the steps server-side so I don't have to manage intermediate downloads."}],"resultDescription":"A single consolidated response containing the final output of the entire chained pipeline — e.g. extracted JSON, converted file URL, or storage confirmation — along with itemized step costs billed as one payment. No intermediate artifacts need to be downloaded or managed by the caller.","failureModes":["Invalid or unsupported step sequence causing pipeline to abort mid-chain","Upstream OCR or extraction tool failure returning a partial result or error","Insufficient balance to cover the sum of all steps in the pipeline","Malformed step definition JSON causing a 400 validation error","Timeout if a step in the chain takes too long to complete","File input too large or in an unsupported format for a given step"],"whenToPreferThis":"Choose the Relaystation Pipeline endpoint when you need to execute two or more sequential document-processing operations (e.g. OCR → extract → convert → store) without managing intermediate results or making multiple API calls. It is ideal when you want to avoid per-step downloads, minimize round-trip latency, pay once for the entire workflow, and stay within the Relaystation tool ecosystem. Prefer it over calling individual Relaystation tools sequentially when the steps are deterministic and you want server-side orchestration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:06.858Z","isFirstParty":false}