Check Name Availability
curl --request GET \
--url https://api.cycls.ai/v1/deployment/check-name \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.cycls.ai/v1/deployment/check-name"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.cycls.ai/v1/deployment/check-name', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"available": true,
"reason": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Deployments
Check Name Availability
Check if a deployment name is available for the authenticated user. Returns whether the name can be used and a reason if not.
GET
https://api.cycls.ai
/
v1
/
deployment
/
check-name
Check Name Availability
curl --request GET \
--url https://api.cycls.ai/v1/deployment/check-name \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.cycls.ai/v1/deployment/check-name"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.cycls.ai/v1/deployment/check-name', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"available": true,
"reason": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
APIKeyHeaderHTTPBearer
Your Cycls API key, from https://cloud.cycls.com. Sent as the X-API-Key header. This is the CYCLS_API_KEY the CLI uses.