# CPAN Updates Digest — LLM Brief

> CPAN Updates Digest — LLM Brief is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Returns an LLM-written digest summarizing the most consequential Perl CPAN module updates and breaking changes in a given time window, with upgrade guidance.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/cpan/brief
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cpan-updates-digest-llm-brief-b3f7df2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hRrmoj7cJ0B0aTzXauyjk

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 cpan-updates-digest-llm-brief-b3f7df2f
```

Example prompt: Give me an LLM-written digest of the most important CPAN updates and breaking changes since January 1, 2025, including any upgrade guidance I should know about.

## When to prefer this

Use this endpoint when you need a human-readable, AI-synthesized summary of Perl CPAN changes rather than raw release data. It is ideal for developers maintaining Perl codebases who want a curated, actionable briefing on breaking changes and upgrade guidance without parsing raw changelogs. Prefer this over raw CPAN scraping when the goal is a digestible narrative with prioritization by consequence.

## Known failure modes

- No changes found in the requested window — digest may be empty or minimal
- Invalid 'since' date-time format returns a 400-level error
- Payment not accepted or insufficient funds (x402 payment required at $0.25 USDC per call)
- LLM generation failure may fall back to template-based output (generatedBy: 'template')
- Window too large may result in slower response or truncated digest

## How this service works

Plain-English digest of the Perl CPAN ecosystem: which tracked packages (Moose, Mojolicious, DBI, Dancer2, and more) shipped notable or breaking major releases since T, why they matter, and whether to bump your cpanfile.

## Output

Returns a JSON object containing: a 'brief' field with a natural-language LLM-written summary of the most consequential CPAN updates and breaking changes in the requested window, a 'generatedBy' field indicating whether the digest was produced by an LLM or a template, and a 'basedOnChanges' integer showing how many changes were analyzed to produce the digest.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Window start (default: last 30 days)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "brief": {
       "type": "string"
      },
      "generatedBy": {
       "enum": [
        "llm",
        "template"
       ],
       "type": "string"
      },
      "basedOnChanges": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cpan-updates-digest-llm-brief-b3f7df2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
