# Hex (Elixir/Erlang) Package Updates Digest

> Hex (Elixir/Erlang) Package Updates Digest 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-14).

Returns an LLM-written digest summarizing the most consequential Hex package updates and breaking changes for Elixir/Erlang within a specified time window, with upgrade guidance.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/hex/brief
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hex-elixir-erlang-package-updates-digest-00e5a506
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZEXxZWOhUhlUkzhZgqDR6

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 hex-elixir-erlang-package-updates-digest-00e5a506
```

Example prompt: Can you give me a digest of the most important Hex package updates and breaking changes since January 1st 2025, with upgrade guidance?

## When to prefer this

Use this endpoint when you need a curated, human-readable summary of Hex ecosystem changes rather than raw package metadata. Ideal for developer teams wanting a weekly/monthly briefing on Elixir/Erlang dependencies, or when you need upgrade guidance without manually scanning Hex.pm changelogs. Prefer this over raw Hex.pm API queries when narrative context and prioritization matter.

## Known failure modes

- No changes found in the specified window — returns a brief indicating no significant updates
- Invalid date-time format for 'since' parameter — returns a 400-level error
- Upstream Hex data source unavailable — may return 5xx or empty digest
- Payment not completed — returns 402 Payment Required before content is served

## How this service works

Plain-English digest of the Elixir/Erlang Hex ecosystem: which tracked packages (phoenix, ecto, plug, phoenix_live_view, and more) shipped notable or breaking major releases since T, why they matter, and whether to bump your mix.exs.

## Output

A JSON object containing a 'brief' field with an LLM-generated prose digest of consequential Hex/Elixir/Erlang package updates and breaking changes, a 'generatedBy' field indicating whether it was produced by an LLM or template, and a 'basedOnChanges' integer showing how many changes were analyzed.

## 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/hex-elixir-erlang-package-updates-digest-00e5a506/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)
