Skip to main content

Get Default Model Status

GET 

//localhost:11337/model-svc/default-model/status

Retrieves the status of the default model.

Requires the model-svc:model:view permission.

Responses

Model status retrieved successfully

Schema
    status object
    addressstringrequired
    assetsReadybooleanrequired
    runningbooleanrequired

    Running triggers onModelLaunch on the frontend. Running is true when the model is both running and answering - fully loaded.

Authorization: Authorization

name: Authorizationtype: apiKeydescription: Type "Bearer" followed by a space and token acquired from the User Svc Login endpoint.in: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "//localhost:11337/model-svc/default-model/status");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
//localhost:11337
Auth
ResponseClear

Click the Send API Request button above and see the response here!