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": {}
}
]
}Universe
Release universe
Release and Reinitialize the universe to its initial state.
This immediately returns and handles reset/initialization in the background. Only gcalendar and notion setup methods use sandbox (which call reset internally). Others need explicit reset before re-initialization.
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
Your Klavis AI API key.
