Interface ExecuteService

  • All Implemented Interfaces:

    
    public interface ExecuteService
    
                        

    Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows

    • Constructor Detail

    • Method Detail

      • create

         ExecuteCreateResponse create(ExecuteCreateParams params)

        Creates an ephemeral agent and immediately executes a run. Returns the run ID for polling status and results. This is the fastest way to run an agent without managing agent lifecycle.

        Ephemeral agent lifecycle: The agent created by this endpoint is automatically soft-deleted and its scoped API key revoked when the run completes (whether it succeeds, fails, or times out). Ephemeral agents do not appear in GET /agent/v1/agents listings. The returned agentId is valid only for the duration of the run — do not store it for reuse. For persistent, reusable agents, use POST /agent/v1/agents instead.