sdkDeterministic

List agent chats

pipeline.listAgentChats

List your private Agent Teams chats and settings. Set externalInbox true to discover your queued external Reply/SDR Inbox drafting turns instead; discovery also expires exhausted leases. Principal-scoped. Does not run hosted AI or send messages.

Parameters

workspaceId
string
No description.
externalInbox
boolean
No description.

Example

TypeScripttypescript
await pipeline.listAgentChats({})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"conversations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"kind": {
"type": "string"
},
"preferences": {
"type": "object",
"additionalProperties": true
}
},
"required": [
"id",
"title",
"kind"
]
}
},
"selected": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"turns": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"liveReplies": {
"type": "object",
"additionalProperties": true
}
},
"required": [
"conversations",
"selected",
"messages",
"turns",
"liveReplies"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline