Table of Contents

Interface IManagementClient

Namespace
FoundationaLLM.Client.Management.Interfaces
Assembly
FoundationaLLM.Client.Management.dll

Provides high-level methods to interact with the Management API.

public interface IManagementClient
Extension Methods

Properties

AIModels

Contains methods to interact with AIModel resources.

IAIModelManagementClient AIModels { get; }

Property Value

IAIModelManagementClient

Agents

Contains methods to interact with Agent resources.

IAgentManagementClient Agents { get; }

Property Value

IAgentManagementClient

Attachments

Contains methods to interact with Attachment resources.

IAttachmentManagementClient Attachments { get; }

Property Value

IAttachmentManagementClient

Configuration

Contains methods to interact with Configuration resources.

IConfigurationManagementClient Configuration { get; }

Property Value

IConfigurationManagementClient

DataSources

Contains methods to interact with DataSource resources.

IDataSourceManagementClient DataSources { get; }

Property Value

IDataSourceManagementClient

Prompts

Contains methods to interact with Prompt resources.

IPromptManagementClient Prompts { get; }

Property Value

IPromptManagementClient

Vectorization

Contains methods to interact with Vectorization resources.

IVectorizationManagementClient Vectorization { get; }

Property Value

IVectorizationManagementClient

Methods

GetResourceByObjectId<T>(string)

Retrieves a resource by its ObjectId.

Task<T> GetResourceByObjectId<T>(string objectId) where T : ResourceBase

Parameters

objectId string

The resource's Object ID (full resource path).

Returns

Task<T>

Returns a deserialized resource object.

Type Parameters

T

The type of resource to retrieve. It must be derived from ResourceBase.

GetResourceWithActionsAndRolesByObjectId<T>(string)

Retrieves a resource by its ObjectId, including actions and roles.

Task<ResourceProviderGetResult<T>> GetResourceWithActionsAndRolesByObjectId<T>(string objectId) where T : ResourceBase

Parameters

objectId string

The resource's Object ID (full resource path).

Returns

Task<ResourceProviderGetResult<T>>

Returns a deserialized resource object and its list of allowed actions and roles.

Type Parameters

T

The type of resource to retrieve. It must be derived from ResourceBase.