List sessions
GET/api/agents/v1/{instanceId}/sessions
List sessions Read persisted session state and observed usage to recover an interrupted or uncertain execution.
组织 API Key 鉴权
Authorization: Bearer $SINECLOUD_API_KEY所需权限: agentRun
参数
instanceId· path · 必填- An accessible Agents instance from the Console.
after· query · 可选limit· query · 可选order· query · 可选agent_id· query · 可选OpenAI-Beta· header · 必填
响应
200- Success
400- Invalid or unsupported request
401- Missing, invalid or revoked organization API key.
402- Insufficient funds or execution budget.
403- Product scope, instance, project, workspace or current entitlement denied.
404- Resource not found in this scope
409- State or idempotency conflict
413- Request body exceeds the route limit.
429- Rate or quota limit reached. Respect Retry-After when supplied.
501- Capability not implemented
502- Runtime response unavailable; read durable session state before attempting more execution.
503- Runtime, deployment, model or billing admission unavailable.
504- Gateway deadline exceeded; execution may have started. Inspect durable state before another submission.