Models
Wake model
Start loading an asleep version: a named model’s production version, or a
version such as router@3. It answers at once, and calling it again is harmless;
GET /v1/models/{name} shows each version’s state.
POST
Wake model
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Start loading an asleep version: a named model’s production version, or a
version such as router@3. It answers at once, and calling it again is harmless;
GET /v1/models/{name} shows each version’s state.
curl --request POST \
--url https://console.sqwish.ai/v1/models/{name}/wake \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.sqwish.ai/v1/models/{name}/wake"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.sqwish.ai/v1/models/{name}/wake', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"model": "<string>",
"version": "<string>",
"state": "loaded"
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"details": [
{
"path": [
"<string>"
],
"message": "<string>",
"type": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"details": [
{
"path": [
"<string>"
],
"message": "<string>",
"type": "<string>"
}
]
}
}curl --request POST \
--url https://console.sqwish.ai/v1/models/{name}/wake \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.sqwish.ai/v1/models/{name}/wake"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.sqwish.ai/v1/models/{name}/wake', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"model": "<string>",
"version": "<string>",
"state": "loaded"
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"details": [
{
"path": [
"<string>"
],
"message": "<string>",
"type": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"details": [
{
"path": [
"<string>"
],
"message": "<string>",
"type": "<string>"
}
]
}
}