Skip to content

Conversation

@atihkin
Copy link
Contributor

@atihkin atihkin commented Oct 23, 2025

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).

@atihkin atihkin requested review from Nutlope and mitali401 October 23, 2025 22:30
cursor[bot]

This comment was marked as outdated.

@Nutlope Nutlope requested review from zainhas and removed request for Nutlope October 23, 2025 23:47
cursor[bot]

This comment was marked as outdated.

@atihkin
Copy link
Contributor Author

atihkin commented Oct 24, 2025

@mitali401 we don't want usage_type? it's being exposed in the API already no?

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

@mitali401 mitali401 left a 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?

@atihkin
Copy link
Contributor Author

atihkin commented Oct 30, 2025

@mitali401 could you do a final review and approve?

@atihkin atihkin merged commit 342b970 into main Oct 30, 2025
12 checks passed
@atihkin atihkin deleted the endpoint-filters branch October 30, 2025 19:16
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.

3 participants