The caller's Magic settings
GET
/v1/studio/magic/settings
const url = 'http://localhost:8300/v1/studio/magic/settings';const options = { method: 'GET', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8300/v1/studio/magic/settings \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The settings
Media typeapplication/json
object
ask_above_gpu_minutes
required
Runs whose estimate is above this ask first
number
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"}Retryable
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}