Request
curl -sS --fail-with-body "https://ark.cn-beijing.volces.com/api/v3/sessions" \
-H "Authorization: Bearer $ARK_API_KEY" \
-H "Content-Type: application/json" \
-d @- <<'EOF'
{
"agent": "<AGENT_ID>",
"environment_id": "<ENVIRONMENT_ID>",
"title": "Q3 规划头脑风暴",
"tags": [
{"key": "team", "value": "agent-infra"},
{"key": "quarter", "value": "2026Q3"}
]
}
EOFResponse
{
"id": "sesn-20260715083012-a3f7b",
"type": "session",
"agent": {
"id": "<AGENT_ID>",
"type": "agent",
"name": "<AGENT_NAME>",
"version": 1,
"created_at": "2026-07-15T08:00:00Z",
"updated_at": "2026-07-15T08:00:00Z"
},
"environment_id": "<ENVIRONMENT_ID>",
"title": "Q3 规划头脑风暴",
"vault_ids": [],
"resources": [],
"status": "idle",
"created_at": "2026-07-15T08:30:12.000Z",
"updated_at": "2026-07-15T08:30:12.000Z",
"tags": [
{"key": "team", "value": "agent-infra"},
{"key": "quarter", "value": "2026Q3"}
]
}