Agents
List an assistant-mode agent’s items
Reads the items in the agent’s ledger from its daemon: section=open (the default) lists active and waiting items, closed lists done and dropped ones, most recently updated first, at most 100. Each item carries its title, status, what counts as done, when the agent noted it should check next, where it was asked and the places its followers follow it from — never who follows it or what was said. Anyone who can view the agent may read it; nothing is stored by this call. An agent whose daemon keeps follow-ups in place of items is refused with 409 FOLLOW_UP_TASKS; its follow-ups are listed with its tasks.
授权
bearerAuth 授权Bearer <token>
位置: header
路径参数
orgId*string
id*string
匹配
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$格式
uuid查询参数
section?string
默认
"open"值于
- "open"
- "closed"
limit?integer
范围
1 <= value <= 100默认
100响应主体
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/assistant/items"{ "items": [ { "id": "string", "title": "string", "status": "active", "doneWhen": "string", "nextCheck": "2019-08-24T14:15:22Z", "origin": { "platform": "string", "channel": "string" }, "places": [ { "platform": "string", "channel": "string" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "truncated": true}