docs(cli): document host_id as a search offers filter field - #494
Open
guthrie-vast wants to merge 1 commit into
Open
docs(cli): document host_id as a search offers filter field#494guthrie-vast wants to merge 1 commit into
guthrie-vast wants to merge 1 commit into
Conversation
host_id has always been filterable in offer search (including notin for excluding specific hosts), but it was missing from the 'Available fields' list in the search offers help text, so users could not discover it. Add the field entry and an exclusion example. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
vastzuby
approved these changes
Aug 18, 2026
Contributor
|
|
vastzuby
requested changes
Aug 18, 2026
vastzuby
left a comment
Contributor
There was a problem hiding this comment.
Need to also update vastai/cli/commands/offers.py with same change since vast.py is deprecated.
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.
What
Adds
host_idto the Available fields list invastai search offers --help, and adds an example showing how to exclude specific hosts withnotin.Why
host_idhas always been filterable in offer search — includinghost_id notin [...]for excluding hosts — but it was absent from the help's field list (whilemachine_idwas listed), so users had no way to discover it. Verified against the live API:notinexcludes exactly the listed hosts for both authenticated and anonymous queries.No behavior change — help text only.
🤖 Generated with Claude Code