> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://summarize.martino.im/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://summarize.martino.im/_mcp/server.

# Retry Behavior

The API layer automatically retries on transient failures:

* **Rate limits** — 3 attempts with backoff
* **Timeouts** — 3 attempts
* **Authentication errors** — Fail immediately
* **Bad requests** — Fail immediately

```mermaid
stateDiagram-v2
  [*] --> Request: attempt 1 of 3
  Request --> Done: 200 OK
  Request --> Failed: auth or bad request
  Request --> Backoff: rate limit, timeout, or other error
  Backoff --> Request: wait 1s, then 2s
  Backoff --> Failed: attempts exhausted
  Backoff --> Empty: unexpected error exhausted
  Done --> [*]: chunk summary
  Failed --> [*]: APIError
  Empty --> [*]: drop the chunk
```

> **Tip:** Use `--verbose` to see the retry attempts in real time.