Skip to main content
GET
/
v1
/
triage
/
flag-types
List Flag Types
curl --request GET \
  --url https://api.bland.ai/v1/triage/flag-types \
  --header 'authorization: <authorization>'
import requests

url = "https://api.bland.ai/v1/triage/flag-types"

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/flag-types', 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/flag-types",
  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/flag-types"

	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/flag-types")
  .header("authorization", "<authorization>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.bland.ai/v1/triage/flag-types")

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": [
      {
        "type": "missed_handoff",
        "description": "Agent transferred without confirming the email.",
        "usage_count": 4,
        "last_used_at": "2026-05-07T05:26:11.327Z"
      },
      {
        "type": "wrong_pathway_node",
        "description": "Agent jumped to closing without verifying.",
        "usage_count": 2,
        "last_used_at": "2026-05-05T22:14:01.117Z"
      }
    ],
    "next_cursor": null
  },
  "errors": null
}

Overview

Catalog of flag types your org has used, with usage counts and the most recent note for each. Use it to render a flag-type picker. Types are normalized to lower_snake_case before storage.

Headers

authorization
string
required
Your API key for authentication.

Query Parameters

limit
integer
default:"50"
Number of types to return. Minimum 1, maximum 100.
cursor
string
Opaque cursor returned as next_cursor from a previous page.

Response

data.items
array
Array of flag types.
data.next_cursor
string | null
Cursor for the next page, or null.
errors
null | array
null on success.
{
  "data": {
    "items": [
      {
        "type": "missed_handoff",
        "description": "Agent transferred without confirming the email.",
        "usage_count": 4,
        "last_used_at": "2026-05-07T05:26:11.327Z"
      },
      {
        "type": "wrong_pathway_node",
        "description": "Agent jumped to closing without verifying.",
        "usage_count": 2,
        "last_used_at": "2026-05-05T22:14:01.117Z"
      }
    ],
    "next_cursor": null
  },
  "errors": null
}

Docs for agents: llms.txt