# DatasetResource<!-- -->

Represents a dataset storage on the Apify platform.

Datasets store structured data as a sequence of items (records). Each item is a JSON object. Datasets are useful for storing results from web scraping, crawling, or data processing tasks.

### Hierarchy

* Omit\<Schemas\[DatasetResource], keyof
  <!-- -->
  DatasetResourceRePointed | keyof
  <!-- -->
  DatasetResourceSpecNarrowings>
* DatasetResourceRePointed
* DatasetResourceSpecNarrowings
* DatasetResourceSpecGaps
  * *DatasetResource*

## Index[](#Index)

### Properties

* [accessedAt](#accessedAt)
* [actId](#actId)
* [actRunId](#actRunId)
* [cleanItemCount](#cleanItemCount)
* [consoleUrl](#consoleUrl)
* [createdAt](#createdAt)
* [fields](#fields)
* [generalAccess](#generalAccess)
* [id](#id)
* [itemCount](#itemCount)
* [itemsPublicUrl](#itemsPublicUrl)
* [modifiedAt](#modifiedAt)
* [name](#name)
* [schema](#schema)
* [stats](#stats)
* [title](#title)
* [urlSigningSecretKey](#urlSigningSecretKey)
* [userId](#userId)
* [username](#username)

## Properties<!-- -->[](#Properties)

### [](#accessedAt)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7079)inheritedaccessedAt

accessedAt: Date

Inherited from Omit.accessedAt

Format: date-time

```
2019-12-14T08:36:13.202Z
```

### [](#actId)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7084)optionalinheritedactId

actId?

<!-- -->

: null | string

Inherited from Omit.actId

### [](#actRunId)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7085)optionalinheritedactRunId

actRunId?

<!-- -->

: null | string

Inherited from Omit.actRunId

### [](#cleanItemCount)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7083)inheritedcleanItemCount

cleanItemCount: number

Inherited from Omit.cleanItemCount

```
5
```

### [](#consoleUrl)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/models.ts#L100)optionalinheritedconsoleUrl

consoleUrl?

<!-- -->

: string

Inherited from DatasetResourceSpecNarrowings.consoleUrl

### [](#createdAt)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7069)inheritedcreatedAt

createdAt: Date

Inherited from Omit.createdAt

Format: date-time

```
2019-12-12T07:34:14.202Z
```

### [](#fields)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7086)optionalinheritedfields

fields?

<!-- -->

: null | string\[]

Inherited from Omit.fields

### [](#generalAccess)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/models.ts#L90)optionalinheritedgeneralAccess

generalAccess?

<!-- -->

: null | STORAGE_GENERAL_ACCESS

Inherited from DatasetResourceRePointed.generalAccess

### [](#id)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7058)inheritedid

id: string

Inherited from Omit.id

```
WkzbQMuFYuamGv3YF
```

### [](#itemCount)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7081)inheriteditemCount

itemCount: number

Inherited from Omit.itemCount

```
7
```

### [](#itemsPublicUrl)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7124)optionalinheriteditemsPublicUrl

itemsPublicUrl?

<!-- -->

: string

Inherited from Omit.itemsPublicUrl

Format: uri

```
https://api.apify.com/v2/datasets/WkzbQMuFYuamGv3YF/items?signature=abc123
```

A public link to access the dataset items directly.

### [](#modifiedAt)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7074)inheritedmodifiedAt

modifiedAt: Date

Inherited from Omit.modifiedAt

Format: date-time

```
2019-12-13T08:36:13.202Z
```

### [](#name)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7060)optionalinheritedname

name?

<!-- -->

: null | string

Inherited from Omit.name

```
d7b9MDYsbtX5L7XAj
```

### [](#schema)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7113)optionalinheritedschema

schema?

<!-- -->

: null | Record\<string, unknown>

Inherited from Omit.schema

```
{

             *       "actorSpecification": 1,

             *       "title": "My dataset",

             *       "views": {

             *         "overview": {

             *           "title": "Overview",

             *           "transformation": {

             *             "fields": [

             *               "linkUrl"

             *             ]

             *           },

             *           "display": {

             *             "component": "table",

             *             "properties": {

             *               "linkUrl": {

             *                 "label": "Link URL",

             *                 "format": "link"

             *               }

             *             }

             *           }

             *         }

             *       }

             *     }
```

Defines the schema of items in your dataset, the full specification can be found in [Apify docs](https://docs.apify.com/storage/dataset-schema)

### [](#stats)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/models.ts#L89)optionalinheritedstats

stats?

<!-- -->

: [DatasetStats](https://docs.apify.com/api/client/js/reference/interface/DatasetStats.md)

Inherited from DatasetResourceRePointed.stats

### [](#title)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7062)optionalinheritedtitle

title?

<!-- -->

: null | string

Inherited from Omit.title

```
My Dataset
```

### [](#urlSigningSecretKey)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7126)optionalinheritedurlSigningSecretKey

urlSigningSecretKey?

<!-- -->

: null | string

Inherited from Omit.urlSigningSecretKey

A secret key for generating signed public URLs. It is only provided to clients with WRITE permission for the dataset.

### [](#userId)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7064)inheriteduserId

userId: string

Inherited from Omit.userId

```
wRsJZtadYvn4mBZmm
```

### [](#username)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/models.ts#L85)optionalinheritedusername

username?

<!-- -->

: string

Inherited from DatasetResourceSpecGaps.username
