List Volumes
curl --request GET \
--url https://api.cycls.ai/v1/volume/list \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.cycls.ai/v1/volume/list"
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/volume/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"attached_to": [
"<string>"
]
}
]Volumes
List Volumes
Volumes with the deployments currently mounting them, read live from the service templates, the sole store of attachments.
GET
https://api.cycls.ai
/
v1
/
volume
/
list
List Volumes
curl --request GET \
--url https://api.cycls.ai/v1/volume/list \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.cycls.ai/v1/volume/list"
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/volume/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"attached_to": [
"<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.