CreateAgentSpace
Creates an AgentSpace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentloop:CreateAgentSpace |
create |
*AgentSpace
|
None | None |
Request syntax
POST /agentspace HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| agentSpace |
string |
Yes |
The name of the AgentSpace. |
test-agent-space |
| description |
string |
No |
The description. |
test |
| cmsWorkspace |
string |
No |
The CMS workspace. |
test-cms-workspace |
| mseNamespaceId |
string |
No |
The MSE namespace ID. |
test-mse-namespace-Id |
| trajectoryStoreEnabled |
boolean |
No |
Specifies whether trajectory cleaning is enabled. |
|
| trajectoryEmbeddingEnabled |
boolean |
No |
Specifies whether vector indexing is enabled. |
true |
| clientToken |
string |
No |
The client token that is used to ensure the idempotence of the create operation. It is a unique string generated by the client. |
a1b2c3d4-1234-5678-90ab-cdef12345678 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The request ID. |
AA689779-61AB-5077-BD91-9F7EA1205D68 |
Examples
Success response
JSON format
{
"requestId": "AA689779-61AB-5077-BD91-9F7EA1205D68"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.