Skip to main content
POST
/
universes
/
{universe_instance_id}
/
release
Release universe
curl --request POST \
  --url https://api.klavis.ai/universes/{universe_instance_id}/release \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.klavis.ai/universes/{universe_instance_id}/release"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.klavis.ai/universes/{universe_instance_id}/release', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.klavis.ai/universes/{universe_instance_id}/release', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "message": "<string>",
  "released_at": "2023-11-07T05:31:56Z"
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Path Parameters

universe_instance_id
string
required

Response

Successful Response

Response after releasing a universe to idle state

message
string
required

Release confirmation message

released_at
string<date-time>
required

Timestamp of release