API Reference

AI Gateway endpoints, input fields, and output fields.

The AI Gateway API is exposed under /pty/federated-guardrails/v1.

Each API page lists the method, URL, input fields, and output fields for its endpoints. When an admin token is configured, send it as Authorization: Bearer <admin-token>. Mutating admin requests must also include X-Requested-With: XMLHttpRequest for CSRF protection. Cedar policy is managed by Policy; the Cedar endpoints expose or synchronize the active policy and are not local policy-file workflows.

The machine-readable contract is available here: Download the AI Gateway OpenAPI specification.


Health

Health and readiness endpoints.

Administration

Gateway administration endpoints and their per-instance behavior.

Policy

YAML policy inspection and scanner validation endpoints.

Last modified : October 28, 2026