Get several file contents in one request
One step with GitLab. We can help you get access.
Look something up
Get several file contents in one request
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Repositories API lets you get several file contents in one request in a single step (POST /api/v4/projects/{id}/repository/blobs/batch). 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 fetch the contents of many files at once?
- Can I get up to 20 files in a single request?
Say it to your AI assistant
- Get the contents of files {files} in project {id}.
- Batch fetch {files} from {id} in one request.
For your developer
POST /api/v4/projects/{id}/repository/blobs/batch in GitLab REST Repositories API. Full spec on APIs.io.