Retrieving execution log
Retrieve the execution logs of a particular bill ID.
Procedure
- In a REST client platform, add the authentication details of the tenant from where you
want to retrieve the execution log.
//In case of Instance API key Headers: { "x-instance-api-key": "instance_api_key" } // In case of MCSP or ISV token Headers: { "Authorization": "mcsp_or_isv_token" } - Make a GET request at the URL of the project.
URL Syntax:
<domain>/apis/v1/rest/monitor/workflow-execution/logs/<bill_uid>Method: GET
If the request is successful, you receive the response code for success.
{ "output": { "uid": "vbid3c0d929d3344af91c238a9ae0db97111eff7f96ef68b", "duration": "0.051 sec", "executed_by": "John Doe", "execution_status": "success", "flow_name": "Flow1", "manual_run": false, "project_uid": "fl3c85287675f092ff7cbe70", "trigger": "event", "start_time": "02/17/2023 02:02 AM UTC", "stop_time": "02/17/2023 02:02 AM UTC", "requested_at": "02/17/2023 02:02 AM UTC", "restarted_from": "vbid4ef0744e5b50a94217753ac32a02857a6e21b916f7f2", "restart_history": [], "queue": 256, "project_name": "Default" "context_id": "abc123" } }