GitLab Repository Sync API for Cursor Cloud Agents

Feature request for product/service

BugBot

Describe the request

We are using Cursor Cloud Agents in an automated workflow where our platform creates a new GitLab repository, pushes generated code, and immediately triggers a Cursor Agent to fix build/compilation issues.

Currently, the agent API fails with:

{
“error”: “[invalid_argument] Error”
}

Cursor Support confirmed this happens because new GitLab repositories must be manually synced from:

Integrations → GitLab → Manage → Sync Repos

This blocks fully automated workflows.

It would be very helpful if Cursor provided:

An API to sync/register GitLab repositories programmatically.
An API to check whether a repository is ready for Cloud Agents.
A webhook/event when repository sync is completed.

This would enable AI code generation platforms, CI/CD systems, and internal developer platforms to use Cursor Cloud Agents without manual dashboard steps.

Operating System (if it applies)

MacOS