curl --request GET \
--url https://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId} \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}', 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://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}",
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-access-token: <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://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<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://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"executionId": "<string>",
"turnId": "<string>",
"scopeKey": "<string>",
"revision": 1,
"state": "accepted",
"observation": "reachable",
"terminal": {}
}{
"success": false,
"code": "INVALID_TURN_ID",
"message": "<string>"
}Look up the durable execution receipt for a chat turn
Returns the current durable execution receipt for the caller’s turn in the
requested scope. When no execution record exists (always the case while
fleet turn admission is disabled on the server) the answer is a normal 200
with tracked: false — identical whether the turn never existed or belongs
to another user. turnAdmission reports whether the server admits durable
turns at all; when it is false, clients should stop polling this route
for the session. tracked: false is absence, never completion.
curl --request GET \
--url https://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId} \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}', 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://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}",
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-access-token: <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://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<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://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/ai/personal/turns/by-turn/{clientTurnId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"executionId": "<string>",
"turnId": "<string>",
"scopeKey": "<string>",
"revision": 1,
"state": "accepted",
"observation": "reachable",
"terminal": {}
}{
"success": false,
"code": "INVALID_TURN_ID",
"message": "<string>"
}Authorizations
JWT token passed in x-access-token header
Path Parameters
^[A-Za-z0-9._:-]{1,64}$Query Parameters
Current scope by default; explicit Twin scope requires active membership.
^(current|personal|twin:[a-f0-9]{24})$Response
The execution receipt (unchanged shape), or the untracked answer when no record exists.
- Option 1
- Option 2
Durable execution receipt.
^[a-f0-9]{32}$^(personal|twin:[a-f0-9]{24})$x >= 0accepted, running, stopping, terminal reachable, owner_unreachable Was this page helpful?