Get the graph runs that are executing or scheduled for the task for the next 8 days.
GET {{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current-graphs?resultLimit=<integer>
This function returns details for graph runs that are currently executing or are next scheduled to run within the next 8 days.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
resultLimit | string |
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"}]