# SAN Agent Recent Canonical Events

> SAN Agent Recent Canonical Events is a paid API for AI agents from gateway.sanfoundation.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Retrieves recent canonical events for a specific SAN agent, collapsing matching source articles into deduplicated records with source counts and source arrays.

## Facts

- Endpoint: GET https://gateway.sanfoundation.com/x402/v1/agents/:ref/events
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway-sanfoundation-com-254d2c3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L3x8C6CpdS6TjLETxYsu3

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 gateway-sanfoundation-com-254d2c3b
```

Example prompt: Pull the most recent canonical events for my SAN agent with ref 'noah-001' — I want to see the collapsed event records with their source counts and source lists.

## When to prefer this

Use this endpoint when you need a deduplicated, canonical view of recent events tracked by a specific SAN agent — particularly when you want source provenance (how many articles and which sources contributed to each event). Prefer this over the single-event lookup endpoint when you need a batch of recent events rather than one specific evt_… record.

## Known failure modes

- Invalid or unknown agent ref returns 404
- Expired or missing x402 payment token returns 402 Payment Required
- Agent has no recent events, returns empty array
- Malformed ref parameter returns 400 Bad Request
- Rate limiting or quota exceeded returns 429

## How this service works

Recent canonical events for a SAN agent. Each event collapses matching source articles into a single record with sourceCount and a sources[] array.

## Output

A list of recent canonical event records for the specified SAN agent. Each record represents a deduplicated event collapsed from multiple matching source articles, including a sourceCount integer and a sources[] array identifying the contributing articles, plus an evt_… identifier for cross-referencing with reports.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway-sanfoundation-com-254d2c3b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.sanfoundation.com](https://www.zero.xyz/host/gateway.sanfoundation.com/llms.txt)
