openapi: 3.2.0 info: title: AI Gateway MCP Server Automations API description: Universal MCP Gateway with OAuth integration - Modern Architecture version: 2.0.3290 tags: - name: Automations paths: /api/automations: get: summary: List My Automations description: Every automation the calling user owns (full records — their own). operationId: list_my_automations_api_automations_get responses: '200': description: Successful Response content: application/json: schema: {} tags: - Automations post: summary: Post My Automation description: 'Create or update the visibility of an automation the caller owns. Body: ``{automation_id, visibility, allowed_emails: [...], requires: [...]}``. The caller is recorded as ``created_by``; updating an automation owned by a different user is refused (admin can re-own via the admin route).' operationId: post_my_automation_api_automations_post responses: '200': description: Successful Response content: application/json: schema: {} tags: - Automations delete: summary: Delete My Automation description: Delete an automation the caller owns. ``?automation_id=``. operationId: delete_my_automation_api_automations_delete responses: '200': description: Successful Response content: application/json: schema: {} tags: - Automations