Table of Contents

Class StatusController

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

Provides methods for checking the status of the service.

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

Methods

GetAuthStatus(string)

Returns OK if the requester is authenticated and allowed to execute requests against this service.

[HttpGet("auth", Name = "GetAuthStatus")]
public IActionResult GetAuthStatus(string instanceId)

Parameters

instanceId string

The id of the instance.

Returns

IActionResult

GetServiceStatus(string)

Returns the status of the Core API service.

[AllowAnonymous]
[HttpGet(Name = "GetServiceStatus")]
public IActionResult GetServiceStatus(string instanceId)

Parameters

instanceId string

The id of the instance.

Returns

IActionResult

Options()

Returns the allowed HTTP methods for the Core API service.

[AllowAnonymous]
[HttpOptions]
public IActionResult Options()

Returns

IActionResult