# getDataSetMetadata

```ts
function getDataSetMetadata(client, dataSetId): Promise<Record<string, string>>;
```

Defined in: [packages/synapse-core/src/warm-storage/data-sets.ts:202](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-core/src/warm-storage/data-sets.ts#L202)

Get the metadata for a data set

## Parameters

| Parameter | Type |
| ------ | ------ |
| `client` | `Client`\<`Transport`, `Chain`\> |
| `dataSetId` | `bigint` |

## Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<`string`, `string`\>\>