For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

agentengine workspace sessions stop

Stop a runtime session’s reserved sandbox capacity.

Stop a session’s reserved agent and tool sandboxes.

Stop returns as soon as termination is accepted. The session appears as stopping until both reservations are released, after which it disappears from the list. Conversation history is kept.

Any state held only in those sandboxes (process memory, ephemeral files, undurable local writes) is lost.

agentengine workspace sessions stop <session-id> [flags]
agentengine workspace sessions stop <session-id>
agentengine workspace sessions stop <session-id> --workspace-id <workspace-id>
--base-url string Platform base URL
--context string Named context to target (see 'agentengine context list')
-h, --help help for stop
--json Output JSON
--org-id string Organization ID
--project-id string Project ID
--workspace string Monorepo: select a specific workspace by name (from root agent.yaml)
--workspace-id string Workspace ID
--log-file string override log file path
--log-level string file log verbosity (error|warn|info|debug) (default "info")
--no-log disable file logging
-q, --quiet silence stderr below error
-v, --verbose count raise stderr verbosity (-v info, -vv debug)
Rate this page