---
title: "Gets data"
method: GET
path: "/data/{ref}"
tags: ["data"]
---

# Gets data

`GET /data/{ref}`

## Path parameters

- `ref` string, required

## Query parameters

- `path` string

## Headers

- `Range` string

## Response `200`

HTTP/1.1 ["OK" response status code](https://tools.ietf.org/html/rfc7231#section-6.3.1)

## Other responses

- `206` — HTTP/1.1 ["Partial Content" response status code](https://tools.ietf.org/html/rfc7233#section-4.1)
- `401` — HTTP/1.1 ["Unauthorized" response status code](https://tools.ietf.org/html/rfc7235#section-3.1)
- `403` — HTTP/1.1 ["Forbidden" response status code](https://tools.ietf.org/html/rfc7231#section-6.5.3)
- `404` — HTTP/1.1 ["Not Found" response status code](https://tools.ietf.org/html/rfc7231#section-6.5.4)
- `416` — HTTP/1.1 ["Range Not Satisfiable" response status code](https://tools.ietf.org/html/rfc7233#section-4.4)
- `500` — HTTP/1.1 ["Internal Server Error" response status code](https://tools.ietf.org/html/rfc7231#section-6.6.1)

---

[API](https://skmtc.dev/opctl/apis/opctl-rest-api.md) · [All operations](https://skmtc.dev/opctl/apis/opctl-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opctl/opctl-rest-api/revisions/57a79c2e7e27/schema)
