Download a file's raw content
One step with Harness. We can help you get access.
Look something up
Download a file's raw content
with Harness
Works with AI assistants
Use Harness: its Harness Repository API lets you download a file's raw content in a single step (GET /code/api/v1/repos/{repo_identifier}/raw/{path}). Harness 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.
- Can I download the raw bytes of a file from a repo?
- What's the endpoint for getting a file's plain raw content at a given branch?
Say it to your AI assistant
- Download the raw file {path} from repository {repo}.
- Get raw bytes of {path} in repo {repo} at {ref}.
For your developer
GET /code/api/v1/repos/{repo_identifier}/raw/{path} in Harness Repository API. Full spec on APIs.io.