curl -sS -X POST "$BMA_BASE_URL/v1/agents/<agent_id>/archive" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"id": "<string>",
"archived_at": "<string>",
"created_at": "<string>",
"description": "<string>",
"execution_identity": {
"role_arn": "<string>",
"type": "aws_role"
},
"mcp_servers": [
{
"name": "<string>",
"type": "url",
"url": "<string>"
}
],
"metadata": {},
"model": {
"id": "<string>",
"effort": {
"type": "low"
},
"inference_geo": "<string>",
"speed": "standard"
},
"multiagent": {
"agents": [
{
"id": "<string>",
"type": "agent",
"version": 123
}
],
"type": "coordinator"
},
"name": "<string>",
"skills": [
{
"skill_id": "<string>",
"type": "anthropic",
"version": "<string>"
}
],
"system": "<string>",
"tools": [
{
"configs": [
{
"enabled": true,
"name": "bash",
"permission_policy": {
"type": "always_allow"
},
"type": "bash"
}
],
"default_config": {
"enabled": true,
"permission_policy": {
"type": "always_allow"
}
},
"type": "agent_toolset_20260401"
}
],
"type": "agent",
"updated_at": "<string>",
"version": 123
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}agents
Archive Agent
POST
/
v1
/
agents
/
{agent_id}
/
archive
curl -sS -X POST "$BMA_BASE_URL/v1/agents/<agent_id>/archive" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"id": "<string>",
"archived_at": "<string>",
"created_at": "<string>",
"description": "<string>",
"execution_identity": {
"role_arn": "<string>",
"type": "aws_role"
},
"mcp_servers": [
{
"name": "<string>",
"type": "url",
"url": "<string>"
}
],
"metadata": {},
"model": {
"id": "<string>",
"effort": {
"type": "low"
},
"inference_geo": "<string>",
"speed": "standard"
},
"multiagent": {
"agents": [
{
"id": "<string>",
"type": "agent",
"version": 123
}
],
"type": "coordinator"
},
"name": "<string>",
"skills": [
{
"skill_id": "<string>",
"type": "anthropic",
"version": "<string>"
}
],
"system": "<string>",
"tools": [
{
"configs": [
{
"enabled": true,
"name": "bash",
"permission_policy": {
"type": "always_allow"
},
"type": "bash"
}
],
"default_config": {
"enabled": true,
"permission_policy": {
"type": "always_allow"
}
},
"type": "agent_toolset_20260401"
}
],
"type": "agent",
"updated_at": "<string>",
"version": 123
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}响应
Success.
A Managed Agents agent.