Agent

@julep/sdk / Modules / managers/agent / AgentsManager

Class: AgentsManager

managers/agent.AgentsManager

BaseManager serves as the base class for all manager classes that interact with the Julep API. It provides common functionality needed for API interactions.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AgentsManager(apiClient): AgentsManager

Constructs a new instance of BaseManager.

Parameters

Returns

AgentsManager

Inherited from

BaseManager.constructor

Defined in

src/managers/base.ts:12

Properties

apiClient

apiClient: JulepApiClient

The JulepApiClient instance used for API interactions.

Inherited from

BaseManager.apiClient

Defined in

src/managers/base.ts:12

Methods

create

create(«destructured»): Promise<Partial<Agent> & { id: string }>

Parameters

Returns

Promise<Partial<Agent> & { id: string }>

Defined in

src/managers/agent.ts:24


delete

delete(agentId): Promise<void>

Parameters

Returns

Promise<void>

Defined in

src/managers/agent.ts:85


get

get(agentId): Promise<Agent>

Parameters

Returns

Promise<Agent>

Defined in

src/managers/agent.ts:18


list

list(«destructured»?): Promise<Agent[]>

Parameters

Returns

Promise<Agent[]>

Defined in

src/managers/agent.ts:65


update

update(agentId, request, overwrite?): Promise<Partial<Agent> & { id: string }>

Parameters

Returns

Promise<Partial<Agent> & { id: string }>

Defined in

src/managers/agent.ts:92

update(agentId, request, overwrite): Promise<Partial<Agent> & { id: string }>

Parameters

Returns

Promise<Partial<Agent> & { id: string }>

Defined in

src/managers/agent.ts:98

Last updated