-
Notifications
You must be signed in to change notification settings - Fork 21
Added two new filters to the list endpoints CLI #386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@mitali401 we don't want usage_type? it's being exposed in the API already no? |
5bfc627 to
4130d28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't filter mine = false https://github.com/togethercomputer/together-dedicated-endpoints/blob/main/tapi/endpoints.go#L39 right now
should we remove it from cli?
|
@mitali401 could you do a final review and approve? |
Added usage_type and mine filters to list method for endpoint retrieval
This update extends the list method in the endpoints client to support two new optional filters:
usage_type: Allows filtering endpoints by usage category ("on-demand" or "reserved").
mine: Enables filtering endpoints based on ownership (owned by the caller vs. others).