Class StatusController
- Namespace
- FoundationaLLM.Orchestration.API.Controllers
- Assembly
- FoundationaLLM.Orchestration.API.dll
Provides methods for checking the status of the service.
[ApiController]
[Route("instances/{instanceId}/[controller]")]
[Consumes("application/json", new string[] { })]
[Produces("application/json", new string[] { })]
public class StatusController : ControllerBase
- Inheritance
-
StatusController
- Inherited Members
- Extension Methods
Constructors
StatusController(IOrchestrationService)
Provides methods for checking the status of the service.
public StatusController(IOrchestrationService orchestrationService)
Parameters
orchestrationService
IOrchestrationServiceThe IOrchestrationService that provides orchestration capabilities.
Methods
Get(string)
Returns the status of the Orchestration API service.
[AllowAnonymous]
[HttpGet(Name = "GetServiceStatus")]
public Task<ServiceStatusInfo> Get(string instanceId)
Parameters
instanceId
string
Returns
Options()
Returns the allowed HTTP methods for the Orchestration API service.
[AllowAnonymous]
[HttpOptions]
public IActionResult Options()