You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/apiaccess/agent/getAgentsDetail.md
+50-75Lines changed: 50 additions & 75 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,10 @@ cbparameters:
6
6
parameters:
7
7
- name: agentList
8
8
typeName: array
9
-
description: List of agent IDs to get details for (empty array for all agents).
9
+
description: "Optional: An array of agent IDs to get details for. If the array is empty, it retrieves details for all agents. Defaults to an empty array."
10
10
returns:
11
-
signatureTypeName: Promise
12
-
description: A promise that resolves with the detailed information of the specified agents.
13
-
typeArgs:
14
-
- type: reference
15
-
name: AgentsDetailResponse
11
+
signatureTypeName: Promise<AgentsDetailResponse>
12
+
description: A promise that resolves with an `AgentsDetailResponse` object containing the detailed information of the specified agents.
16
13
data:
17
14
name: getAgentsDetail
18
15
category: agent
@@ -25,87 +22,65 @@ data:
25
22
26
23
The method returns a Promise that resolves to an `AgentsDetailResponse` object with the following properties:
27
24
28
-
**Response Properties:**
29
-
-`type`: Always "agentsDetailResponse"
30
-
-`payload`: Optional object containing the actual agent details data
31
-
-`agents`: Array of agent detail objects with detailed agent information
32
-
-`success`: Optional boolean indicating if the operation was successful
33
-
-`message`: Optional string with additional information
34
-
-`error`: Optional string containing error details if the operation failed
35
-
-`messageId`: Optional unique identifier for the message
0 commit comments