AgentConnect
Agents

List a webchat conversation’s pending proposals

Lists what the agent’s scheduled checks propose to do for follow-ups of one webchat conversation, still waiting for approval, the soonest to lapse first, at most 50: each proposal’s sentence, its reason, the work a background session would carry out (or, with followUp, the follow-up approval takes), its follow-up and when it expires. Only callers who may continue that conversation, or who can edit the agent, may read it; the conversation must be one the caller may view. Answers 409 DAEMON_FEATURE_MISSING when the agent’s daemon cannot narrow its proposals to one conversation. Nothing is stored by this call.

GET
/v1/orgs/{orgId}/agents/{id}/assistant/conversations/{sessionId}/proposals

授权

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
sessionId*string
长度1 <= length <= 512

响应主体

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/assistant/conversations/string/proposals"
{  "proposals": [    {      "id": "string",      "sentence": "string",      "why": "string",      "task": "string",      "itemId": "string",      "itemTitle": "string",      "followUp": {        "title": "string",        "doneWhen": "string",        "nextCheck": "2019-08-24T14:15:22Z",        "watch": "string"      },      "createdAt": "string",      "expiresAt": "string"    }  ],  "truncated": true}