Fetch a session with all detected segments
curl --request GET \
--url http://localhost:3000/v1/all-day-sessions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3000/v1/all-day-sessions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3000/v1/all-day-sessions/{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_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/v1/all-day-sessions/{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 := "http://localhost:3000/v1/all-day-sessions/{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("http://localhost:3000/v1/all-day-sessions/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/v1/all-day-sessions/{id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"recording_url": "<string>",
"duration_seconds": 123,
"segments_detected": 1,
"segments_analyzed": 1,
"segments_pending_review": 1,
"segments_skipped": 1,
"segments": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_seconds": 123,
"end_seconds": 123,
"confidence": 123,
"customer_name": "<string>",
"is_sales_conversation": true,
"detected_outcome": "<string>",
"summary": "<string>",
"status": "detected",
"analysis_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"analysis_url": "<string>",
"playback": {
"recording_url": "<string>",
"start_seconds": 123,
"end_seconds": 123,
"browser_seek_js": "<string>",
"ffmpeg_extract": "<string>"
},
"created_at": "<string>",
"analyzed_at": "<string>"
}
],
"options": {},
"metadata": {},
"callback_url": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"created_at": "<string>",
"started_at": "<string>",
"completed_at": "<string>",
"partner_org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner_rep_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}All-day sessions
Fetch a session with all detected segments
GET
/
v1
/
all-day-sessions
/
{id}
Fetch a session with all detected segments
curl --request GET \
--url http://localhost:3000/v1/all-day-sessions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3000/v1/all-day-sessions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3000/v1/all-day-sessions/{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_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/v1/all-day-sessions/{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 := "http://localhost:3000/v1/all-day-sessions/{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("http://localhost:3000/v1/all-day-sessions/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/v1/all-day-sessions/{id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"recording_url": "<string>",
"duration_seconds": 123,
"segments_detected": 1,
"segments_analyzed": 1,
"segments_pending_review": 1,
"segments_skipped": 1,
"segments": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_seconds": 123,
"end_seconds": 123,
"confidence": 123,
"customer_name": "<string>",
"is_sales_conversation": true,
"detected_outcome": "<string>",
"summary": "<string>",
"status": "detected",
"analysis_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"analysis_url": "<string>",
"playback": {
"recording_url": "<string>",
"start_seconds": 123,
"end_seconds": 123,
"browser_seek_js": "<string>",
"ffmpeg_extract": "<string>"
},
"created_at": "<string>",
"analyzed_at": "<string>"
}
],
"options": {},
"metadata": {},
"callback_url": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"created_at": "<string>",
"started_at": "<string>",
"completed_at": "<string>",
"partner_org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner_rep_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
200 - application/json
Default Response
Available options:
queued, transcribing, detecting, analyzing, completed, failed Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes

