place.hud.listChats
Every chat the person has, the one written in last first, a page at a time. Served only where HUD has a model to chat with, and, where the operator names the accounts the chat answers, to them alone: else MethodNotImplemented. Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3kcblhqloju |
| Indexed |
Showing version bafyreidbwlymfacl7lflvr3vuh4cvjvv5lnehfs27ylxdydousa4jylwiy. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Every chat the person has, the one written in last first, a page at a time. Served only where HUD has a model to chat with, and, where the operator names the accounts the chat answers, to them alone: else MethodNotImplemented. Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.",
"errors": [
{
"description": "The cursor is not one this method gave.",
"name": "InvalidRequest"
},
{
"description": "No live web session or HUD access token: sign in.",
"name": "AuthRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"available": {
"description": "Always true: listChats is served only where there is a model to chat with. Kept for clients that read it.",
"type": "boolean"
},
"chats": {
"items": {
"ref": "place.hud.chatDefs#chatSummary",
"type": "ref"
},
"type": "array"
},
"cursor": {
"maxLength": 128,
"type": "string"
}
},
"required": [
"chats",
"available"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"description": "Where the last page ended, as its answer's cursor said.",
"maxLength": 128,
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
}
},
"description": "The person's chats, the latest first.",
"id": "place.hud.listChats",
"lexicon": 1
}