{"uid":"cap_xZuKvqRNjy1mHWPYmvb1e","slug":"relaystation-data-rename-2f3616cf","name":"Relaystation Data Rename","description":"$0.0002/MB. Rename columns by mapping — tidy schemas between pipeline steps. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/data/rename","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_5xZCkT2UYfVQRatmrOgO1","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":"Renames columns in tabular data by mapping old column names to new ones, tidying schemas between pipeline steps.","exampleAgentPrompt":"Take this JSON dataset and rename the columns using this mapping: 'first_name' → 'firstName', 'last_name' → 'lastName', and 'email_address' → 'email'.","exampleUseCases":[{"title":"ETL pipeline schema alignment","prompt":"I'm moving data from our legacy system to the new one and the column names don't match — can you rename 'cust_id' to 'customerId', 'addr' to 'address', and 'ph_num' to 'phoneNumber' in this dataset?"},{"title":"Standardizing API response fields","prompt":"This API returns fields like 'usr_nm', 'pwd_hash', and 'acct_bal' but my downstream service expects 'username', 'passwordHash', and 'accountBalance' — please rename those columns in this data."},{"title":"Cleaning CSV headers before database import","prompt":"Before I import this CSV into Postgres, I need to rename the columns: 'Date Created' → 'created_at', 'Full Name' → 'full_name', and 'Phone #' → 'phone_number' — can you do that?"}],"resultDescription":"Returns the input dataset with all specified columns renamed according to the provided mapping, preserving all data values and row structure while applying the new field names throughout.","failureModes":["Column name in mapping not found in dataset — returns error indicating missing source column","Invalid or malformed input data format — returns parsing error","Empty or null mapping provided — returns unchanged data or validation error","Data exceeds size limits — billing or truncation error","Conflicting target column names (two sources mapped to same target) — returns schema conflict error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, paid-per-MB column renaming step within a data pipeline and don't want to spin up a full ETL framework. Ideal for agents automating schema normalization between microservices, API integrations, or database migrations where column name mismatches are the only transformation needed. Well-suited for x402 micropayment workflows where you pay only for the data volume processed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:06.784Z","isFirstParty":false}