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
instanceIdstringThe id of the instance.
Returns
GetServiceStatus(string)
Returns the status of the Core API service.
[AllowAnonymous]
[HttpGet(Name = "GetServiceStatus")]
public IActionResult GetServiceStatus(string instanceId)
  Parameters
instanceIdstringThe id of the instance.
Returns
Options()
Returns the allowed HTTP methods for the Core API service.
[AllowAnonymous]
[HttpOptions]
public IActionResult Options()