Skip to content

SessionDirectoryController_list

GET
/api/chat/sessions
curl --request GET \
--url 'https://api.streams.chat/api/chat/sessions?scope=mine&type=all&status=all&ownerKind=anyone&sort=active_first&groupBy=status&group=all'
scope
string
default: mine
Allowed values: mine all
type
string
default: all
Allowed values: all cycles plain
status
string
default: all
Allowed values: all active completed
q
string
<= 200 characters
ownerKind
string
default: anyone
Allowed values: anyone people agents
ownerIds
string
streamIds
string
sort
string
default: active_first
Allowed values: active_first last_activity newest oldest
groupBy
string
Allowed values: status stream cycle
group
string
Allowed values: all active completed
groupKey
string
>= 1 characters <= 300 characters
cursor
string
>= 1 characters <= 512 characters
limit
integer
>= 1 <= 50