# Agent402 Document Brief – PDF Summarizer

> Agent402 Document Brief – PDF Summarizer is a paid API for AI agents from agent402.tools, paid per call via x402, $0.031/call, status unknown (last checked 2026-09-14).

Fetches a PDF by URL and returns a structured multi-step summary including metadata, full summary, and extracted page content

## Facts

- Endpoint: POST https://agent402.tools/api/skill/document-brief
- Price: $0.031/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-document-brief-pdf-summarizer-3898c63e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ETiAvoVVrgFAzUgryLUlj

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 agent402-document-brief-pdf-summarizer-3898c63e -d '<json body>'
```

Example prompt: Can you summarize the PDF at https://bitcoin.org/bitcoin.pdf and give me the key points from each section?

## When to prefer this

Choose this endpoint when you need a quick, structured summary of a PDF document accessible via URL without any signup or API key — especially in agentic workflows where you want metadata, a full summary, and per-page extraction in a single pay-per-call request. Prefer it over generic LLM document loaders when you want multi-step pipeline results with explicit success/failure per stage and pay-as-you-go USDC billing via x402.

## Known failure modes

- PDF URL is inaccessible or returns a non-200 response — step marked ok:false
- URL points to a non-PDF resource — parsing steps may fail
- Very large PDFs may time out or return partial results
- Password-protected or encrypted PDFs cannot be parsed
- Malformed URL input causes immediate rejection

## How this service works

Bundled execution of the Document brief workflow - Metadata, an AI-written summary, and a preview of the opening pages of a PDF - understand what a document says without reading the whole thing. The catalog's first AI-summarization pack, complementary to document-intel's deterministic format extraction (no AI, no summarization there). One x402 payment runs 3 underlying tools (pdf-info, pdf-summarize, pdf-extract-pages); partial-success per step.

## Output

Returns a JSON object with the original URL, step-by-step results from three pipeline stages (pdf-info for metadata, pdf-summarize for the full text summary, pdf-extract-pages for per-page content), and a summary string indicating how many steps succeeded (e.g. '3/3 steps succeeded').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "PDF URL to summarize (e.g. https://example.com/report.pdf)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "url": "https://bitcoin.org/bitcoin.pdf"
  },
  "pack": "document-brief",
  "steps": [
   {
    "ok": true,
    "slug": "pdf-info",
    "result": {}
   },
   {
    "ok": true,
    "slug": "pdf-summarize",
    "result": {}
   },
   {
    "ok": true,
    "slug": "pdf-extract-pages",
    "result": {}
   }
  ],
  "summary": "3/3 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-document-brief-pdf-summarizer-3898c63e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
