ApifyClient.API.Tasks.Runs.Last.KeyValueStore.Keys (apify_client v1.0.0)

Copy Markdown View Source

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

Summary

Functions

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

Functions

list(actor_task_id, opts \\ [])

@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 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.