AnswerLoopsAnswerLoops Docs
ReferenceAgent API

List support tickets for the organization

GET
/api/agent/tickets

Authorization

bearerAuth
AuthorizationBearer <token>

Org-scoped API key generated in Settings → API Keys (al_live_ prefix). Shared with the MCP server — the same key authenticates both surfaces.

In: header

Query Parameters

status?string

Value in

  • "open"
  • "in_progress"
  • "resolved"
  • "closed"
priority?string

Value in

  • "critical"
  • "high"
  • "medium"
  • "low"
category?string

Value in

  • "bug"
  • "feature_request"
  • "documentation"
  • "how_to"
  • "general_question"
limit?integer
Range1 <= value <= 20
Default10

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/agent/tickets"
{  "tickets": [    {      "id": 0,      "content": "string",      "category": "string",      "priority": "string",      "status": "string",      "ai_summary": "string",      "created_at": "string"    }  ]}
{  "error": {    "message": "string"  }}
{  "error": {    "message": "string"  }}