Response for list job runs API request doesn't have next/prev_page_token field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 12:25 AM
HI,
When I do GET request to obtain list of job runs using `/api/2.1/jobs/runs/list` there is no `prev_page_token`, `next_page_token` fields in the response despite of having `has_more: True`.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 04:19 AM
Thanks for the response @Retired_mod !
Oh ok, but I did read this doc: https://docs.databricks.com/api/workspace/jobs/listruns could you confirm that it's correct one?
So are we able to get the rest of the runs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 05:18 AM
There is API 2.1 available for jobs and here is better documentation https://docs.databricks.com/api/workspace/jobs/list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 05:23 AM
Yeah @Hubert-Dudek, I used that documentation to build my query and still I'm not sure why I don't have `next_page_token` field in the response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 01:13 AM
So according to the doc: https://docs.databricks.com/api/workspace/jobs/listruns if has_more=true there should be prev/next_page_token fields as well. Can we investigate why both fields are not in the response msg?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 04:57 AM
@Hubert-Dudek @Retired_mod could you confirm that behavior is an issue? if yes, can I report it anywhere?
Otherwise can I report it as a feature request (to get all runs)? If yes, do you have any service to report it?

