Limit of the Get Jobs API Method

Hey everyone,
Do you know how can I get the history of all the jobs of the last year, I have tried using swagger and the UiPath get jobs activity but I was able to get only the last 30 days report. Is there a way to get that specific info?

Hi @Juan_Betancur,

If you have access to orchestrator database, you should be able to fetch info directly by querying the same.

Regards
Sonali

These are the types of retention policy:

  • The default policy for newly created processes - all jobs that are created from new processes are deleted after 30 days, without the possibility to undo their deletion. This is the built-in option.
  • The custom policy - all jobs are deleted or archived after a retention duration of your choosing. This option can be configured as instructed in the Configuring a custom retention policy section.
    • Completed jobs:
      • The default duration is 30 days.
      • The maximum duration is 180 days.
    • Uncompleted jobs:
      • The default duration is 180 days.
      • The maximum duration is 540 days.

Important:

The default policy of 30 days applies to:

  • jobs without an associated process
  • jobs whose associated process was deleted

Reference Orchestrator - Process Data Retention Policy

1 Like

I am on automation cloud, so I don’t have direct access to the Orchestrator database :sweat_smile:

Hi @Juan_Betancur,

Have you tried below:

Using skip and top filters
image

Like using skip to define (100+) value and top to fetch next 100 values similar to how its done with Get Queue items. It can fetch only 100 at the moment. Ignore the robot id and stuff, just pasted it to show an example for top filter.
image

Regards
Sonali

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