Skip to main content
GET
/
api
/
chat
/
conversations
List conversations
curl --request GET \
  --url https://sontairo.com/api/chat/conversations
{
  "data": [
    {
      "id": "<string>",
      "workspaceId": "<string>",
      "projectId": "<string>",
      "title": "<string>",
      "agentId": "<string>",
      "agent": {
        "id": "<string>",
        "name": "<string>"
      },
      "messages": [
        {
          "id": "<string>",
          "role": "USER",
          "content": "<string>",
          "createdAt": "2023-11-07T05:31:56Z"
        }
      ],
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Query Parameters

workspaceId
string
required
projectId
string

Response

200 - application/json

List of conversations

data
object[]