Generate AI code completions
One step with GitLab. We can help you get access.
Get something done
Generate AI code completions
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Code Suggestions API lets you generate AI code completions in a single step (POST /api/v4/code_suggestions/completions). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I get AI-generated code suggestions for a file?
- Can I pass a user instruction and context to shape a code suggestion?
Say it to your AI assistant
- Generate a code suggestion for file {current_file}.
- Suggest code for {current_file} with instruction {user_instruction} and context {context}.
For your developer
POST /api/v4/code_suggestions/completions in GitLab REST Code Suggestions API. Full spec on APIs.io.