---
title: "get the attributes of an hdf object"
method: GET
path: "/hdf/attrs/{fpath}"
---

# get the attributes of an hdf object

`GET /hdf/attrs/{fpath}`

get the attributes of an hdf object

## Response `200`

attributes of an arbitrary hdf object, as a dictionary

- Attrs — attributes of an arbitrary hdf object, as a dictionary

## Other responses

- `400` — the request was malformed; url should be of the format `"fpath?uri=uri"`
- `401` — the request did not specify a file that `h5py` could understand
- `403` — the request specified a file that does not exist
- `500` — found and opened file, error getting contents from object specified by the uri

---

[API](https://skmtc.net/jupyter-server/apis/jupyterlab-hdf5-proxy.md) · [All operations](https://skmtc.net/jupyter-server/apis/jupyterlab-hdf5-proxy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jupyter-server/jupyterlab-hdf5-proxy/versions/4cb4fe162160/schema)
