Skip to content

search_sessions

Search Polygraph sessions by free-text query, or resolve a commit sha (full or partial) to the session(s) linked to that commit.

Provide exactly one of query or sha. Returns the matching sessions as a JSON array.

NameTypeRequiredDescription
querystringnoFree-text query to match against Polygraph sessions (title, description, and other indexed fields). Mutually exclusive with sha.
shastringnoExact lookup of sessions linked to a commit by full or partial (7-40 hex chars) sha. Mutually exclusive with query.
limitnumbernoMaximum number of matching sessions to return.
detailsbooleannoReturn the full untrimmed session objects instead of lean picker rows.