{"uid":"cap_lX-35Hf9evXeTyw2lXvRw","slug":"delx-split-lines-d83b2049","name":"Delx Split Lines","description":"Split text into lines. Call when you need per-line processing without local split bugs. Returns lines array and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/split-lines","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"count":3,"lines":["one","two","three"],"schema":"delx/util-split-lines/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QBBDLTOBzkXQSWbHHMsAG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a text string into individual lines and returns the lines array with a count","exampleAgentPrompt":"Split this text into individual lines for me and tell me how many lines there are: 'Line one\nLine two\nLine three\nLine four'","exampleUseCases":[{"title":"Log file line parsing","prompt":"Take this server log output and split it into separate lines so I can process each entry individually: '2024-01-01 ERROR timeout\n2024-01-01 INFO retry\n2024-01-01 WARN slow response'"},{"title":"Counting lines in a document","prompt":"How many lines are in this block of text? Split it up and give me the count: 'First item\nSecond item\nThird item\nFourth item\nFifth item'"},{"title":"Splitting newline-delimited data","prompt":"I have a newline-separated list of email addresses and I need each one as its own entry in an array — can you split this for me: 'alice@example.com\nbob@example.com\ncarol@example.com'"}],"resultDescription":"Returns a JSON object containing an array of individual lines extracted from the input text and an integer count of how many lines were found","failureModes":["Empty or missing text field returns an empty lines array with count zero","Very large text inputs may exceed request size limits","Non-string input types may cause a 400 bad request error"],"whenToPreferThis":"Use this endpoint when you need a reliable, server-side split of text into lines without worrying about cross-platform newline character edge cases (\\n, \\r\\n, \\r) that can cause bugs in local implementations; especially useful when chaining with other Delx text utilities like Sort Lines or Normalize Whitespace in an agent pipeline","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:49.256Z","isFirstParty":false}