curl --request GET \
--url https://app.tryspecter.com/api/v1/agent/conversations \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.tryspecter.com/api/v1/agent/conversations"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.tryspecter.com/api/v1/agent/conversations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.tryspecter.com/api/v1/agent/conversations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.tryspecter.com/api/v1/agent/conversations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.tryspecter.com/api/v1/agent/conversations")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/agent/conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"conversations": [
{
"id": "3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60",
"title": "Berlin fintechs with a recent Series A",
"state": "idle",
"turn": {
"id": "9b1d7c52-6f0e-4a8b-8d3f-5e2a1c7b9d40",
"status": "completed",
"message": "Which Berlin fintechs raised a Series A in the last year?",
"created_at": "2026-12-01T09:30:00Z"
},
"web_url": "https://app.tryspecter.com/agent/3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60",
"created_at": "2026-12-01T09:30:00Z",
"updated_at": "2026-12-01T09:30:48Z"
}
],
"next_cursor": "MjAyNi0xMi0wMVQwOTozMDo0OC4wMDAwMDArMDA6MDB8M2Y2YzhmMGU"
}{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}{
"errorCode": "NOT_PERMITTED",
"message": "API key present, but you are not permitted"
}{
"errorCode": "NO_API_USER",
"message": "Your organization's API user is not set up yet, so there is no owner for this item. Contact support."
}{
"errorCode": "VALIDATION_ERROR",
"message": "Field required (body.name)"
}{
"errorCode": "RATE_LIMITED",
"message": "You have been rate-limited"
}{
"errorCode": "clerk_unavailable",
"message": "Key verification is temporarily unavailable"
}List conversations
List the conversations you started with the API or the MCP, most recently
active first. Use it to find a conversation whose id you lost, for instance
after a call that timed out, or to see which are still working or waiting
for your input.
Free. This call does not consume credits.
Each entry has the conversation’s state and its latest turn without the answer: read one conversation with Get a conversation for that. Only conversations started with the API or the MCP are listed, and only those of the user they ran as: an organization key lists the conversations made with an organization key. A conversation listed here can be read there, and the other way round.
Pass state to keep one state, and limit for the page size. Page through
with cursor: a response with a next_cursor has more, and the last page has
null.
curl --request GET \
--url https://app.tryspecter.com/api/v1/agent/conversations \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.tryspecter.com/api/v1/agent/conversations"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.tryspecter.com/api/v1/agent/conversations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.tryspecter.com/api/v1/agent/conversations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.tryspecter.com/api/v1/agent/conversations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.tryspecter.com/api/v1/agent/conversations")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/agent/conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"conversations": [
{
"id": "3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60",
"title": "Berlin fintechs with a recent Series A",
"state": "idle",
"turn": {
"id": "9b1d7c52-6f0e-4a8b-8d3f-5e2a1c7b9d40",
"status": "completed",
"message": "Which Berlin fintechs raised a Series A in the last year?",
"created_at": "2026-12-01T09:30:00Z"
},
"web_url": "https://app.tryspecter.com/agent/3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60",
"created_at": "2026-12-01T09:30:00Z",
"updated_at": "2026-12-01T09:30:48Z"
}
],
"next_cursor": "MjAyNi0xMi0wMVQwOTozMDo0OC4wMDAwMDArMDA6MDB8M2Y2YzhmMGU"
}{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}{
"errorCode": "NOT_PERMITTED",
"message": "API key present, but you are not permitted"
}{
"errorCode": "NO_API_USER",
"message": "Your organization's API user is not set up yet, so there is no owner for this item. Contact support."
}{
"errorCode": "VALIDATION_ERROR",
"message": "Field required (body.name)"
}{
"errorCode": "RATE_LIMITED",
"message": "You have been rate-limited"
}{
"errorCode": "clerk_unavailable",
"message": "Key verification is temporarily unavailable"
}Query Parameters
Response
The conversations as they stand, with next_cursor while there are more.
A page of conversations, most recently active first.
Was this page helpful?