# Permission Audits — Numeric Row Ordering + Trailing Mean Series

> Permission Audits — Numeric Row Ordering + Trailing Mean Series is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-03).

Computes numeric row ordering and trailing mean series for permission audit data (assigned_permissions, unused_permissions) across up to 200 rows, returning 2 analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-security-12-115?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/permission-audits-numeric-row-ordering-trailing-mean-series-769db231
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pNi0L9Lp2q-CH-tWUaFkD

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 permission-audits-numeric-row-ordering-trailing-mean-series-769db231 -d '<json body>'
```

Example prompt: Can you rank these permission audit rows and compute a trailing mean with a window of 3 for the unused_permissions field? I have 4 rows: row-1 on 2026-10-01 (group-a, assigned=10, unused=1), row-2 on 2026-10-02 (group-b, assigned=20, unused=2), row-3 on 2026-10-03 (group-a, assigned=15, unused=3), row-4 on 2026-10-04 (group-b, assigned=30, unused=4).

## When to prefer this

Choose this endpoint when you need both a numeric ranking and a trailing moving average for permission audit data in a single low-cost call ($0.01 USDC). It is ideal for security or compliance workflows that need to process up to 200 rows of access-control audit records offline, without external lookups or predictions. Prefer it over general analytics tools when your data is already structured as permission audit rows with assigned and unused permission counts.

## Known failure modes

- Fewer than 1 row or more than 200 rows submitted — request rejected
- Window size larger than the number of submitted rows — trailing mean may produce nulls or error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Missing required fields (row_id, date, assigned_permissions, unused_permissions) — request rejected
- Non-numeric values for permission fields — schema validation failure
- Payment not provided or insufficient — 402 response blocking execution

## How this service works

Permission audits — Numeric row ordering + Trailing mean series: Numeric row ordering + Trailing mean series for supplied permission audits records (assigned_permissions, unused_permissions). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Two analytical reports: (1) a numeric row ordering report ranking the supplied permission audit rows by the selected field, and (2) a trailing mean series report showing rolling averages for the selected field (assigned_permissions or unused_permissions) over the specified window size. Both reports are computed locally with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "control_group",
     "date",
     "assigned_permissions",
     "unused_permissions"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "control_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "unused_permissions": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "assigned_permissions": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "control_group": "group-a",
     "unused_permissions": 1,
     "assigned_permissions": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "control_group": "group-b",
     "unused_permissions": 2,
     "assigned_permissions": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "control_group": "group-a",
     "unused_permissions": 3,
     "assigned_permissions": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "control_group": "group-b",
     "unused_permissions": 4,
     "assigned_permissions": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "assigned_permissions",
    "unused_permissions"
   ],
   "type": "string",
   "default": "assigned_permissions"
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/permission-audits-numeric-row-ordering-trailing-mean-series-769db231/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
