Add REST API for Duo Chat (and possibly other Duo features)
Problem
There currently is no way to programmatically interact with the Gitlab Duo Chat feature (or any other AI feature, with the only exception of the code suggestions API). This affects feature parity between our GraphQL and API interfaces, and makes it difficult for the AI teams to automate testing of changes.
Proposal
Expand our REST API to include support for Duo Chat. We could implement this such that all Duo Chat features are exposed this way, but the priority at the moment is Duo Chat (see &11567 (comment 1582569249))
Status as of 2024-04-03
We implemented the endpoint for Duo Chat and stopped there to focus on other priorities. Given that the introduction of the Chat endpoint was aimed at aiding the workflow of internal developers, and as of this update it still remains enabled only for GitLab team members, there hasn't been any internal or customer push to add endpoints for other Duo features.