Endpoint to get a summary of runs for a given workflow instance#199
Merged
anjujha merged 6 commits intoNetflix:mainfrom Apr 7, 2026
Merged
Endpoint to get a summary of runs for a given workflow instance#199anjujha merged 6 commits intoNetflix:mainfrom
anjujha merged 6 commits intoNetflix:mainfrom
Conversation
47080b8 to
a7979aa
Compare
anjujha
commented
Mar 30, 2026
8b51d6b to
2f6e43c
Compare
rdeepak2002
reviewed
Mar 30, 2026
rdeepak2002
reviewed
Apr 7, 2026
rdeepak2002
approved these changes
Apr 7, 2026
Collaborator
rdeepak2002
left a comment
There was a problem hiding this comment.
Left one last comment, otherwise looks good
699fc41 to
5cb7d57
Compare
52718b6 to
b4ed212
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request type
./gradlew build --write-locksto refresh dependencies)NOTE: Please remember to run
./gradlew spotlessApplyto fix any format violations.Changes in this PR
This PR adds support to get a summary of all the runs for a given workflow instance
GET /api/v3/workflows/{workflowId}/instances/{instanceId}/runsagainst an instance with 5 runs:?first=10returns all 5 runs in descending order (run 5 → 1),total_count=5,has_next_page=false?first=2returns runs [5, 4],has_next_page=true,has_previous_page=false?first=2&cursor=4returns runs [3, 2],has_next_page=true,has_previous_page=true?first=2&cursor=2returns run [1],has_next_page=false,has_previous_page=truePagination cursors,
total_count,start_index, andhas_next/has_previous_pageflags all behave correctly.