Matillion REST API: Can I get a full list of all possible task states returnable via API?

I am monitoring the execution of a Matillion Task via API from a Python script.

 

Once the task is done I want to continue toing other things in Python, but only if it finished successfully.

 

API Call:

http://<InstanceAddress>/rest/v1/group/name/<groupName>/project/name/<projectName>/task/id/<taskId>

 

Example return:

{

"id": 12345,

"type": "RUN_ORCHESTRATION",

.....

"environmentName": "test",

"state": "SUCCESS",

"enqueuedTime": 1594729190954,

"startTime": 1594729190955,

"endTime": 1594729201024,

.....

Here "SUCCESS" is displayed, but what are other options?

I know of "QUEUED" and "RUNNING" so far.

 

The general Docu is not sufficient in this case:

https://documentation.matillion.com/docs/2972278

Hai There are three state SUCCESS,FAILED,CANCELLED

We also monitoring Task history through API Query component . Implemented Incremental load as well as .

Thank you

We too found the docs not sufficient for the v1 API. We did, however, find the following task status from an example within the old v0 API - these do seem to be the same for V1.

  • SUCCESS
  • QUEUED
  • RUNNING
  • FAILED

(Found in Example 3 on this page: https://documentation.matillion.com/docs/2565073 )