{"uid":"cap_MCmAho1PN_RZV2Tp7xgAZ","slug":"nomos-service-preflight-risk-authorization-check-59f2090b","name":"Nomos Service Preflight Risk & Authorization Check","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/x402/v1/service/preflight","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"type":"object","required":["target_url","price_usdc","buyer_budget_usdc","purpose"],"properties":{"purpose":{"type":"string","maxLength":120,"minLength":2},"price_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$"},"target_url":{"type":"string","maxLength":500,"minLength":8},"idempotency_key":{"type":"string","maxLength":128},"buyer_budget_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"nomos-service-preflight","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GlyyGfM3tiJBG-RiyOvOM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a target API call before execution by returning identity, risk score, flags, and authorization assessment for autonomous agents.","exampleAgentPrompt":"Before spending 0.10 USDC to call https://api.someservice.com/generate for the purpose of 'image generation', run a preflight risk check on it and tell me the risk score and any flags — my total budget is 5.00 USDC.","exampleUseCases":[{"title":"Budget-aware agent payment gating","prompt":"Before my agent pays 0.50 USDC to call https://api.databroker.xyz/lookup for 'contact data enrichment', check the risk level and whether it's safe to proceed — my remaining budget is 10.00 USDC."},{"title":"Autonomous workflow safety screening","prompt":"I'm building an agent that auto-calls APIs. Before it executes a POST to https://api.legaldocs.io/sign for the purpose of 'contract signing' at a price of 2.00 USDC, run a preflight authorization check and tell me if there are any red flags or identity issues."},{"title":"Multi-step agent risk guardrail","prompt":"My agent is about to spend 0.10 USDC calling https://base-agent-preflight.bytoken2023.workers.dev/x402/v1/service/sms for 'sending alert notifications' — can you do a Nomos preflight assessment first and tell me the risk score, flags, and provenance details before it proceeds?"}],"resultDescription":"Returns a JSON object with network (e.g. eip155:8453), product identifier, and an assessment block containing risk_level (e.g. 'low'), numeric risk_score, and flags array. May also include identity, activity, and provenance sub-objects for deeper agent decision-making.","failureModes":["Missing required query parameters (target_url, price_usdc, buyer_budget_usdc, purpose) returns validation error","Invalid URL format for target_url returns schema rejection","Payment not received or x402 payment failure results in 402 response before assessment is returned","Malformed price strings (non-numeric) rejected by pattern validation","Network or Cloudflare Worker timeout returns 5xx error"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs a lightweight, paid-per-call risk and authorization signal before executing an action — especially when the agent is about to spend crypto (USDC) on a service it hasn't vetted before. Prefer over manual URL inspection or static allowlists when operating in dynamic multi-service environments on Base/EVM chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:41.361Z","isFirstParty":false}