Skip to main content

Enterprise: System Details Endpoint

Overview

This endpoint returns information about your server.

Request

--request POST 'https://modelslab.com/api/v1/enterprise/flux/system_details' \

Send a POST request to https://modelslab.com/api/v1/enterprise/flux/system_details endpoint to get information about your server.

Attributes

ParameterDescription
keyYour enterprise API Key used for request authorization.

Example

Body

Body Raw
{
"key": "enterprise_api_key"
}

Request

var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");

var raw = JSON.stringify({
"key": ""
});

var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};

fetch("https://modelslab.com/api/v1/enterprise/flux/system_details", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Response

The example below shows that there are no queued images for processing at the moment of the request.

{
"model_count": 0,
"queue_time": 0,
"status": "ok"
}