---
title: "get object content"
method: GET
path: "/repositories/{repository}/refs/{ref}/objects"
tags: ["objects"]
---

# get object content

`GET /repositories/{repository}/refs/{ref}/objects`

## Query parameters

- `presign` boolean

## Headers

- `Range` string
- `If-None-Match` string

## Response `200`

object content

## Other responses

- `206` — partial object content
- `302` — Redirect to a pre-signed URL for the object
- `304` — Content not modified
- `400` — Bad Request
- `401` — Unauthorized
- `404` — Resource Not Found
- `410` — object expired
- `416` — Requested Range Not Satisfiable
- `429` — too many requests
- `default` — Internal Server Error

---

[API](https://skmtc.net/treeverse/apis/lakefs-api.md) · [All operations](https://skmtc.net/treeverse/apis/lakefs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treeverse/lakefs-api/revisions/4617f80bee61/schema)
