UpdateAgentSessionTitle
Modifies the title of an agent session accessible to the current identity without changing the task execution status.
Operation description
Modifies the title of an agent session accessible to the current identity without changing the task execution status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:UpdateAgentSessionTitle |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Jsonrpc |
string |
No |
The JSON-RPC protocol version. Valid value: 2.0. |
2.0 |
| Id |
string |
No |
The JSON-RPC correlation ID for the current request. This ID is specified by the caller and used to associate the request with the response. |
updateagentsessiontitle-rpc-001 |
| Params |
object |
No |
The request parameters for modifying the session title, including the target session ID and the new title. |
|
| SessionId |
string |
Yes |
The ID of the agent session that belongs to the current account. |
123e4567-e89b-42d3-a456-426614174000 |
| Title |
string |
Yes |
The new title. The length must be 1 to 512 characters after leading and trailing whitespace is removed. |
New title |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The unique ID of the current OpenAPI request. You can use this ID to troubleshoot request issues. |
01A0B6E0-E005-1465-B5DE-5CD17677426F |
| JsonRpcResponse |
object |
The JSON-RPC response. It returns Result on success and Error on protocol errors. |
|
| Jsonrpc |
string |
The JSON-RPC protocol version. |
2.0 |
| Id |
string |
The JSON-RPC correlation ID for the current request. This ID is passed by the caller and returned as is. |
updateagentsessiontitle-rpc-001 |
| Timestamp |
integer |
The response time. It is a UNIX timestamp in milliseconds. |
1789549200000 |
| Result |
object |
The operation result. |
|
| SessionId |
string |
The ID of the agent session whose title is modified. This corresponds to the SessionId in the request. |
123e4567-e89b-42d3-a456-426614174000 |
| Title |
string |
The saved session title after modification. Leading and trailing whitespace characters are removed. |
New title |
| Error |
object |
The JSON-RPC fault message. This field is not returned on success. |
|
| Code |
integer |
The JSON-RPC error code. |
500 |
| ErrorCode |
string |
The business error code. |
0x4883300000000019 |
| Message |
string |
The error message. |
The session does not exist or the current account does not have access permissions. Return to the session list and select another session |
| Data |
any |
The optional additional error information. The content depends on the error type. |
{} |
Examples
Success response
JSON format
{
"RequestId": "01A0B6E0-E005-1465-B5DE-5CD17677426F",
"JsonRpcResponse": {
"Jsonrpc": "2.0",
"Id": "updateagentsessiontitle-rpc-001",
"Timestamp": 1789549200000,
"Result": {
"SessionId": "123e4567-e89b-42d3-a456-426614174000",
"Title": "New title"
},
"Error": {
"Code": 500,
"ErrorCode": "0x4883300000000019",
"Message": "The session does not exist or the current account does not have access permissions. Return to the session list and select another session",
"Data": "{}"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.