Skip to content

Read one inference engine

GET
/api/v1/engines/{id}
curl --request GET \
--url https://gpu-kitchen.example.lan/api/v1/engines/1 \
--cookie gpuk_session=<gpuk_session>
id
required
integer
> 0 <= 2147483647

Success.

Media typeapplication/json
object
engine
required
object
id
required
integer
>= -9007199254740991 <= 9007199254740991
family_id
required

The engine family every version of this engine shares.

string
name
required
string
docker_image
required
string
version
required
string
version_order
required
number | null
description
required
string | null
params_schema
required
Any of:
object
key
additional properties
dockerfile
required
string | null
args_map
required
Any of:
object
key
additional properties
object
flag
required
string
source
required
string
Allowed values: model.hfRepo model.localFile model.mmprojPath runtime.port runtime.servedName gpu.count recipe.params fixed default
value
Any of:
negative_flag
string | null
headroom_gb
Any of:
number
process_command
required
string | null
default_concurrency
required

[MOT-143] How many requests the version serves at once: an integer, or an expression over the allocation; null when it does not say.

string | null
health_check
required
Any of:
object
path
required
string
port_source
required
string
default: runtime.port
Allowed values: runtime.port fixed
port
Any of:
integer
>= -9007199254740991 <= 9007199254740991
startup_patterns
Array<object>
object
step
required
string
Allowed values: weights compile init
pattern
required
string
generation_route
required

[MOT-162] How a text-generation version generates: completions (POST /v1/completions) or chat (POST /v1/chat/completions).

string
Allowed values: completions chat
failure_patterns
required
Any of:
Array<object>
object
key
additional properties
task_types
required
Any of:
Array<string>
task_params
required
Any of:
object
key
additional properties
object
key
additional properties
task_owned_params
required

Parameters a task imposes: a recipe never sets them.

Array<string>
help_capture
required
Any of:
object
status
required
string
Allowed values: pending done failed
docker_image
required
string
text
required
string | null
exit_code
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
error
required
string | null
started_at
required
string
finished_at
required
string | null
cuda
required

[GPU-202] The CUDA toolkit the image embeds (X.Y.Z); null when unknown.

string | null
min_driver
required

[GPU-202] The minimum NVIDIA driver that runs it, exact or a branch alone.

string | null
cuda_unknown_reason
required
string | null
compute_capabilities
required
Any of:
Array<string>
dish
required
Any of:
object
options
required
object
key
additional properties
object
default
required
string
Allowed values: on off template
on_when
string | null
off_when
string | null
context_rule
required
string
Allowed values: self_limited vllm-0.8 vllm-0.19 vllm-0.30 sglang-0.4 sglang-0.5
kv_auto_rule
required
string
Allowed values: none vllm-0.26 sglang-0.5.17 sglang-0.5.18 sglang-0.5.19 tgi-3
is_public
required
boolean
recipe_count
required
integer
<= 9007199254740991
test_result_count
required
integer
<= 9007199254740991
created_at
required
string format: date-time
Example
{
"engine": {
"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: validation_error.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: auth_required.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: forbidden.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: engine_not_found.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: rate_limited.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}