List a v2 conversation's transcript
GET
/
v1
/
conversations
/
{conversation_id}
/
turns
List a v2 conversation's transcript
curl --request GET \
--url https://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns \
--header 'x-api-key: <api-key>'import requests
url = "https://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns"
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://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns', 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://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns",
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://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns"
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://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns")
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{
"turns": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seq": 123,
"role": "user",
"content": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"tool_calls": [
{
"id": "<string>",
"function": {
"name": "<string>",
"arguments": "<string>"
},
"type": "function"
}
],
"tool_results": {
"tool_call_id": "<string>",
"output": "<string>",
"error": "<string>"
},
"model_used": "<string>",
"token_count": {
"input_tokens": 123,
"output_tokens": 123,
"total_tokens": 123
},
"latency_ms": 123,
"is_compacted": false,
"metadata": {},
"delivery_status": "<string>",
"authored_by": "<string>",
"evidence": {
"package_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"turn_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"evidence_status": "complete",
"items": [
{
"citation_marker": "<string>",
"label": "<string>",
"short_label": "<string>",
"document_title": "<string>",
"version_number": 123,
"section": {
"path_titles": [
"<string>"
],
"path_numbers": [
"<string>"
],
"display_label": "<string>",
"confidence": "unknown"
},
"deep_link": "<string>",
"kb_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kb_name": "<string>",
"document_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_provider": "<string>",
"external_id": "<string>",
"external_uri": "<string>"
}
],
"view": "display",
"schema_version": 1,
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kb_used": false
},
"message": "<string>",
"sources": [
{
"title": "<string>",
"url": "<string>"
}
]
}
],
"has_more": true,
"next_cursor": "<string>"
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Path Parameters
Query Parameters
Required range:
x <= 200Include rows folded into the rolling summary by compaction; folded rows carry is_compacted=true so clients can badge them.
[ENG-670 T3] Attach each row's evidence package (the KB sources shown to the model). Off by default — the hot read DEFERS the large citations column; opt in to load and project it.
Serialization view when include_evidence=true. The transcript default is 'full' (staff/audit — raw scores, hashes, chunk ids, status_reason); 'display' is the end-user source-card subset. (The live-turn surface defaults to 'display' instead.)
Available options:
display, full Was this page helpful?
⌘I
List a v2 conversation's transcript
curl --request GET \
--url https://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns \
--header 'x-api-key: <api-key>'import requests
url = "https://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns"
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://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns', 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://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns",
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://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns"
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://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.featherhq.com/v1/conversations/{conversation_id}/turns")
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{
"turns": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seq": 123,
"role": "user",
"content": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"tool_calls": [
{
"id": "<string>",
"function": {
"name": "<string>",
"arguments": "<string>"
},
"type": "function"
}
],
"tool_results": {
"tool_call_id": "<string>",
"output": "<string>",
"error": "<string>"
},
"model_used": "<string>",
"token_count": {
"input_tokens": 123,
"output_tokens": 123,
"total_tokens": 123
},
"latency_ms": 123,
"is_compacted": false,
"metadata": {},
"delivery_status": "<string>",
"authored_by": "<string>",
"evidence": {
"package_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"turn_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"evidence_status": "complete",
"items": [
{
"citation_marker": "<string>",
"label": "<string>",
"short_label": "<string>",
"document_title": "<string>",
"version_number": 123,
"section": {
"path_titles": [
"<string>"
],
"path_numbers": [
"<string>"
],
"display_label": "<string>",
"confidence": "unknown"
},
"deep_link": "<string>",
"kb_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kb_name": "<string>",
"document_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_provider": "<string>",
"external_id": "<string>",
"external_uri": "<string>"
}
],
"view": "display",
"schema_version": 1,
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kb_used": false
},
"message": "<string>",
"sources": [
{
"title": "<string>",
"url": "<string>"
}
]
}
],
"has_more": true,
"next_cursor": "<string>"
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}