private ServiceStatusInfo getServiceStatus(RestApi.RequestContext context) {
        String instanceId = context.pathParameters().getStringOrThrow("instanceId");
        String clusterIdString = context.queryParameters().getStringOrThrow("clusterId");
        String serviceTypeString = context.queryParameters().getStringOrThrow("serviceType");
        String configIdString = context.queryParameters().getStringOrThrow("configId");
        ApplicationInstanceReference reference = parseInstanceId(instanceId);
        ApplicationId applicationId = OrchestratorUtil.toApplicationId(reference);

        ClusterId clusterId = new ClusterId(clusterIdString);
        ServiceType serviceType = new ServiceType(serviceTypeString);
        ConfigId configId = new ConfigId(configIdString);

        return rootManager.getStatus(applicationId, clusterId, serviceType, configId);
    }
Provides a read-only API for looking into the current state as seen by the Orchestrator.
This API can be unstable and is not meant to be used programmatically.

@author andreer
@author Oyvind Bakksjo
@author bjorncs
orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/InstanceRequestHandler.java