Get the graph runs that are completed for the task.
GET {{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete-graphs?resultLimit=<integer>&errorOnly=<boolean>
This function returns details for graph runs that are completed.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
resultLimit | string | Number of results to return, at most. Default is 1000, valid range is 1 to 10000. | |
errorOnly | string | Whether to only return results for tasks runs that have failed. Default is false. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"root_task_name":"\u003cstring\u003e","database_name":"\u003cstring\u003e","schema_name":"\u003cstring\u003e","state":"SUCCEEDED","scheduled_time":"\u003cdateTime\u003e","next_scheduled_time":"\u003cdateTime\u003e","root_task_id":"\u003cstring\u003e","graph_version":"\u003cinteger\u003e","run_id":"\u003cinteger\u003e","first_error_task_name":"\u003cstring\u003e","first_error_code":"\u003cinteger\u003e","first_error_message":"\u003cstring\u003e","query_start_time":"\u003cdateTime\u003e","completed_time":"\u003cdateTime\u003e"},{"root_task_name":"\u003cstring\u003e","database_name":"\u003cstring\u003e","schema_name":"\u003cstring\u003e","state":"SCHEDULED","scheduled_time":"\u003cdateTime\u003e","next_scheduled_time":"\u003cdateTime\u003e","root_task_id":"\u003cstring\u003e","graph_version":"\u003cinteger\u003e","run_id":"\u003cinteger\u003e","first_error_task_name":"\u003cstring\u003e","first_error_code":"\u003cinteger\u003e","first_error_message":"\u003cstring\u003e","query_start_time":"\u003cdateTime\u003e","completed_time":"\u003cdateTime\u003e"}]