{"uid":"cap_MP1V-KRNKzDyAh4WWZOsk","slug":"delx-starts-with-d495395c","name":"Delx Starts With","description":"Check whether text starts with a prefix. Call when you gate URL/scheme or header prefix checks before egress. Returns boolean result and prefix 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/starts-with","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."},"prefix":{"type":"string","description":"Input field: prefix."}}},"responseSchema":{"type":"json","example":{"prefix":"https://","result":true,"schema":"delx/util-starts-with/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_A6vY_mE5eYgePjqsOHeLM","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":"Checks whether a given text string begins with a specified prefix, returning a boolean result.","exampleAgentPrompt":"Does the text 'https://example.com/path' start with the prefix 'https://'?","exampleUseCases":[{"title":"URL scheme validation before egress","prompt":"Before sending this request out, check if the URL 'ftp://legacy-server.example.com/data' starts with 'https://' so we know whether it's safe to proceed."},{"title":"Authorization header prefix check","prompt":"Can you verify whether the header value 'Bearer eyJhbGciOiJIUzI1NiJ9...' starts with 'Bearer ' before we pass it to the auth layer?"},{"title":"Filename convention enforcement","prompt":"I need to confirm that the filename 'report_2024_Q1.csv' starts with 'report_' to make sure it follows our naming convention — can you check that?"}],"resultDescription":"Returns a JSON object containing a boolean indicating whether the text starts with the given prefix, along with the prefix that was tested.","failureModes":["Missing 'text' or 'prefix' field returns a validation error","Empty string inputs may produce unexpected true results (empty prefix matches everything)","Payment failure via x402 if USDC balance is insufficient","Non-string input types may cause schema validation errors"],"whenToPreferThis":"Choose this endpoint when you need a fast, stateless, single-purpose prefix check without spinning up local string logic in an agent pipeline — especially useful for gating URL scheme validation, header format checks, or protocol prefix enforcement before egress. Prefer it over heavier text-analysis endpoints when all you need is a simple boolean starts-with result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:13.926Z","isFirstParty":false}