Flags
List Flags
List flags on an issue.
GET
/
v1
/
triage
/
issues
/
{id}
/
flags
List Flags
curl --request GET \
--url https://api.bland.ai/v1/triage/issues/{id}/flags \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/triage/issues/{id}/flags"
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}/flags', 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}/flags",
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}/flags"
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}/flags")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/triage/issues/{id}/flags")
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": "8ce11a7a-1a30-4c2c-9d3a-3e9aa56d2f02",
"org_id": "5fa6dc9e-ec4d-4f94-9e0e-21f6f6a1e8f1",
"issue_id": "cd4e1b6a-9a4c-4ec7-9c91-aa8b8aef0c89",
"call_id": "02d77f64-342d-4c41-b2f6-02621eb94fc3",
"type": "missed_handoff",
"note": "Agent transferred without confirming the email.",
"node_id": null,
"node_name": null,
"message_index": 12,
"message_text": "OK, transferring you now.",
"author_id": "32c10b62-0a4e-4ad8-bd4e-9b6e2a6e0a4f",
"created_at": "2026-05-07T05:26:11.327Z"
}
],
"next_cursor": null
},
"errors": null
}
Overview
Returns the flags filed on this issue. Same shape as Add Flag.Headers
Path Parameters
Query Parameters
Response
Array of flags. See Add Flag for the field list.
{
"data": {
"items": [
{
"id": "8ce11a7a-1a30-4c2c-9d3a-3e9aa56d2f02",
"org_id": "5fa6dc9e-ec4d-4f94-9e0e-21f6f6a1e8f1",
"issue_id": "cd4e1b6a-9a4c-4ec7-9c91-aa8b8aef0c89",
"call_id": "02d77f64-342d-4c41-b2f6-02621eb94fc3",
"type": "missed_handoff",
"note": "Agent transferred without confirming the email.",
"node_id": null,
"node_name": null,
"message_index": 12,
"message_text": "OK, transferring you now.",
"author_id": "32c10b62-0a4e-4ad8-bd4e-9b6e2a6e0a4f",
"created_at": "2026-05-07T05:26:11.327Z"
}
],
"next_cursor": null
},
"errors": null
}
Docs for agents: llms.txt
Was this page helpful?
⌘I
List Flags
curl --request GET \
--url https://api.bland.ai/v1/triage/issues/{id}/flags \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/triage/issues/{id}/flags"
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}/flags', 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}/flags",
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}/flags"
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}/flags")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/triage/issues/{id}/flags")
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": "8ce11a7a-1a30-4c2c-9d3a-3e9aa56d2f02",
"org_id": "5fa6dc9e-ec4d-4f94-9e0e-21f6f6a1e8f1",
"issue_id": "cd4e1b6a-9a4c-4ec7-9c91-aa8b8aef0c89",
"call_id": "02d77f64-342d-4c41-b2f6-02621eb94fc3",
"type": "missed_handoff",
"note": "Agent transferred without confirming the email.",
"node_id": null,
"node_name": null,
"message_index": 12,
"message_text": "OK, transferring you now.",
"author_id": "32c10b62-0a4e-4ad8-bd4e-9b6e2a6e0a4f",
"created_at": "2026-05-07T05:26:11.327Z"
}
],
"next_cursor": null
},
"errors": null
}