API Examples

Details
You are currently viewing the documentation for a stable release. If you are working with the main development branch, select v0.0.0.

The **AI Optimizer** API Server exposes all features programmatically via REST endpoints. You can explore the full API reference through the built-in Swagger UI at /v1/docs when the server is running. The page prompts for the x-api-key on load before rendering the documentation.

All API requests require authentication using the x-api-key header, which must match the API key configured on the server.