AgentConnect
Agents

Check a capability request again

Looks again at an open request and completes it when what it asked for already holds, as the change’s own save would have; the conversations that asked are then told. A request whose change is not in place stays open, and one no longer open is returned as it is. Answers 404 unless the caller can see the agent.

POST
/v1/orgs/{orgId}/capability-requests/{id}/recheck

授权

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

响应主体

application/json

application/json

curl -X POST "https://example.com/v1/orgs/string/capability-requests/497f6eca-6276-4993-bfeb-53cbbbba6f08/recheck"
{  "id": "string",  "orgId": "string",  "agentId": "string",  "agentName": "string",  "kind": "agent-settings",  "target": "string",  "want": {    "property1": null,    "property2": null  },  "summary": "string",  "reason": "string",  "status": "open",  "generation": -9007199254740991,  "createdAt": "string",  "expiresAt": "string",  "settledAt": "string",  "settledBy": {    "kind": "console",    "userId": "string",    "name": "string"  },  "outcome": "string",  "differs": true,  "note": "string",  "origins": [    {      "sessionId": "string",      "platform": "string",      "placeLabel": "string",      "external": true,      "askers": [        {          "kind": "console",          "userId": "string",          "name": "string",          "platform": "string"        }      ],      "nobody": true,      "askedAt": "string",      "wake": "none",      "wakeReason": "string"    }  ],  "current": {    "property1": null,    "property2": null  },  "warnings": [    "string"  ],  "viewer": {    "canComplete": true,    "canDecline": true,    "canReopen": true,    "canForward": true,    "missing": "string",    "whoCan": [      {        "userId": "string",        "name": "string"      }    ]  }}