HYPOTHESIS-CLIENT(1)

πŸ“¦
version 0.12.0 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

okay bestie, listen up, this is the hypothesis-client manual, and specifically the annotations search subcommand, and it's lowkey iconic. no cap. πŸ¦‹


✨ NAME ✨

hypothesis-client annotations search β€” search for annotations, with optional filters, and yes you can filter like your life depends on it πŸ’…


🌸 SYNOPSIS 🌸

hypothesis-client annotations search [OPTIONS]

like that's it. that's the whole vibe. args go in, annotations come out. πŸŽ€


πŸ’œ DESCRIPTION πŸ’œ

Search for annotations with optional filters. fr fr that's the whole thing β€” you search, you can narrow stuff down with the flags below, and you get your annotations back. group-chat energy, but for metadata. 🌈


πŸ‘‘ OPTIONS πŸ‘‘

so many options. we love options. here's every single one, no skipping, periodt.

  • --limit <LIMIT> β€” the max number of annotations you're getting back. Default: 20. Range: [ 0 .. 200 ]. Also, [default: 20]. don't be greedy πŸ“
  • --sort <SORT> β€” the field by which annotations should be sorted. one of created, updated, id, group, user. Default: updated. Alias [default: updated] and possible values: created, updated, id, group, user. pick your fave, they're all valid ✨
  • --search-after <SEARCH_AFTER> β€” example: "2019-01-03T19:46:09.334Z". this defines a start point for a subset (a page) of annotation search results. NOTE: make sure to set sort to Sort::Asc if using search_after. [default: ] (yes, empty). it's giving "pagination but make it elegant" 😭
  • --offset <OFFSET> β€” the number of initial annotations to skip in the result set. Default: 0. Range: <= 9800. search_after is more efficient. [default: 0]. not me skipping the first 9800... πŸ’€
heads up: search_after is literally the more efficient glow-up here, so use that if you can πŸ’…
  • --order <ORDER> β€” the order in which the results should be sorted. one of asc, desc. Default: desc. [default: desc] and possible values: asc, desc. up or down, choose your main character direction πŸ¦‹
  • --uri <URI> β€” limit the results to annotations matching the specific URI or equivalent URIs. URI can be a URL (a web page address) or a URN representing another kind of resource such as DOI (Digital Object Identifier) or a PDF fingerprint. [default: ]
  • --uri-parts <URI_PARTS> β€” limit the results to annotations containing the given keyword (tokenized chunk) in the URI. The value must exactly match an individual URI keyword. [default: ]
  • --wildcard-uri <WILDCARD_URI> β€” limit the results to annotations whose URIs match the wildcard pattern. [default: ] ✨ wildcard behavior, we stan
  • --user <USER> β€” limit the results to annotations made by the specified user (in the format acct:<username>@<authority>). [default: ]
  • --group <GROUP> β€” limit the results to annotations made in the specified group (by group ID). This can be specified multiple times to retrieve multiple groups. yes you can stack it, go off πŸ‘‘
  • --tag <TAG> β€” limit the results to annotations tagged with the specified value. [default: ]
  • --tags <TAGS> β€” similar to tag but allows a list of multiple tags. the "and also" of tags πŸŽ€
  • --any <ANY> β€” limit the results to annotations who contain the indicated keyword in any of the following fields: quote, tags, text, url. [default: ]. the search-everything button fr fr πŸ”₯
  • --quote <QUOTE> β€” limit the results to annotations that contain this text inside the text that was annotated. [default: ]
  • --references <REFERENCES> β€” returns annotations that are replies to this parent annotation ID. [default: ] yes, thread hunting 🧚
  • --text <TEXT> β€” limit the results to annotations that contain this text in their textual body. [default: ]
  • -o, --file <FILE> β€” json file to write search results to. writes to stdout if not given. so if you don't say anything, it just yeets the JSON at your terminal, which is honestly a vibe 🌸
  • -h, --help β€” print help (see a summary with -h). your lil cheat sheet πŸ’–

and that's the whole page bestie, every option, every default, every range, nothing left behind 🫢

this was hypothesis-client annotations ... from August 2025, version vibes courtesy of the HYPOTHESIS-CLIENT(1) manual, User Commands section. go search something pretty. periodt. πŸ’œβœ¨

πŸ“¦ where this page comes from