get_task_history
imerit_ango.sdk.SDK.
get_task_history(task_history_id, task_id)
Get the stage history of a task.
Parameters
task_history_id: string, optional, default None
Optionally, the ID of the stage history item.
For example, if you run this function on a task without passing
task_history_id
, assuming the task has been through 6 stages, you will receive a list with 6 objects. Each of these objects has its own_id
value. If you pass this_id
value as thetask_history_id
parameter, you can filter out all tak stage history items and only return the one with this specific ID.Example:
'0000000aa0a00a0000aaaa0a'
task_id: string
ID of the task to get the history of. Task IDs can be obtained from the UI, and from get_tasks.
Example:
'0000000aa0a00a0000aaaa0a'
Returns:
output: dict
Example
Get the task history of a specific task.
See also
Last updated