List the inference engines
const url = 'https://gpu-kitchen.example.lan/api/v1/engines';const options = {method: 'GET', headers: {cookie: 'gpuk_session=<gpuk_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://gpu-kitchen.example.lan/api/v1/engines \ --cookie gpuk_session=<gpuk_session>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Success.
object
object
The engine family every version of this engine shares.
[MOT-143] How many requests the version serves at once: an integer, or an expression over the allocation; null when it does not say.
[MOT-162] How a text-generation version generates: completions (POST /v1/completions) or chat (POST /v1/chat/completions).
object
Parameters a task imposes: a recipe never sets them.
[GPU-202] The CUDA toolkit the image embeds (X.Y.Z); null when unknown.
[GPU-202] The minimum NVIDIA driver that runs it, exact or a branch alone.
Example
{ "engines": [ { "args_map": { "additionalProperty": { "source": "model.hfRepo" } }, "health_check": { "port_source": "runtime.port", "startup_patterns": [ { "step": "weights" } ] }, "generation_route": "completions", "help_capture": { "status": "pending" }, "dish": { "options": { "additionalProperty": { "default": "on" } }, "context_rule": "self_limited", "kv_auto_rule": "none" } } ]}Error codes: auth_required.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: forbidden.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: rate_limited.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}