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.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Free-text query to match against Polygraph sessions (title, description, and other indexed fields). Mutually exclusive with sha. |
sha | string | no | Exact lookup of sessions linked to a commit by full or partial (7-40 hex chars) sha. Mutually exclusive with query. |
limit | number | no | Maximum number of matching sessions to return. |
details | boolean | no | Return the full untrimmed session objects instead of lean picker rows. |