# Task<!-- -->

Represents an Actor task.

Tasks are saved Actor configurations with input and settings that can be executed repeatedly without having to specify the full input each time.

## Index[](#Index)

### Properties

* [actId](#actId)
* [actorStandby](#actorStandby)
* [createdAt](#createdAt)
* [description](#description)
* [id](#id)
* [input](#input)
* [isPublic](#isPublic)
* [modifiedAt](#modifiedAt)
* [name](#name)
* [options](#options)
* [publicConfig](#publicConfig)
* [stats](#stats)
* [title](#title)
* [userId](#userId)
* [username](#username)

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

### [](#actId)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L315)actId

actId: string

### [](#actorStandby)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L325)optionalactorStandby

actorStandby?

<!-- -->

: Partial<[ActorStandby](https://docs.apify.com/api/client/js/reference/interface/ActorStandby.md)>

### [](#createdAt)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L320)createdAt

createdAt: Date

### [](#description)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L318)optionaldescription

description?

<!-- -->

: string

### [](#id)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L313)id

id: string

### [](#input)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L324)optionalinput

input?

<!-- -->

: [Dictionary](https://docs.apify.com/api/client/js/reference.md#Dictionary) | [Dictionary](https://docs.apify.com/api/client/js/reference.md#Dictionary)\[]

### [](#isPublic)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L330)optionalisPublic

isPublic?

<!-- -->

: boolean

Whether the task is published on its public landing page. Derived from `publicConfig.publishedAt` — set it on update to publish or unpublish the task.

### [](#modifiedAt)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L321)modifiedAt

modifiedAt: Date

### [](#name)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L316)name

name: string

### [](#options)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L323)optionaloptions

options?

<!-- -->

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

### [](#publicConfig)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L331)optionalpublicConfig

publicConfig?

<!-- -->

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

### [](#stats)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L322)stats

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

### [](#title)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L317)optionaltitle

title?

<!-- -->

: string

### [](#userId)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L314)userId

userId: string

### [](#username)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L319)optionalusername

username?

<!-- -->

: string
