v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBauto-agent
Stop Run Endpoint
Stop a running Auto Agent by terminating its Modal sandbox.
Args: request: FastAPI request (required by rate limiter). run_id: UUID of the run to stop. auth: Authenticated user (ownership is enforced).
Raises: HTTPException: 404 if run not found, 400 if not running.
post/auto-agent/run/{run_id}/stop
Path parameters
run_idstring required
Response
Successful Response