Documentation
Agent Context

Context API

JSON endpoint that returns structured docs context for any Agent Mag documentation page.

Status: Available.

The docs context API powers the Copy Page menu, CLI docs installs, and the public docs mirror.

Endpoint

code
GET /api/docs/context/[[...slug]]

Examples:

code
curl https://agentmag.dev/api/docs/context/index
curl https://agentmag.dev/api/docs/context/web-intelligence/scrape

On this page