{"data":{"name":"MagicStack AI Gateway","status":"ok","headers":{"required":["X-Tenant-Id","X-API-Key"],"optional":["X-Correlation-Id"],"notes":{"model_management":"POST/PUT/DELETE /models require 'Authorization: Bearer <token>' and ADMIN role validation","tenant_api":"GET /models and AI execution endpoints still use X-Tenant-Id + X-API-Key"}},"authorization":{"model_management":"Requires 'Authorization: Bearer <token>' with ADMIN role from JWT validation"},"endpoints":[{"method":"POST","path":"/execute","description":"Execute AI request (chat | image | embedding)"},{"method":"GET","path":"/requests","description":"List AI requests for tenant"},{"method":"GET","path":"/requests/:id","description":"Get AI request details by id"},{"method":"GET","path":"/rate-limit","description":"Get current rate-limit usage"},{"method":"GET","path":"/models","description":"List valid models for tenant"},{"method":"POST","path":"/models","description":"Create permitted model (Authorization Bearer token with ADMIN role required)"},{"method":"PUT","path":"/models/:id","description":"Update permitted model (Authorization Bearer token with ADMIN role required)"},{"method":"DELETE","path":"/models/:id","description":"Delete permitted model (Authorization Bearer token with ADMIN role required)"}]}}