Skip to main content
ElevenLabs Documentation Docs

Search documentation

Type to search this documentation.

On this pageOverview

List workspace tickets

GET https://api.elevenlabs.io/v1/convai/triage-tickets

List conversation triage tickets across every agent in the workspace, ordered by most recently created first. Use this to build a workspace-wide view (for example, tickets assigned to the caller); for a single agent's tickets, use the per-agent endpoint instead. Tickets for agents the caller cannot access are omitted.

Reference: https://elevenlabs.io/docs/api-reference/triage-tickets/list-for-workspace

  • https://api.elevenlabs.io (Production, default)
  • https://api.us.elevenlabs.io (Production US)
  • https://api.eu.residency.elevenlabs.io (Production EU)
  • https://api.in.residency.elevenlabs.io (Production India)
  • https://api.sg.residency.elevenlabs.io (Production Singapore)
  • page_size (integer, optional, default: 100) — How many agent conversation tickets to return. Can not exceed 100.
  • status (enum, optional, nullable) — Filter tickets by status.
    • Allowed values: open, in_progress, resolved, merged
  • assignee_user_id (string, optional, nullable) — Filter tickets by assignee. Use 'unassigned' for tickets with no assignee.
  • cursor (string, optional, nullable) — Used for fetching next page. Cursor is returned in the response.

Successful Response

  • agent_conversation_tickets (list of AgentConversationTicketResponseModel, required)
  • has_more (boolean, required)
  • next_cursor (string, optional, nullable)

Validation Error

  • detail (list of ValidationError, optional)
  • agentqa_ticket_id (string, required)
  • workspace_id (string, required)
  • owner_user_id (string, required)
  • agent_id (string, required)
  • needs_clustering (boolean, required)
  • issue_type (enum, required, nullable)
    • Allowed values: knowledge_gap, incorrect_information, documentation_gap, product_feedback, platform_bug, tool_issue, missing_tool, unnecessary_escalation, wrong_action
  • labels (list of string, required)
  • conversation_ids (list of string, required)
  • first_seen_unix_secs (integer, required, nullable)
  • last_seen_unix_secs (integer, required, nullable)
  • qa_comment (string, required, nullable)
  • ticket_comments (list of TicketCommentResponseModel, required)
  • turn_comments (list of TurnCommentResponseModel, required)
  • status (enum, required)
    • Allowed values: open, in_progress, resolved, merged
  • source (enum, required)
    • Allowed values: qa, agent, manual
  • assignee_user_id (string, required, nullable)
  • created_at_unix_secs (integer, required)
  • updated_at_unix_secs (integer, required)
  • loc (list of ValidationErrorLocItems, required)
  • msg (string, required)
  • type (string, required)
  • comment (string, required)
  • created_at_unix_secs (integer, required)
  • owner_user_id (string, required, nullable)
  • turn_index (integer, required)
  • comment (string, required)
  • created_at_unix_secs (integer, required)
  • owner_user_id (string, required, nullable)

Response

JSON
{
  "agent_conversation_tickets": [
    {
      "agentqa_ticket_id": "string",
      "workspace_id": "string",
      "owner_user_id": "string",
      "agent_id": "string",
      "needs_clustering": true,
      "issue_type": "knowledge_gap",
      "labels": [
        "string"
      ],
      "conversation_ids": [
        "string"
      ],
      "first_seen_unix_secs": 1,
      "last_seen_unix_secs": 1,
      "qa_comment": "string",
      "ticket_comments": [
        {
          "comment": "string",
          "created_at_unix_secs": 1,
          "owner_user_id": "string"
        }
      ],
      "turn_comments": [
        {
          "turn_index": 1,
          "comment": "string",
          "created_at_unix_secs": 1,
          "owner_user_id": "string"
        }
      ],
      "status": "open",
      "source": "qa",
      "assignee_user_id": "string",
      "created_at_unix_secs": 1,
      "updated_at_unix_secs": 1
    }
  ],
  "has_more": true,
  "next_cursor": "string"
}

SDK Code

TypeScript
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";

async function main() {
    const client = new ElevenLabsClient();
    await client.conversationalAi.triageTickets.listForWorkspace({});
}
main();
Python
from elevenlabs import ElevenLabs

client = ElevenLabs()

client.conversational_ai.triage_tickets.list_for_workspace()
Go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.elevenlabs.io/v1/convai/triage-tickets"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
Ruby
require 'uri'
require 'net/http'

url = URI("https://api.elevenlabs.io/v1/convai/triage-tickets")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
Java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.elevenlabs.io/v1/convai/triage-tickets")
  .asString();
PHP
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.elevenlabs.io/v1/convai/triage-tickets');

echo $response->getBody();
C#
using RestSharp;

var client = new RestClient("https://api.elevenlabs.io/v1/convai/triage-tickets");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.elevenlabs.io/v1/convai/triage-tickets")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu