Table of Contents

Class ConfigurationController

Namespace
FoundationaLLM.Core.API.Controllers
Assembly
FoundationaLLM.Core.API.dll

Provides methods for retrieving and managing configuration.

[Authorize(AuthenticationSchemes = "Bearer", Policy = "MicrosoftEntraIDStandard")]
[ApiController]
[Route("instances/{instanceId}/[controller]")]
public class ConfigurationController : ControllerBase
Inheritance
ConfigurationController
Inherited Members
Extension Methods

Constructors

ConfigurationController(IOrchestrationContext, IOptions<InstanceSettings>, ICoreService, ILogger<FilesController>)

The controller for managing files.

public ConfigurationController(IOrchestrationContext callContext, IOptions<InstanceSettings> instanceOptions, ICoreService coreService, ILogger<FilesController> logger)

Parameters

callContext IOrchestrationContext

The IOrchestrationContext call context of the request being handled.

instanceOptions IOptions<InstanceSettings>

The options providing the InstanceSettings with instance settings.

coreService ICoreService

The ICoreService core service.

logger ILogger<FilesController>

Exceptions

ResourceProviderException

Methods

GetCoreConfiguration(string)

Returns the core configuration.

[HttpGet]
public Task<IActionResult> GetCoreConfiguration(string instanceId)

Parameters

instanceId string

The FoundationaLLM instance identifier.

Returns

Task<IActionResult>