Sessions
Retrieve Sessions
Retrieve a JSON list of all sessions the user has access to. Will also return a list of all tasks, tools, agents, models and datasources as a front end helper
GET
/
{resourceSlug}
/
sessions.json
Path Parameters
resourceSlug
string
requiredThe resourceSlug is a url parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId
Response
200 - sessions.json
csrf
string
cross site token
sessions
object[]
Array of all sessions the given teamId has permissions for