# `ApifyClient.API.Tasks.Runs.Last.KeyValueStore.Keys`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/lib/apify_client/api/tasks/runs/last/key_value_store/keys.ex#L1)

Provides API endpoint related to api/tasks/runs/last/key value store/keys

# `list`

```elixir
@spec list(actor_task_id :: String.t(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.ListOfKeys.t()} | {:error, ApifyClient.Error.t()}
```

Get list of keys in the default key-value store of an Actor task's last run

Returns a list of keys for the default key-value store of the last Actor task run.

This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the
[Get list of key-value store keys](https://docs.apify.com/api/v2/key-value-store-keys-get) endpoint.

## Options

  * `status`: Filter for the run status.
  * `origin`: Filter for the run origin, i.e. the means by which the run was started.
  * `exclusive_start_key`: All keys up to this one (including) are skipped from the result.
  * `limit`: Number of keys to be returned.
  * `collection`: Limit the results to keys that belong to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.
  * `prefix`: Limit the results to keys that start with a specific prefix.
  * `signature`: Signature used for the access.

---

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