Add agent_workflow mirror endpoint
What does this MR do and why?
This change adds a new API endpoint specifically designed for AI agents to create and start workflows with limited privileges. The new endpoint is a restricted version of an existing workflow creation API that prevents agents from escalating their own permissions when creating workflows. It includes comprehensive parameter validation, supports both catalog-based flows and foundational workflows, and can optionally start workflows in CI pipelines. The endpoint requires special authentication tokens and includes proper error handling, access controls, and event tracking for security monitoring.
References
gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!4777
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.