{"uid":"cap_Gjj2BA9Vk3OUi3qfD7F9u","slug":"pipe0-withzero-xyz-pipe0-singular-search-run-sync-pass-through-0a6130da","name":"Pipe0 Singular Search Run Sync (Pass-Through)","description":"Composable Pipe0-native search workflow pass-through for allowlisted singular search IDs only. Runs POST /v1/search/run/sync for safe allowlisted company-profile search and settles at the allowlisted per-page Pipe0 catalog cost.","url":"https://pipe0.withzero.xyz/api/v1/search/run/sync","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","example":{"search":{"config":{"limit":10,"filters":{"linkedin_industries":{"exclude":[],"include":["Software Development"]}}},"search_id":"companies:profiles:crustdata@2"}},"required":["search"],"properties":{"config":{"type":"object","properties":{"widgets":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"environment":{"enum":["production","sandbox"],"type":"string","description":"Pipe0 environment. Production consumes Pipe0 credits; sandbox uses mock/test behavior."},"field_definitions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":{}},"search":{"type":"object","required":["search_id"],"properties":{"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"connector":{},"search_id":{"type":"string","minLength":1,"description":"Pipe0 search id, for example companies:profiles:crustdata@2."}},"additionalProperties":{}}},"additionalProperties":{}},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["data","billing"],"properties":{"data":{"description":"Raw JSON response returned by Pipe0."},"billing":{"type":"object","required":["pipe0Credits","maxPipe0Credits","planUsdcMicro","planCredits","pricingVersion","settledUsdcMicro"],"properties":{"planCredits":{"type":"string"},"pipe0Credits":{"type":"number"},"planUsdcMicro":{"type":"string"},"pricingVersion":{"type":"number"},"maxPipe0Credits":{"type":"number"},"settledUsdcMicro":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"2.908334","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"session","summary":"$0.058765/call","primary":{"kind":"session","protocol":"mpp","network":"tempo","amountUsd":"0.058765","per":"call","confidence":"exact"},"accepted":[{"kind":"session","protocol":"mpp","network":"tempo","amountUsd":"0.058765","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"2.908334","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RfPiKqZ2UGNnmGOG5SwPg","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"session","costAmount":"0.058765","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_eu4JgumJQCtKiEbfyz9H9","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"2.908334","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"pipe0.withzero.xyz","brandSlug":"pipe0-withzero-xyz-mpp","brandBaseUrl":"https://pipe0.withzero.xyz","brandDocsUrl":null,"whatItDoes":"Executes an allowlisted Pipe0 singular search synchronously via POST /v1/search/run/sync, settling cost based on actual result count up to the request limit.","exampleAgentPrompt":"Run the Pipe0 search workflow for search ID 'companies:profiles:crustdata@1' in production mode and return the results — I want to see the raw data and how many Pipe0 credits it cost.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'data' field containing the raw Pipe0 search results, and a 'billing' object detailing Pipe0 credits used, max credits, the plan's USDC micro cost, settled USDC micros, plan credits, and pricing version.","failureModes":["Search ID not in the allowlist — request rejected with an authorization or validation error","Invalid or missing search_id field — returns schema validation error","Pipe0 environment misconfigured (invalid enum value) — returns bad request","Pipe0 credits exhausted — billing settlement fails or request is blocked","Sandbox mode returns mock data, which may not reflect real production behavior","Network timeout if Pipe0 backend is slow to respond synchronously"],"whenToPreferThis":"Use this endpoint when you need to run a specific, allowlisted Pipe0 singular search workflow synchronously and want at-cost billing settled by actual result count. Prefer this over the pipes pass-through when your workflow is a search (not a pipe), and over manual Crustdata calls when you want Pipe0's composable abstraction layer with built-in billing tracking.","instructions":"# Run search (sync) — paid node of the search workflow\n\n## Workflow\nBuild and verify for free before paying:\n- discover fields/pricing: POST /api/v1/search/field-context\n- dry-run the request: POST /api/v1/search/validate (free; confirms search ID + shape before you pay)\n- run (this call): results return inline in `data`\n- poll an async run by id: POST /api/v1/search/check (this sync route returns inline, so usually unneeded)\n\n## Contract\n- Allowlisted `search_id`s only — confirm via field-context/validate before paying.\n- Settles AT COST from the actual returned result count, capped by request `limit`. `config.environment: sandbox` returns mock data (no credits).","reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:26.834Z","isFirstParty":true}