Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Set the caller's Magic settings

PUT
/v1/studio/magic/settings
curl --request PUT \
--url http://localhost:8300/v1/studio/magic/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "ask_above_gpu_minutes": 1 }'
Media typeapplication/json
object
ask_above_gpu_minutes
required

Runs whose estimate is above this ask first

number
<= 600

Example generated

{
"ask_above_gpu_minutes": 1
}

The settings

Media typeapplication/json
object
ask_above_gpu_minutes
required

Runs whose estimate is above this ask first

number
<= 600

Example generated

{
"ask_above_gpu_minutes": 1
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Invalid input

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}