{"uid":"cap_KVgIb44u97A6u7FSzW1qz","slug":"brainiac-network-intelligence-configuration-diff-cbd52de0","name":"BRAINIAC Network Intelligence Configuration Diff","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/network-intelligence/configuration-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"file":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"logs":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"source":{"type":"string","maxLength":200},"message":{"type":"string","maxLength":4000},"facility":{"type":"string","maxLength":80},"severity":{"type":"string","maxLength":40},"sourceIp":{"type":"string","maxLength":80},"destinationIp":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":10000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":20},"configs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"key":{"type":"string","maxLength":200},"path":{"type":"string","maxLength":200},"side":{"enum":["left","right","before","after","a","b"],"type":"string"},"value":{"type":"string","maxLength":4000},"source":{"type":"string","maxLength":200},"deviceId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":10000},"bgpRoutes":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"peer":{"type":"string","maxLength":80},"side":{"enum":["before","after","left","right","a","b"],"type":"string"},"asPath":{"type":"string","maxLength":500},"prefix":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"nextHop":{"type":"string","maxLength":80},"originAs":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"incidents":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"title":{"type":"string","maxLength":200},"detail":{"type":"string","maxLength":2000},"source":{"type":"string","maxLength":200},"severity":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"publicDns":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string","maxLength":253,"minLength":1},"recordType":{"enum":["A","AAAA","CNAME","MX","TXT","NS"],"type":"string"}},"additionalProperties":false},"publicTls":{"type":"object","required":["host"],"properties":{"host":{"type":"string","maxLength":253,"minLength":1}},"additionalProperties":false},"dnsRecords":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"rcode":{"type":"string","maxLength":40},"answer":{"type":"string","maxLength":500},"source":{"type":"string","maxLength":200},"hostname":{"type":"string","maxLength":253},"resolver":{"type":"string","maxLength":80},"latencyMs":{"type":"number","maximum":1000000,"minimum":0},"recordType":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA"],"type":"string"},"expectedAnswer":{"type":"string","maxLength":500}},"additionalProperties":false},"maxItems":5000},"reputations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"ip":{"type":"string","maxLength":80},"score":{"type":"number","maximum":100,"minimum":0},"listed":{"type":"boolean"},"source":{"type":"string","maxLength":200},"category":{"type":"string","maxLength":120},"hostname":{"type":"string","maxLength":253},"listName":{"type":"string","maxLength":120},"observedAt":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"certificates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"issuer":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"notAfter":{"type":"string","maxLength":40},"notBefore":{"type":"string","maxLength":40},"commonName":{"type":"string","maxLength":253},"serialNumber":{"type":"string","maxLength":120},"fingerprintSha256":{"type":"string","maxLength":120}},"additionalProperties":false},"maxItems":2000},"latencySamples":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"pathId":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"latencyMs":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":10000},"latencyAnomalyZ":{"type":"number","maximum":10,"minimum":1},"expiryWarningDays":{"type":"number","maximum":3650,"minimum":0},"packetLossSamples":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"lost":{"type":"number","maximum":1000000000,"minimum":0},"sent":{"type":"number","maximum":1000000000,"minimum":0},"pathId":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"lossPct":{"type":"number","maximum":100,"minimum":0}},"additionalProperties":false},"maxItems":10000},"packetLossWarnPct":{"type":"number","maximum":100,"minimum":0}}},"responseSchema":{"type":"json","example":{"items":[{"key":"edge_1_interfaces_eth0_mtu","path":"interfaces/eth0","leftId":"K1","source":"Caller-supplied; Caller-supplied","changed":true,"rightId":"K2","deviceId":"edge-1","configKey":"mtu","leftValue":"1500","rightValue":"9000","privateNetworkScanned":false},{"key":"edge_1_bgp_local_as","path":"bgp","leftId":"K3","source":"Caller-supplied; Caller-supplied","changed":false,"rightId":"K4","deviceId":"edge-1","configKey":"local-as","leftValue":"64500","rightValue":"64500","privateNetworkScanned":false}],"status":"diffed","findings":[{"code":"config_changed","kind":"conflict","detail":"Configuration value changed for mtu.","subject":"K1"}],"checkedAt":"2026-11-04T21:00:00.000Z","pairCount":2,"limitations":["Network logs, latency/packet-loss samples, DNS answers, BGP routes, certificates, configs, reputation labels, and incidents are copied only from labeled fields supplied by the caller, or from optional key-free public DNS / public TLS port-443 inspection when explicitly requested.","Private, loopback, link-local, and documentation addresses are never contacted. Private networks are not scanned.","No intrusive security testing is performed and no paid reputation API is used.","IP reputation uses only caller-supplied labels/observations. Missing reputation data is not invented.","Infrastructure health reports aggregate only sections for which records were supplied or optionally fetched."],"changedCount":1,"apiKeyRequired":false,"paidProviderUsed":false,"publicDnsQueried":false,"publicTlsInspected":false,"paidReputationApiUsed":false,"privateNetworkScanned":false,"intrusiveScanPerformed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yun7Xj3euriGFLf5TolS1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two sets of network device configurations side-by-side, identifies changed values, and reports conflict findings between the two states.","exampleAgentPrompt":"Compare these two network config snapshots for edge-1 and tell me what changed — I'll give you the before config with MTU 1500 and local-as 64500, and the after config with MTU 9000 and local-as 64500, and I want to know which settings actually differ.","exampleUseCases":[{"title":"Post-deployment config drift check","prompt":"I just pushed a config change to our edge router — here are the before and after configs as JSON. Can you diff them and tell me exactly which values changed and flag any conflicts?"},{"title":"Security audit of unexpected changes","prompt":"Our network monitoring flagged a possible unauthorized change on edge-1 last night. I have the config from before and after the incident window — can you compare them and tell me what was modified?"},{"title":"BGP and interface settings comparison","prompt":"I have two config snapshots for our border router: one from last Tuesday and one from today. Compare them and tell me if the BGP local-as or any interface MTU settings were changed."}],"resultDescription":"Returns a list of diff items for each config key pair, each showing the left and right values, whether the value changed, the device ID, path, and source. Also returns a findings list with conflict codes and details, a summary count of changed pairs, the timestamp of the check, and a set of limitation disclosures about what data sources were and were not used.","failureModes":["Malformed or missing config arrays returns a validation error","Exceeding maxItems (10000 configs) causes rejection","Invalid side enum values (not left/right/before/after/a/b) cause schema errors","Empty input produces an empty diff with zero pairs","Oversized base64 file payloads exceeding 12MB per file cause rejection","Truncated or non-parseable config values may produce incomplete diff results"],"whenToPreferThis":"Use this endpoint when you need to programmatically compare two discrete snapshots of network device configuration — especially for infrastructure change auditing, compliance validation, or detecting drift between known-good and current states. It is purpose-built for structured network config fields (BGP routes, interface settings, key-value config pairs) rather than generic text diffing. Prefer it over generic diff tools when you want structured findings with conflict codes and device-scoped change tracking, and when you need a no-account, pay-per-call model via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:37:02.768Z","isFirstParty":false,"canonicalSlug":"brainiac-network-intelligence-configuration-diff-cbd52de0"}