Conversation Review inbox — conversations to review for a twin
curl --request POST \
--url https://pria.praxislxp.com/api/user/conversation-review/list \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "<string>",
"status": "open",
"kind": "all",
"page": 1,
"pageSize": 20
}
'import requests
url = "https://pria.praxislxp.com/api/user/conversation-review/list"
payload = {
"institution": "<string>",
"status": "open",
"kind": "all",
"page": 1,
"pageSize": 20
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({institution: '<string>', status: 'open', kind: 'all', page: 1, pageSize: 20})
};
fetch('https://pria.praxislxp.com/api/user/conversation-review/list', 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/user/conversation-review/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'institution' => '<string>',
'status' => 'open',
'kind' => 'all',
'page' => 1,
'pageSize' => 20
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/conversation-review/list"
payload := strings.NewReader("{\n \"institution\": \"<string>\",\n \"status\": \"open\",\n \"kind\": \"all\",\n \"page\": 1,\n \"pageSize\": 20\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/conversation-review/list")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"institution\": \"<string>\",\n \"status\": \"open\",\n \"kind\": \"all\",\n \"page\": 1,\n \"pageSize\": 20\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/conversation-review/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"institution\": \"<string>\",\n \"status\": \"open\",\n \"kind\": \"all\",\n \"page\": 1,\n \"pageSize\": 20\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"_id": "<string>",
"history": "<string>",
"created": "2023-11-07T05:31:56Z",
"rating": -1,
"ratedAt": "2023-11-07T05:31:56Z",
"unanswered": true,
"gapPhrase": "<string>",
"status": "open",
"resolution": {
"action": "knowledge",
"at": "2023-11-07T05:31:56Z",
"note": "<string>",
"upload": "<string>"
},
"question": "<string>",
"answer": "<string>",
"person": {
"kind": "visitor",
"name": "<string>"
},
"origin": "avatar_embed",
"missing": true
}
],
"total": 123,
"page": 123,
"pageSize": 123,
"counts": {
"open": 123,
"resolved": 123,
"dismissed": 123
},
"seededAt": "2023-11-07T05:31:56Z",
"seeding": true
}User
Conversation Review inbox — conversations to review for a twin
Replies a person rated 👎 and replies where the twin said it could not answer.
Requires histories.list on the twin. The text is read from the conversation itself.
A review whose conversation was deleted, forgotten by the person or hidden is removed
from the inbox when it is read and is never returned (no person, time or text).
POST
/
api
/
user
/
conversation-review
/
list
Conversation Review inbox — conversations to review for a twin
curl --request POST \
--url https://pria.praxislxp.com/api/user/conversation-review/list \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "<string>",
"status": "open",
"kind": "all",
"page": 1,
"pageSize": 20
}
'import requests
url = "https://pria.praxislxp.com/api/user/conversation-review/list"
payload = {
"institution": "<string>",
"status": "open",
"kind": "all",
"page": 1,
"pageSize": 20
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({institution: '<string>', status: 'open', kind: 'all', page: 1, pageSize: 20})
};
fetch('https://pria.praxislxp.com/api/user/conversation-review/list', 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/user/conversation-review/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'institution' => '<string>',
'status' => 'open',
'kind' => 'all',
'page' => 1,
'pageSize' => 20
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/conversation-review/list"
payload := strings.NewReader("{\n \"institution\": \"<string>\",\n \"status\": \"open\",\n \"kind\": \"all\",\n \"page\": 1,\n \"pageSize\": 20\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/conversation-review/list")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"institution\": \"<string>\",\n \"status\": \"open\",\n \"kind\": \"all\",\n \"page\": 1,\n \"pageSize\": 20\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/conversation-review/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"institution\": \"<string>\",\n \"status\": \"open\",\n \"kind\": \"all\",\n \"page\": 1,\n \"pageSize\": 20\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"_id": "<string>",
"history": "<string>",
"created": "2023-11-07T05:31:56Z",
"rating": -1,
"ratedAt": "2023-11-07T05:31:56Z",
"unanswered": true,
"gapPhrase": "<string>",
"status": "open",
"resolution": {
"action": "knowledge",
"at": "2023-11-07T05:31:56Z",
"note": "<string>",
"upload": "<string>"
},
"question": "<string>",
"answer": "<string>",
"person": {
"kind": "visitor",
"name": "<string>"
},
"origin": "avatar_embed",
"missing": true
}
],
"total": 123,
"page": 123,
"pageSize": 123,
"counts": {
"open": 123,
"resolved": 123,
"dismissed": 123
},
"seededAt": "2023-11-07T05:31:56Z",
"seeding": true
}Authorizations
JWT token passed in x-access-token header
Body
application/json
Defaults to the caller's current twin.
Pattern:
^[a-f0-9]{24}$Available options:
open, resolved, dismissed, all Available options:
all, thumbsDown, unanswered Required range:
x <= 50Was this page helpful?