@runloop/api-client - v1.22.0
    Preparing search index...

    Class Agents

    Hierarchy

    • APIResource
      • Agents
    Index

    Constructors

    Properties

    _client: Runloop

    Methods

    • Retrieve a specific Agent by its unique identifier.

      Parameters

      • id: string
      • Optionaloptions: RequestOptions<unknown>

      Returns APIPromise<AgentView>

    • Delete an Agent by its unique identifier. The Agent will be permanently removed.

      Parameters

      • id: string
      • Optionaloptions: RequestOptions<unknown>

      Returns APIPromise<unknown>

    • Returns devbox counts grouped by agent name. This endpoint efficiently aggregates devbox counts for all agents in a single request, avoiding N+1 query patterns.

      Parameters

      • Optionaloptions: RequestOptions<unknown>

      Returns APIPromise<AgentDevboxCountsView>