See Stacksync in action with a solution architect. Book a demo ↗
GeniesConversations

Genie conversations

List Genie conversations

GET
/v1/workspaces/{workspace_id}/genies/conversations

The Genie conversations of a workspace in one region, newest activity first, in cursor pages.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

Query Parameters

region*Regions

Data region of the resources: besg (Europe) or usnv (United States), as GET /v1/regions lists them.

Value in"besg""usnv"
genie_id?|

Only the conversations of this genie

Defaultnull
limit?Limit

Maximum number of conversations returned, at most 100

Range1 <= value <= 100
Default50
cursor?|

next_cursor of the previous page

Defaultnull

Response Body

OK

application/json
  1. response
data*array<>
has_more*Has More
next_cursor?|

Pass it as cursor for the next page

Defaultnull
List Genie conversations
curl -X GET 'https://api.stacksync.com/v1/workspaces/0/genies/conversations?region=besg'
{  "data": [    {      "conversation_id": "<conversation_id>",      "genie_id": "<genie_id>",      "genie_name": "<genie_name>",      "name": "<name>",      "status": "<status>",      "status_label": "<status_label>",      "last_activity_time": "<last_activity_time>",      "message_count": 0,      "step_count": 0    }  ],  "has_more": false,  "next_cursor": "<next_cursor>"}