List Relations
curl --request GET \
--url https://api.bland.ai/v1/triage/issues/{id}/relations \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/triage/issues/{id}/relations"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/triage/issues/{id}/relations', 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.bland.ai/v1/triage/issues/{id}/relations",
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: <authorization>"
],
]);
$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.bland.ai/v1/triage/issues/{id}/relations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
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.bland.ai/v1/triage/issues/{id}/relations")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/triage/issues/{id}/relations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"items": [
{
"id": "172c839b-130d-4712-a09c-b767a78542ea",
"org_id": "f5b40b9e-bc05-4b8a-9af1-d8f6a8a3a201",
"issue_id": "9bbe5547-d5b1-4b83-9f80-87c4af7c6b34",
"related_issue_id": "849ee9ce-be6b-4f9c-8e55-2736aeeb579f",
"related_triage_id": "T-1004",
"related_title": "Caller transferred to wrong queue",
"relation_type": "duplicate_of",
"direction": "outgoing",
"created_by_id": "75c5c7da-a5d6-4e26-a51e-1ae8ef2bfa4a",
"created_at": "2026-05-07T05:28:29.358Z"
}
],
"next_cursor": null
},
"errors": null
}
Relations
List Relations
List relations on an issue.
GET
/
v1
/
triage
/
issues
/
{id}
/
relations
List Relations
curl --request GET \
--url https://api.bland.ai/v1/triage/issues/{id}/relations \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/triage/issues/{id}/relations"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/triage/issues/{id}/relations', 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.bland.ai/v1/triage/issues/{id}/relations",
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: <authorization>"
],
]);
$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.bland.ai/v1/triage/issues/{id}/relations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
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.bland.ai/v1/triage/issues/{id}/relations")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/triage/issues/{id}/relations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"items": [
{
"id": "172c839b-130d-4712-a09c-b767a78542ea",
"org_id": "f5b40b9e-bc05-4b8a-9af1-d8f6a8a3a201",
"issue_id": "9bbe5547-d5b1-4b83-9f80-87c4af7c6b34",
"related_issue_id": "849ee9ce-be6b-4f9c-8e55-2736aeeb579f",
"related_triage_id": "T-1004",
"related_title": "Caller transferred to wrong queue",
"relation_type": "duplicate_of",
"direction": "outgoing",
"created_by_id": "75c5c7da-a5d6-4e26-a51e-1ae8ef2bfa4a",
"created_at": "2026-05-07T05:28:29.358Z"
}
],
"next_cursor": null
},
"errors": null
}
Overview
Returns the relations to and from this issue. Each item carriesdirection (outgoing or incoming) and the related issue’s triage_id and title denormalized for display.
Headers
string
required
Your API key for authentication.
Path Parameters
string
required
Internal UUID of the issue.
Query Parameters
integer
default:"50"
Number of relations to return. Minimum 1, maximum 100.
string
Opaque cursor returned as
next_cursor from a previous page.Response
array
Array of relations. See Link Related Issue for the field list.
string | null
Cursor for the next page, or
null.null | array
null on success. Returns 404 if the issue does not exist.{
"data": {
"items": [
{
"id": "172c839b-130d-4712-a09c-b767a78542ea",
"org_id": "f5b40b9e-bc05-4b8a-9af1-d8f6a8a3a201",
"issue_id": "9bbe5547-d5b1-4b83-9f80-87c4af7c6b34",
"related_issue_id": "849ee9ce-be6b-4f9c-8e55-2736aeeb579f",
"related_triage_id": "T-1004",
"related_title": "Caller transferred to wrong queue",
"relation_type": "duplicate_of",
"direction": "outgoing",
"created_by_id": "75c5c7da-a5d6-4e26-a51e-1ae8ef2bfa4a",
"created_at": "2026-05-07T05:28:29.358Z"
}
],
"next_cursor": null
},
"errors": null
}
Docs for agents: llms.txt
Was this page helpful?
⌘I