Python
import os from skylight_sdk import Skylight with Skylight( apikey=os.getenv("SKYLIGHT_APIKEY", ""), ) as skylight: res = skylight.agent.stop(instance_id="<id>") # Handle response print(res)
{ "message": "<string>", "status": "<string>" }
Stop a running agent for a specific instance.
Requires API key authentication.
API key authentication
Agent stopped successfully
Status of the operation
"success"
Human-readable status message