# Piece

Defined in: [packages/synapse-core/src/warm-storage/types.ts:62](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/synapse-core/src/warm-storage/types.ts#L62)

A piece in a PDP data set.

Pieces carry no `metadata` field. Piece metadata is not stored on chain, so it can't be read back from the contracts. Fetch it from the Filecoin API (https://api.filecoin.io/docs).

## Properties

### cid

> **cid**: [`PieceCID`](/reference/filoz/synapse-core/piece/classes/piececid/)

Defined in: [packages/synapse-core/src/warm-storage/types.ts:63](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/synapse-core/src/warm-storage/types.ts#L63)

***

### id

> **id**: `bigint`

Defined in: [packages/synapse-core/src/warm-storage/types.ts:64](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/synapse-core/src/warm-storage/types.ts#L64)

***

### url

> **url**: `string` \| `null`

Defined in: [packages/synapse-core/src/warm-storage/types.ts:66](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/synapse-core/src/warm-storage/types.ts#L66)

Retrieval URL, or null when no provider endpoint or CDN is available.