List Clarity Process Conflicts
curl --request GET \
--url https://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts', 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.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts",
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://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts"
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://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts")
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{
"run": {
"status": "none",
"finishedAt": "2023-11-07T05:31:56Z"
},
"steps": [
{
"stepId": "<string>",
"conflicts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"kind": "incompatible",
"markerStepIds": [
"<string>"
],
"versions": [
{
"attribution": "<string>",
"excerpt": "<string>",
"captureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"claimId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"supporters": [
{
"claimId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"captureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attribution": "<string>",
"excerpt": "<string>",
"locator": {
"type": "transcript_message",
"messageIndex": 4503599627370495,
"timestampMs": 4503599627370495
}
}
],
"evidenceId": "<string>",
"locator": {
"type": "transcript_message",
"messageIndex": 4503599627370495,
"timestampMs": 4503599627370495
},
"sourceConfidence": "low",
"resolutionStatus": "resolved",
"title": "<string>"
}
],
"mappedVersionIndex": 4503599627370495
}
]
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"validationErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"validationErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"validationErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"validationErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}ClarityV2
List Clarity Process Conflicts
Return the conflict detection run status for a current-process snapshot and the conflicts bound to it, grouped by step. Quotes from captures that were deleted or marked unusable are left out, and a conflict left with fewer than two captures is hidden. Reading never starts a run; use analyzeClarityProcessConflicts to re-detect.
GET
/
v2
/
clarity-v2
/
processes
/
{process_id}
/
snapshots
/
current_process
/
{snapshot_id}
/
conflicts
List Clarity Process Conflicts
curl --request GET \
--url https://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts', 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.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts",
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://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts"
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://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.duvo.ai/v2/clarity-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/conflicts")
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{
"run": {
"status": "none",
"finishedAt": "2023-11-07T05:31:56Z"
},
"steps": [
{
"stepId": "<string>",
"conflicts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"kind": "incompatible",
"markerStepIds": [
"<string>"
],
"versions": [
{
"attribution": "<string>",
"excerpt": "<string>",
"captureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"claimId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"supporters": [
{
"claimId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"captureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attribution": "<string>",
"excerpt": "<string>",
"locator": {
"type": "transcript_message",
"messageIndex": 4503599627370495,
"timestampMs": 4503599627370495
}
}
],
"evidenceId": "<string>",
"locator": {
"type": "transcript_message",
"messageIndex": 4503599627370495,
"timestampMs": 4503599627370495
},
"sourceConfidence": "low",
"resolutionStatus": "resolved",
"title": "<string>"
}
],
"mappedVersionIndex": 4503599627370495
}
]
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"validationErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"validationErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"validationErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"validationErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
API key authentication. Get your API key from the Duvo dashboard.
Path Parameters
The clarity process id
The current-process snapshot id
Was this page helpful?