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
- 200
- 401
- 500
Model status retrieved successfully
- application/json
- Schema
- Example (auto)
Schema
status object
{
"status": {
"address": "string",
"assetsReady": true,
"running": true
}
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
stringstring
"string"
Internal Server Error
- application/json
- Schema
- Example (auto)
Schema
stringstring
"string"
Authorization: Authorization
name: Authorizationtype: apiKeydescription: Type "Bearer" followed by a space and token acquired from the User Svc Login endpoint.in: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
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());
ResponseClear