Get a personal snippet
One step with GitLab. We can help you get access.
Look something up
Get a personal snippet
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Snippets API lets you get a personal snippet in a single step (GET /api/v4/snippets/{id}). 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 read one of my personal snippets?
- Can I fetch a personal snippet by ID?
Say it to your AI assistant
- Get personal snippet {id}.
- Show the details of my snippet {id}.
For your developer
GET /api/v4/snippets/{id} in GitLab REST Snippets API. Full spec on APIs.io.