Skip to main content
GET
/
api
/
chat
/
conversations
/
{id}
Get conversation
curl --request GET \
  --url https://sontairo.com/api/chat/conversations/{id}
{
  "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"
  }
}

Path Parameters

id
string
required

Query Parameters

workspaceId
string
required
projectId
string

Response

Conversation with messages

data
object