Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Which API endpoints to get last run date of workflows?

csh8428
11 - Bolide

I have a workflow that uses an API call macro where you can pick the endpoints. I've already used it to get some good reporting done, but the element I can't seem to find is the "last run date". I'm guessing it's a combination of endpoints where the data has to be parsed and then joined?

 

Does anyone know the endpoints needed to get the "last run date" of a given(or all) workflows on the server?

 

Thanks,

Craig

1 REPLY 1
AndrewSu
Alteryx
Alteryx

@csh8428 , you should be able to get this information from the  'Get Jobs' endpoint from the V3 server API under the "CreateDateTime" parameter.  

 

webapi//swagger/ui/index#!/Jobs/Jobs_GetJobV3

 

You can get the job ids from a specific workflow with the GetJobsForWorkflow endpoint. 

 

webapi//swagger/ui/index#!/Workflows/Workflows_GetJobsForWorkflow

 

If this helps resolve your issue, please mark this reply as the solution so that others in the Community can benefit from our collaboration. 

 

Thanks.