# Company Decision Oracle – Refresh (Recompute Prior Decision)

> Company Decision Oracle – Refresh (Recompute Prior Decision) is a paid API for AI agents from cdo-staging.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Re-runs a full company intelligence decision for a previously evaluated Brazilian CNPJ, reports which domains changed vs. unchanged, and issues a fresh signed receipt and optional new passport.

## Facts

- Endpoint: POST https://cdo-staging.up.railway.app/v1/agent/refresh
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/company-decision-oracle-refresh-recompute-prior-decision-945ede02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ME0-MmwarJWc5ZebGIH78

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 company-decision-oracle-refresh-recompute-prior-decision-945ede02 -d '<json body>'
```

Example prompt: Re-run the full Company Decision Oracle check for CNPJ 12.345.678/0001-99 using my previous passport ID from last month — I want to see which domains changed and get a fresh signed receipt.

## When to prefer this

Choose this endpoint when you already have a prior passport or subject record for a Brazilian company and need a full, fresh recomputation rather than relying on a potentially stale prior result. It is the right choice when you need to detect what has changed across all intelligence domains since the last decision, need a new cryptographically signed receipt for audit or contractual purposes, or need to reissue a passport for a company whose prior one has expired. It is a flat-price full recomputation — not a delta or incremental check — so use it when completeness and a signed artifact matter more than speed.

## Known failure modes

- Invalid or unrecognized CNPJ format returns a validation error
- Prior passport or subject ID not found returns a not-found error
- Upstream Brazilian registry or sanctions data sources temporarily unavailable causes a computation failure
- Insufficient USDC balance or x402 payment failure prevents the call from completing
- CNPJ that no longer exists in official registries may return a degraded or failed decision

## How this service works

Company Intelligence Reassessment — re-runs the FULL decision for a prior subject/passport, reports which domains changed vs unchanged, and issues a fresh signed receipt (and passport if still approving). Full recomputation at a flat price (not an incremental/delta engine). CNPJ only.

## Output

Returns a structured report listing which company intelligence domains changed and which remained unchanged since the prior evaluation, a freshly signed receipt attesting to the new decision, and — if the company still passes the decision criteria — a new signed passport for the subject CNPJ.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "$id": "cdo.agent.refresh.input",
     "type": "object",
     "anyOf": [
      {
       "required": [
        "passport_id"
       ]
      },
      {
       "required": [
        "subject"
       ]
      }
     ],
     "properties": {
      "subject": {
       "type": "object",
       "properties": {
        "cnpj": {
         "type": "string",
         "pattern": "^[0-9./\\s-]{11,20}$",
         "maxLength": 20,
         "minLength": 11,
         "description": "Brazilian CNPJ — 14 digits, with or without punctuation (e.g. 11222333000181 or 11.222.333/0001-81). CPF (11-digit personal id) is rejected by policy."
        },
        "type": {
         "type": "string",
         "maxLength": 40
        }
       },
       "additionalProperties": false
      },
      "objective": {
       "type": "string",
       "maxLength": 80
      },
      "passport_id": {
       "type": "string",
       "maxLength": 60
      },
      "risk_context": {
       "type": "object",
       "properties": {
        "risk_appetite": {
         "enum": [
          "CONSERVATIVE",
          "MODERATE",
          "AGGRESSIVE"
         ],
         "type": "string"
        }
       },
       "additionalProperties": false
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/company-decision-oracle-refresh-recompute-prior-decision-945ede02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cdo-staging.up.railway.app](https://www.zero.xyz/host/cdo-staging.up.railway.app/llms.txt)
