{"uid":"cap_LIN8Zh4UWDSBCjVwY2NHN","slug":"brainiac-deployment-blast-radius-analyzer-e701c709","name":"BRAINIAC Deployment Blast Radius Analyzer","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/devops/deployment-blast-radius?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"changes":{"type":"array","items":{"type":"object","required":["id","service_id","change_kind"],"properties":{"id":{"type":"string","maxLength":120,"minLength":1},"detail":{"type":"string","maxLength":500,"minLength":1},"breaking":{"type":"boolean"},"service_id":{"type":"string","maxLength":120,"minLength":1},"change_kind":{"enum":["code","config","schema","infra","other"],"type":"string"}},"additionalProperties":false},"maxItems":500,"minItems":1},"services":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":120,"minLength":1},"name":{"type":"string","maxLength":200,"minLength":1},"tier":{"enum":["edge","app","data","platform","other"],"type":"string"}},"additionalProperties":false},"maxItems":500,"minItems":1},"direction":{"enum":["downstream","upstream","both"],"type":"string"},"dependencies":{"type":"array","items":{"type":"object","required":["from_service_id","to_service_id"],"properties":{"kind":{"enum":["runtime","build","data","config","other"],"type":"string"},"to_service_id":{"type":"string","maxLength":120,"minLength":1},"from_service_id":{"type":"string","maxLength":120,"minLength":1}},"additionalProperties":false},"maxItems":5000}}},"responseSchema":{"type":"json","example":{"summary":{"changes":1,"affected_services":4},"explanations":["Blast radius is the transitive closure over the supplied dependency graph from each changed service.","No CI/CD system or live inventory is queried."],"change_impacts":[{"breaking":true,"evidence":["Change ch1 starts at service db.","Downstream dependents via dependencies[].from->to: none.","Upstream dependents via reverse edges: api, edge, worker."],"change_id":"ch1","service_id":"db","change_kind":"schema","affected_service_ids":["api","db","edge","worker"],"upstream_service_ids":["api","edge","worker"],"downstream_service_ids":[]}],"affected_services":["api","db","edge","worker"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v0fccTAyUOlpCSMU_DB8Y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the transitive set of services affected by a proposed deployment change, tracing upstream and/or downstream dependencies across a user-supplied service graph.","exampleAgentPrompt":"Before I deploy this breaking schema change to our 'db' service, can you calculate the blast radius across our microservices? The services are: db (data tier), api (app tier), edge (edge tier), and worker (app tier). The dependencies are: api → db, edge → api, and worker → db. Trace both upstream and downstream.","exampleUseCases":[{"title":"Pre-deploy risk check for schema migration","prompt":"I'm about to run a schema migration on our 'payments-db' service. Our services are: payments-db (data), payments-api (app), checkout (app), and gateway (edge). Dependencies: payments-api → payments-db, checkout → payments-api, gateway → checkout. Can you tell me which services will be affected upstream and downstream, and flag it as a breaking change?"},{"title":"Config change impact analysis for platform service","prompt":"We're changing the config on our 'auth-platform' service. Services in our graph: auth-platform (platform), user-api (app), admin-api (app), mobile-gateway (edge). Dependencies: user-api → auth-platform, admin-api → auth-platform, mobile-gateway → user-api. What's the blast radius if I push this config change? Analyze both directions."},{"title":"Infrastructure rollout safety check","prompt":"Before we roll out an infra change to our 'kafka-broker' service, can you show us every service that could be impacted? Services: kafka-broker (platform), event-consumer (app), analytics (app), reporting (app), dashboard (app). Dependencies: event-consumer → kafka-broker, analytics → event-consumer, reporting → kafka-broker, dashboard → analytics. Trace downstream only."}],"resultDescription":"Returns a JSON object with a summary of total changes and affected service count, a list of all affected service IDs, per-change impact objects showing which service was changed, the change kind, affected/upstream/downstream service IDs, whether the change is breaking, and evidence strings explaining how each service was reached through the dependency graph. Also includes explanatory notes that no live CI/CD or inventory system is queried — the analysis is purely graph-based.","failureModes":["Missing required fields (id, service_id, change_kind) on a change object returns a validation error","Referencing a service_id in changes or dependencies that isn't listed in services may produce incomplete results or an error","Empty changes or services arrays rejected by minItems:1 constraint","Dependency list exceeding 5000 items or services/changes lists exceeding 500 items rejected","Malformed JSON body returns HTTP 400","Payment not received or insufficient USDC returns HTTP 402","Circular dependencies in the graph may produce unexpected transitive closures"],"whenToPreferThis":"Use this endpoint when you need a fast, stateless, graph-based blast radius calculation without connecting to any live CI/CD pipeline or service registry. It is ideal for pre-deployment risk analysis in automated agent workflows, CI gate checks, or change advisory processes where you supply your own service topology. Prefer it over live-inventory tools when you have a known dependency graph and want an instant, reproducible impact assessment at low cost ($0.04/call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T18:35:18.253Z","isFirstParty":false,"canonicalSlug":"brainiac-deployment-blast-radius-analyzer-e701c709"}