younifyd
Menu

Retrieve tasks

Retrieve tasks

GET/v1/tasks

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve tasks action (under Tasks).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveTasks.response.data}}.

Request

Query parameters

num_results_per_pageinteger

The number of results per page to return.

Default 20

pageinteger

The page of results to return.

offsetinteger

The number of results to skip from the beginning. Cannot be used together with `page`.

statusany

The status to filter tasks by

typeoneOf

The type to filter tasks by. Possible values are `ingestion`, `user_data_request`, `copy_data`, `catalog_export`.

Default ["ingestion","user_data_request","copy_data","catalog_export"]

end_datestring

The end date to filter tasks by. Date format should be `yyyy-mm-dd`

start_datestring

The start date to filter tasks by. Date format should be `yyyy-mm-dd`

cstring

The ID of the client and version that the request is coming from, such as `cio-js-2.90`.

Response

Returns 200 with an object. Read it in later steps with {{retrieveTasks.response.data.<field>}}.

tasksarray<oneOf>

Default []

total_countinteger
status_countsobject
json
{
  "total_count": 0,
  "status_counts": {},
  "tasks": []
}

Need more? See the Constructor guide for connection setup and behaviour shared by every action.

Was this page helpful?