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

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
id*string
Match^([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)$
Formatuuid
sessionId*string
Length1 <= length <= 512

Response Body

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}