Provision or resume this workspace’s dedicated D1 database
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/provisionconst options = {method: 'POST'};
fetch('https://app.hookie.ai/admin/api/data-workspace/provision', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/provision"
response = requests.post(url)
print(response.text){}Data workspace
Provision or resume this workspace’s dedicated D1 database
Dedicated workspace database. Pro or Team required. Workspace-scoped credentials only; mutations require the write capability. All reads and writes resolve the database from the authenticated workspace.
POST
/
admin
/
api
/
data-workspace
/
provision
Provision or resume this workspace’s dedicated D1 database
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/provisionconst options = {method: 'POST'};
fetch('https://app.hookie.ai/admin/api/data-workspace/provision', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/provision"
response = requests.post(url)
print(response.text){}Response
Successful operation
The response is of type object.