{"uid":"cap_HKQviOMMv_YiClg4uSFcu","slug":"signalharness-prompt-section-normalize-ade0460f","name":"SignalHarness Prompt Section Normalize","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/prompt_section_normalize/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Verify the caller-supplied data before relying on this result."],"service_id":"prompt_section_normalize","analysis_json":"{\"example\":\"schema-valid caller-supplied data\"}","evidence_scope":"caller_supplied_data"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"prompt_section_normalize","executionId":"example-execution","startedAtMs":0,"amountAtomic":"5000","resultSha256":"c943b09e535cb18540a02f5be07494af5b279fffd20721778172f44f8314b3d0","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pdFd5umVmm5WSddoWZA1w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes and standardizes a JSON-encoded prompt section structure into a canonical, schema-valid format","exampleAgentPrompt":"Can you normalize this raw prompt section JSON into a canonical, schema-valid format? Here's the JSON string: '{\"section\":\"context\",\"content\":\"You are a helpful assistant\",\"role\":\"system\"}'","exampleUseCases":[{"title":"Standardize agent prompt templates","prompt":"I have a bunch of prompt sections with inconsistent formatting — can you normalize this one into the canonical schema: '{\"sec\":\"instructions\",\"txt\":\"Always respond in bullet points\",\"type\":\"sys\"}'?"},{"title":"Validate prompt section before pipeline ingestion","prompt":"Before I feed this prompt section into my processing pipeline, can you normalize and validate it for me? The raw JSON is: '{\"section\":\"user_query\",\"body\":\"What is the weather today?\",\"role\":\"user\"}'"},{"title":"Clean up malformed prompt JSON from user input","prompt":"A user submitted this prompt section and it looks a bit off — can you normalize it into the standard format so I can use it safely? Here it is: '{\"prompt_part\":\"summarize the article\",\"context\":\"news\",\"mode\":\"assistant\"}'"}],"resultDescription":"Returns a JSON object containing the normalized analysis_json with the canonical prompt section data, any warnings about caller-supplied data reliability, service metadata including the service_id, and a cryptographic receipt with payment confirmation, execution timing, result hash, and settlement reference on Base network.","failureModes":["Invalid or malformed request_json string (not valid JSON) results in an error response","request_json exceeds 65536 character limit causes rejection","Empty or too-short request_json (minLength 2) returns validation error","Payment failure on Base network prevents execution","Service returns warnings when caller-supplied data cannot be fully verified"],"whenToPreferThis":"Choose this endpoint when you need to programmatically normalize or canonicalize prompt section JSON structures into a consistent, schema-valid format — particularly within AI agent pipelines that require standardized prompt inputs. It is well-suited for pay-per-call, low-volume normalization tasks where you need a receipt and audit trail via the x402 payment protocol on Base USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:26.875Z","isFirstParty":false}