Skip to content

Add limit cap to prevent large payload in runs API#472

Open
rachit018 wants to merge 1 commit intoNetflix:masterfrom
rachit018:add-limit-cap
Open

Add limit cap to prevent large payload in runs API#472
rachit018 wants to merge 1 commit intoNetflix:masterfrom
rachit018:add-limit-cap

Conversation

@rachit018
Copy link
Copy Markdown

This PR adds a limit cap to the get_all_runs endpoint to prevent excessively large payloads.

Currently, users can request a very large number of runs which may impact performance. This change ensures that the maximum limit is capped at 100.

This improves API stability and prevents potential performance issues.

@rachit018
Copy link
Copy Markdown
Author

Hi, I’ve opened this PR to add a limit cap to the runs API to prevent large payloads.

I’d appreciate any feedback or suggestions. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant