> ## Documentation Index
> Fetch the complete documentation index at: https://docs.threetone.in/llms.txt
> Use this file to discover all available pages before exploring further.

# List Agent Conversation Tickets

> List an agent's conversation triage tickets, ordered by most recently created first. These are tickets about the agent's own performance on a conversation (for triage with Architect), not tickets an agent opens for end users.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/convai/agents/{agent_id}/triage-tickets
openapi: 3.1.0
info:
  title: Threetone API Documentation
  description: >-
    This is the documentation for the Threetone API. You can use this API to use
    our service programmatically with API keys sent in the x-api-key header. You
    can create and manage API keys in the dashboard at
    https://threetone.in/app/developers/api-keys.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/convai/agents/{agent_id}/triage-tickets:
    get:
      summary: List Agent Conversation Tickets
      description: >-
        List an agent's conversation triage tickets, ordered by most recently
        created first. These are tickets about the agent's own performance on a
        conversation (for triage with Architect), not tickets an agent opens for
        end users.
      operationId: list_agent_conversation_tickets_route
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            title: Agent Id
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: How many agent conversation tickets to return. Can not exceed 100.
            default: 100
            title: Page Size
          description: How many agent conversation tickets to return. Can not exceed 100.
        - name: conversation_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter tickets by conversation id.
            title: Conversation Id
          description: Filter tickets by conversation id.
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/AgentConversationTicketStatus'
              - type: 'null'
            description: Filter tickets by status.
            title: Status
          description: Filter tickets by status.
        - name: sources
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  $ref: '#/components/schemas/AgentConversationTicketSource'
              - type: 'null'
            description: >-
              Filter tickets by how they were raised (qa, agent, manual). Repeat
              the parameter to filter by multiple sources.
            title: Sources
          description: >-
            Filter tickets by how they were raised (qa, agent, manual). Repeat
            the parameter to filter by multiple sources.
        - name: owner_user_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter tickets by creator. Use 'agent' for agent-raised tickets.
            title: Owner User Id
          description: Filter tickets by creator. Use 'agent' for agent-raised tickets.
        - name: assignee_user_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Filter tickets by assignee. Use 'unassigned' for tickets with no
              assignee.
            title: Assignee User Id
          description: >-
            Filter tickets by assignee. Use 'unassigned' for tickets with no
            assignee.
        - name: issue_type
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/AgentConversationTicketIssueType'
              - type: 'null'
            description: Filter clusters by issue type.
            title: Issue Type
          description: Filter clusters by issue type.
        - name: label
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter tickets by an exact label.
            title: Label
          description: Filter tickets by an exact label.
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Used for fetching next page. Cursor is returned in the response.
            title: Cursor
          description: Used for fetching next page. Cursor is returned in the response.
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GetAgentConversationTicketsPageResponseModel
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AgentConversationTicketStatus:
      type: string
      enum:
        - open
        - in_progress
        - resolved
        - merged
      title: AgentConversationTicketStatus
    AgentConversationTicketSource:
      type: string
      enum:
        - qa
        - agent
        - manual
      title: AgentConversationTicketSource
    AgentConversationTicketIssueType:
      type: string
      enum:
        - knowledge_gap
        - incorrect_information
        - documentation_gap
        - product_feedback
        - platform_bug
        - tool_issue
        - missing_tool
        - unnecessary_escalation
        - wrong_action
      title: AgentConversationTicketIssueType
    GetAgentConversationTicketsPageResponseModel:
      properties:
        agent_conversation_tickets:
          items:
            $ref: '#/components/schemas/AgentConversationTicketResponseModel'
          type: array
          title: Agent Conversation Tickets
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        has_more:
          type: boolean
          title: Has More
      type: object
      required:
        - agent_conversation_tickets
        - has_more
      title: GetAgentConversationTicketsPageResponseModel
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AgentConversationTicketResponseModel:
      properties:
        agentqa_ticket_id:
          type: string
          title: Agentqa Ticket Id
        workspace_id:
          type: string
          title: Workspace Id
        owner_user_id:
          type: string
          title: Owner User Id
        agent_id:
          type: string
          title: Agent Id
        needs_clustering:
          type: boolean
          title: Needs Clustering
        issue_type:
          anyOf:
            - $ref: '#/components/schemas/AgentConversationTicketIssueType'
            - type: 'null'
        labels:
          items:
            type: string
          type: array
          title: Labels
        conversation_ids:
          items:
            type: string
          type: array
          title: Conversation Ids
        first_seen_unix_secs:
          anyOf:
            - type: integer
            - type: 'null'
          title: First Seen Unix Secs
        last_seen_unix_secs:
          anyOf:
            - type: integer
            - type: 'null'
          title: Last Seen Unix Secs
        qa_comment:
          anyOf:
            - type: string
            - type: 'null'
          title: Qa Comment
        ticket_comments:
          items:
            $ref: '#/components/schemas/TicketCommentResponseModel'
          type: array
          title: Ticket Comments
        turn_comments:
          items:
            $ref: '#/components/schemas/TurnCommentResponseModel'
          type: array
          title: Turn Comments
        status:
          $ref: '#/components/schemas/AgentConversationTicketStatus'
        source:
          $ref: '#/components/schemas/AgentConversationTicketSource'
        assignee_user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Assignee User Id
        created_at_unix_secs:
          type: integer
          title: Created At Unix Secs
        updated_at_unix_secs:
          type: integer
          title: Updated At Unix Secs
      type: object
      required:
        - agentqa_ticket_id
        - workspace_id
        - owner_user_id
        - agent_id
        - needs_clustering
        - issue_type
        - labels
        - conversation_ids
        - first_seen_unix_secs
        - last_seen_unix_secs
        - qa_comment
        - ticket_comments
        - turn_comments
        - status
        - source
        - assignee_user_id
        - created_at_unix_secs
        - updated_at_unix_secs
      title: AgentConversationTicketResponseModel
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    TicketCommentResponseModel:
      properties:
        comment:
          type: string
          title: Comment
        created_at_unix_secs:
          type: integer
          title: Created At Unix Secs
        owner_user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Owner User Id
      type: object
      required:
        - comment
        - created_at_unix_secs
        - owner_user_id
      title: TicketCommentResponseModel
    TurnCommentResponseModel:
      properties:
        turn_index:
          type: integer
          title: Turn Index
        comment:
          type: string
          title: Comment
        created_at_unix_secs:
          type: integer
          title: Created At Unix Secs
        owner_user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Owner User Id
      type: object
      required:
        - turn_index
        - comment
        - created_at_unix_secs
        - owner_user_id
      title: TurnCommentResponseModel

````