Add code review comments to a merge request
POST
/api/v4/ai/duo_workflows/code_review/add_comments
Adds review comments generated by Duo Workflows to a merge request.
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
project_id
required
The ID or path of the project
string
merge_request_iid
required
The IID of the merge request
integer
review_output
required
The review output from LLM
string
workflow_id
The ID of the Duo Workflow session
integer
Example generated
{ "project_id": "example", "merge_request_iid": 1, "review_output": "example", "workflow_id": 1}Responses
Section titled “ Responses ”OK
Validation failed
Unauthorized
Forbidden
Not found