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
Examples:
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.
GET /api/docs/context/[[...slug]]Examples:
curl https://agentmag.dev/api/docs/context/index
curl https://agentmag.dev/api/docs/context/web-intelligence/scrape