How download Orchestrator Logs for specific job through API

Hi,

How download Orchestrator Logs for specific job through API

Thanks

Hello!

You can get them via the /odata/RobotLogs endpoint using a filter for a specific Job key.
For example: /odata/RobotLogs?$filter=JobKey eq abc123

To get a Job key, you can search for it using the /odata/Jobs endpoint, like /odata/Jobs?$filter=ReleaseName eq 'MyProcessName'&$orderby=StartTime desc.

For more information, please check these links:
https://docs.uipath.com/orchestrator/reference/api-references
https://docs.uipath.com/orchestrator/reference/jobs-requests

1 Like

Thank You @Mateus_Cruz.

Let me try and I will get back.

Hi @Mateus_Cruz,

Thanks Again for your details that really helped and I’m able to extract logs successfully as expected.

Below steps:

  1. Authenticate and fetch the access Token using endpoint https://account.uipath.com/oauth/token
  2. Get the Job key using endpoint UiPath eq ‘ProcessName’&$orderby=StartTime desc
  3. Get the logs using JobKey UiPath eq yourkey123

However xaml file attached for others referace :slight_smile: Main.xaml (16.8 KB)

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.