capabilities.work

Get a blob's info and content

One step with GitLab. We can help you get access.

Look something up

Get a blob's info and content

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Repositories API lets you get a blob's info and content in a single step (GET /api/v4/projects/{id}/repository/blobs/{sha}). 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 see the size and Base64 content of a file blob in a repo?
  • What does a blob record include besides its SHA?
Say it to your AI assistant
  • Get blob {sha} in project {id}.
  • Show the size and content of file blob {sha} in {id}.
For your developer

GET /api/v4/projects/{id}/repository/blobs/{sha} in GitLab REST Repositories API. Full spec on APIs.io.