# `ApifyClient.API.Tasks.Input`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/lib/apify_client/api/tasks/input.ex#L1)

Provides API endpoints related to api/tasks/input

# `get`

```elixir
@spec get(actor_task_id :: String.t(), opts :: keyword()) ::
  {:ok, map() | nil} | {:error, ApifyClient.Error.t()}
```

Get Actor task input

Returns the input of a given task.

# `update`

```elixir
@spec update(actor_task_id :: String.t(), body :: map(), opts :: keyword()) ::
  {:ok, map() | nil} | {:error, ApifyClient.Error.t()}
```

Update Actor task input

Updates the input of a task using values specified by an object passed as
JSON in the PUT payload.

If the object does not define a specific property, its value is not updated.

The response is the full task input as returned by the
[Get Actor task input](https://docs.apify.com/api/v2/actor-task-input-get) endpoint.

The request needs to specify the `Content-Type: application/json` HTTP
header!

When providing your API authentication token, we recommend using the
request's `Authorization` header, rather than the URL.
For details, see [Authentication](https://docs.apify.com/api/v2#authentication).

## Request Body

**Content Types**: `application/json`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
