---
title: "get metadata of a dataset"
method: GET
path: "/metadata"
---

# get metadata of a dataset

`GET /metadata`

Starts a metadata extraction task on the ingestor side, with live updates about the progress using Server Side Events (SSE).
It will close the connection with the final message containing the metadata json.

## Request body

- PostExtractionRequest
  - `filePath` string, required — The file path of the selected data record.
  - `methodName` string, required — The selected methodName for data extraction.

## Response `200`

A continuous stream of server-sent events.

## Other responses

- `default` — Unexpected error

## Changes

> 16 revisions in range; 2 not diffed.

- **2024-12-13** `541ca29e2640` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/swissopenem/apis/scicat-ingestor-api/changes/metadata/get.md)

---

[API](https://skmtc.dev/swissopenem/apis/scicat-ingestor-api.md) · [All operations](https://skmtc.dev/swissopenem/apis/scicat-ingestor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swissopenem/apis/scicat-ingestor-api/revisions/39d475e451b2?raw)
