Skip to content
Konstera
Capability catalogue
ticketsread

tickets.list_unresolved

List unresolved tickets

Every ticket not yet resolved or closed in the source system, oldest created first, for a one-off re-fetch of tickets the regular poll skipped. Unassigned only unless includeAssigned. Each item carries awaitingReply (no agent response yet, or the customer wrote after it) and total: how many tickets matched before the limit was applied. Does not move any poll position.

Effect
read
Fanout
no
Cache TTL
none
Traits
none
Implemented by

Freshdesk

The tenant picks one of these when they bind this capability at install time. New implementations land as connectors ship — browse the connector catalogue.

Request arguments

Passed as the args parameter to ctx.capability.call("tickets.list_unresolved", …).

FieldTypeRequiredDescription
limitintegerno
default: 50 · min: 1 · max: 200
sinceIsostringnoOnly tickets created at or after this time; default: all unresolved tickets
format: date-time
includeAssignedbooleannoAlso return tickets a person already owns
default: false
waitingOnlybooleannoOnly tickets awaiting our reply (awaitingReply true)
default: false

Response

Returned by ctx.capability.call("tickets.list_unresolved", …).

Array; each element is an object with the following fields.

FieldTypeRequiredDescription
bodystringno
statusstring | integerno
subjectstringno
assignedbooleannoA person already owns the ticket
awaitingReplybooleannoNo agent has responded yet, or the customer wrote after the last agent response
agentRespondedAtstring | nullno
format: date-time
requesterRespondedAtstring | nullno
format: date-time
threadIdstringyes
ticketIdstringyes
updatedAtstringno
format: date-time
receivedAtstringyes
format: date-time
supportEmailstring | nullno
totalintegeryesTickets that matched before the limit was applied (the same on every item)

Example call

From inside your agent's handle(). The kernel resolves tickets.list_unresolved to the tenant's connector binding at invocation time.

response = await ctx.capability.call(
    "tickets.list_unresolved",
    args={
        "limit": 50,
        "sinceIso": "2026-01-01T00:00:00Z",
        "includeAssigned": false,
        "waitingOnly": false,
    },
)

See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.