{"uid":"cap_sHKw3M-msRkrAhzDDHVJX","slug":"g-forge-select-csv-columns-d135b02e","name":"G-Forge Select CSV Columns","description":"Create a focused CSV export with only the columns you need. Select and reorder 1–32 named columns from supplied CSV text. Preserves row order and decoded cell text, then writes correctly quoted CSV. Missing columns are rejected. Useful for cleaner spreadsheet and API handoffs.","url":"https://api.getretold.com/services/agent-auto-launch-csv-columns/invoke?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"object","required":["csv","fields"],"properties":{"csv":{"type":"string"},"fields":{"type":"array","items":{"type":"string"},"maxItems":32,"minItems":1}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_x5QOhQozlJRAQNdNfGEm2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Selects and reorders a specified subset of named columns from CSV text, returning a clean CSV with only those columns.","exampleAgentPrompt":"Take this CSV text and give me back a new CSV with only the 'name', 'email', and 'signup_date' columns — in that order.","exampleUseCases":[{"title":"Slim CRM export for email tool","prompt":"I've got a big CRM export as CSV — can you strip it down to just the 'first_name', 'last_name', and 'email' columns so I can hand it off to the email marketing platform?"},{"title":"Reorder report columns for finance","prompt":"Here's a CSV with a ton of fields — I need a version that only has 'invoice_id', 'amount', 'due_date', and 'status' in exactly that order for the finance team's report."},{"title":"Prepare API handoff with minimal fields","prompt":"Before I send this CSV to the inventory API, can you extract just the 'sku', 'quantity', and 'warehouse_code' columns from it so there are no extra fields that might cause errors?"}],"resultDescription":"A correctly quoted CSV string containing only the requested columns in the specified order, with all original rows preserved and cell text decoded. Missing column names cause the request to be rejected with an error.","failureModes":["Requested column name not found in CSV header — request rejected with error listing the missing column","Malformed CSV input that cannot be parsed — returns error","Fewer than 1 or more than 32 column names specified — schema validation error","Empty CSV with no rows — may return header-only output or error","Column names are case-sensitive mismatches — rejected as missing"],"whenToPreferThis":"Choose this endpoint when you need to quickly reduce a CSV to a known set of named columns and optionally reorder them, especially in agent pipelines where downstream APIs or spreadsheets expect a specific column layout. It is purpose-built for CSV column selection with strict validation of missing columns, making it safer than generic text manipulation. Prefer it over JSON field projection endpoints when your data is already in CSV form.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:35:35.892Z","isFirstParty":false,"canonicalSlug":"g-forge-select-csv-columns-d135b02e"}