List Objects in a Volume
curl --request GET \
--url https://api.cycls.ai/v1/volume/objects \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.cycls.ai/v1/volume/objects"
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/objects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"objects": [
{
"path": "<string>",
"size": 123,
"updated": "<string>"
}
],
"next_page_token": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Volumes
List Objects in a Volume
GET
https://api.cycls.ai
/
v1
/
volume
/
objects
List Objects in a Volume
curl --request GET \
--url https://api.cycls.ai/v1/volume/objects \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.cycls.ai/v1/volume/objects"
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/objects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"objects": [
{
"path": "<string>",
"size": 123,
"updated": "<string>"
}
],
"next_page_token": "<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.