Sessions

Search sessions

GET /v1/sessions/search
Permission
read:sessions
Tokens
API key, CLI user token, Session token

Search session history. Supply q and filter by service, handler, or source.

Query parameters

qstringrequired
scopeenum

What text a search query is matched against: the session log's record text, the session recaps (summaries), or both.

one ofrecordsrecapsboth
sourcearray<SessionSource>
serviceenum

Service whose mention or event started the session.

one ofslackgithublinearsentry
handlerstring

Exact saved handler id recorded when the session started.

author_idarray<integer>

Attributed GitHub user account ids.

agent_idarray<string>

Saved agent ids (ORed with author_id).

session_idsarray<string>
repoarray<string>

"owner/name" (exact) or a bare repo name; ORed.

statusarray<TurnStatus>

Current turn statuses to keep.

startstring, date-time
endstring, date-time
limitdefault 20integer
{
}

Response

resultsarray<SessionSearchResult>required

On this page

No Headings
Schedule a demo