Agents
List conversations
Get all conversations for the workspace
GET
/
api
/
agents
/
conversations
List conversations
curl --request GET \
--url https://{baseUrl}/api/v1/api/agents/conversationsimport requests
url = "https://{baseUrl}/api/v1/api/agents/conversations"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{baseUrl}/api/v1/api/agents/conversations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/agents/conversations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": [
{
"id": "<string>",
"llmConfigId": "<string>",
"agentMode": "ask",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"title": "<string>",
"todos": [
"<array>"
],
"summary": "<string>",
"workerId": "550e8400-e29b-41d4-a716-446655440000"
}
],
"total": 123,
"page": 123,
"limit": 123,
"hasNextPage": true,
"pageCount": 123
}⌘I
List conversations
curl --request GET \
--url https://{baseUrl}/api/v1/api/agents/conversationsimport requests
url = "https://{baseUrl}/api/v1/api/agents/conversations"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{baseUrl}/api/v1/api/agents/conversations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/agents/conversations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": [
{
"id": "<string>",
"llmConfigId": "<string>",
"agentMode": "ask",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"title": "<string>",
"todos": [
"<array>"
],
"summary": "<string>",
"workerId": "550e8400-e29b-41d4-a716-446655440000"
}
],
"total": 123,
"page": 123,
"limit": 123,
"hasNextPage": true,
"pageCount": 123
}