# BRAINIAC Packet Loss Pattern Analyzer

> BRAINIAC Packet Loss Pattern Analyzer is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-12).

Analyzes network packet loss data to identify elevated loss patterns, flag anomalies, and produce structured findings across paths and time windows.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/network-intelligence/packet-loss-pattern-analyze?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-packet-loss-pattern-analyzer-b4bc1003
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RnYbRXWqB9M8TVqZqvTP8

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-packet-loss-pattern-analyzer-b4bc1003 -d '<json body>'
```

Example prompt: I have packet loss samples from our CDN paths — POP-A had 0.2% loss at 20:00 and 4% loss at 20:05 out of 1000 packets each. Can you analyze these for elevated loss patterns and flag anything above the warning threshold?

## When to prefer this

Choose this endpoint when you have structured packet loss telemetry (CSV, JSON, log entries, or raw counts) and need automated classification of elevated loss events with structured findings. Ideal for agents doing network health checks, SLA reporting, or post-incident analysis. Prefer over general log analysis tools when specifically working with packet loss metrics and needing threshold-based flagging with provenance metadata.

## Known failure modes

- Malformed or empty input data returns no items and an empty findings array
- Loss percentage not supplied and cannot be computed from sent/lost counts results in lossPctSupplied=false
- CSV or JSON exceeding 200,000 character limit may be rejected
- Timestamps in unrecognized formats may cause incorrect time-ordering
- Missing path IDs result in grouping all samples under a default path

## 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 structured JSON object with per-sample analysis (timestamp, path ID, packets sent, lost, loss percentage, elevated flag), aggregated findings with codes like 'packet_loss_elevated', total sample count, elevated count, analysis status, and provenance/limitation metadata indicating no private networks were scanned and no paid reputation APIs were used.

## Request schema (JSON Schema)

```json
{
 "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"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "at": "2026-11-04T20:00:00.000Z",
    "id": "P1",
    "host": "",
    "lost": 2,
    "sent": 1000,
    "pathId": "POP-A",
    "source": "Caller-supplied",
    "lossPct": 0.2,
    "elevated": false,
    "lossPctSupplied": true,
    "privateNetworkScanned": false
   },
   {
    "at": "2026-11-04T20:05:00.000Z",
    "id": "P2",
    "host": "",
    "lost": 40,
    "sent": 1000,
    "pathId": "POP-A",
    "source": "Caller-supplied",
    "lossPct": 4,
    "elevated": true,
    "lossPctSupplied": true,
    "privateNetworkScanned": false
   }
  ],
  "status": "analyzed",
  "findings": [
   {
    "code": "packet_loss_elevated",
    "kind": "conflict",
    "detail": "Packet loss 4% is at or above warning threshold 1%.",
    "subject": "P2"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "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."
  ],
  "sampleCount": 2,
  "elevatedCount": 1,
  "apiKeyRequired": false,
  "paidProviderUsed": false,
  "publicDnsQueried": false,
  "publicTlsInspected": false,
  "paidReputationApiUsed": false,
  "privateNetworkScanned": false,
  "intrusiveScanPerformed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-packet-loss-pattern-analyzer-b4bc1003/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)
