cURL
curl -X GET 'https://app-be.thesis.io/api/v1/integration/conversations/conv_abc123def456' \
-H 'Authorization: Bearer YOUR_SPACE_API_TOKEN'import requests
conversation_id = 'conv_abc123def456'
url = f'https://app-be.thesis.io/api/v1/integration/conversations/{conversation_id}'
headers = {
'Authorization': 'Bearer YOUR_SPACE_API_TOKEN'
}
response = requests.get(url, headers=headers)
print(response.json())const conversationId = 'conv_abc123def456';
const response = await fetch(`https://app-be.thesis.io/api/v1/integration/conversations/${conversationId}`, {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_SPACE_API_TOKEN'
}
});
const data = await response.json();
console.log(data);const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app-be.thesis.io/api/v1/integration/conversations/{conversation_id}', 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-be.thesis.io/api/v1/integration/conversations/{conversation_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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-be.thesis.io/api/v1/integration/conversations/{conversation_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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-be.thesis.io/api/v1/integration/conversations/{conversation_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app-be.thesis.io/api/v1/integration/conversations/{conversation_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"conversation_id": "conv_abc123def456",
"title": "Code Review Session",
"status": "RUNNING",
"created_at": "2024-01-15T10:30:00Z",
"last_updated_at": "2024-01-15T11:45:00Z",
"selected_repository": "user/project-repo",
"research_mode": "deep_research",
"events": [
{}
],
"final_result": "<string>"
}{
"status": "error",
"message": "Invalid request data or missing required fields",
"msg_id": "INVALID_REQUEST_DATA"
}{
"detail": "Unauthorized or invalid token"
}{
"detail": "Resource not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Internal server error"
}conversations
Get Conversation Details
Retrieves comprehensive details for a specific conversation including metadata, event history, and current status. Returns full conversation context with all messages and interactions.
GET
/
api
/
v1
/
integration
/
conversations
/
{conversation_id}
cURL
curl -X GET 'https://app-be.thesis.io/api/v1/integration/conversations/conv_abc123def456' \
-H 'Authorization: Bearer YOUR_SPACE_API_TOKEN'import requests
conversation_id = 'conv_abc123def456'
url = f'https://app-be.thesis.io/api/v1/integration/conversations/{conversation_id}'
headers = {
'Authorization': 'Bearer YOUR_SPACE_API_TOKEN'
}
response = requests.get(url, headers=headers)
print(response.json())const conversationId = 'conv_abc123def456';
const response = await fetch(`https://app-be.thesis.io/api/v1/integration/conversations/${conversationId}`, {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_SPACE_API_TOKEN'
}
});
const data = await response.json();
console.log(data);const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app-be.thesis.io/api/v1/integration/conversations/{conversation_id}', 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-be.thesis.io/api/v1/integration/conversations/{conversation_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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-be.thesis.io/api/v1/integration/conversations/{conversation_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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-be.thesis.io/api/v1/integration/conversations/{conversation_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app-be.thesis.io/api/v1/integration/conversations/{conversation_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"conversation_id": "conv_abc123def456",
"title": "Code Review Session",
"status": "RUNNING",
"created_at": "2024-01-15T10:30:00Z",
"last_updated_at": "2024-01-15T11:45:00Z",
"selected_repository": "user/project-repo",
"research_mode": "deep_research",
"events": [
{}
],
"final_result": "<string>"
}{
"status": "error",
"message": "Invalid request data or missing required fields",
"msg_id": "INVALID_REQUEST_DATA"
}{
"detail": "Unauthorized or invalid token"
}{
"detail": "Resource not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Internal server error"
}Authorizations
Enter your API token in the format: Bearer <your_token_here>
Path Parameters
Response
Conversation details retrieved successfully
Unique conversation identifier
Example:
"conv_abc123def456"
Conversation title
Example:
"Code Review Session"
Current conversation status
Example:
"RUNNING"
ISO timestamp when conversation was created
Example:
"2024-01-15T10:30:00Z"
ISO timestamp of last activity
Example:
"2024-01-15T11:45:00Z"
Associated repository if any
Example:
"user/project-repo"
Research mode used in conversation
Example:
"deep_research"
List of conversation events/messages
Final result if conversation is completed