# BRAINIAC Deployment Blast Radius Analyzer

> BRAINIAC Deployment Blast Radius Analyzer is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-14).

Computes the transitive set of services affected by a proposed deployment change, tracing upstream and/or downstream dependencies across a user-supplied service graph.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/devops/deployment-blast-radius?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-deployment-blast-radius-analyzer-e701c709
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LIN8Zh4UWDSBCjVwY2NHN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-deployment-blast-radius-analyzer-e701c709 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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).

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-deployment-blast-radius-analyzer-e701c709/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
