---
title: "Returns full provenance metadata for a Dataset, which can be used when publishing the Dataset."
method: GET
path: "/datasets/{id}/prov-metadata"
---

# Returns full provenance metadata for a Dataset, which can be used when publishing the Dataset.

`GET /datasets/{id}/prov-metadata`

## Path parameters

- `id` string, required

## Response `200`

Full provenance information for the given dataset as JSON in the Response body.

- object

## Other responses

- `401` — The user's token has expired or the user did not supply a valid token
- `403` — THe user is not authorized to use this method
- `500` — Internal error

## Changes

- **2025-03-12** `e6e7a8247356` — 3 warning, 1 info
  - removed the optional property `donors` from the response with the `200` status
  - removed the optional property `organs` from the response with the `200` status
  - removed the optional property `samples` from the response with the `200` status
  - removed `#/components/schemas/Dataset, subschema #2` from the response body `allOf` list for the response status `200`

[Change history](https://skmtc.dev/hubmapconsortium/apis/hubmap-entity-api/changes/datasets/:id/prov-metadata/get.md)

---

[API](https://skmtc.dev/hubmapconsortium/apis/hubmap-entity-api.md) · [All operations](https://skmtc.dev/hubmapconsortium/apis/hubmap-entity-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hubmapconsortium/hubmap-entity-api/revisions/a192f35c6b16/schema)
