curl --request POST \
--url https://api.blaxel.ai/v0/volumes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"events": [
{
"message": "<string>",
"revision": "<string>",
"status": "<string>",
"time": "<string>",
"type": "<string>"
}
],
"metadata": {
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "<string>",
"labels": {},
"name": "<string>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"region": "<string>",
"size": 123
},
"state": {
"attachedTo": "<string>"
},
"status": "<string>",
"terminatedAt": "<string>"
}'
{
"events": [
{
"message": "<string>",
"revision": "<string>",
"status": "<string>",
"time": "<string>",
"type": "<string>"
}
],
"metadata": {
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "<string>",
"labels": {},
"name": "<string>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"region": "<string>",
"size": 123
},
"state": {
"attachedTo": "<string>"
},
"status": "<string>",
"terminatedAt": "<string>"
}
Creates a volume.
curl --request POST \
--url https://api.blaxel.ai/v0/volumes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"events": [
{
"message": "<string>",
"revision": "<string>",
"status": "<string>",
"time": "<string>",
"type": "<string>"
}
],
"metadata": {
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "<string>",
"labels": {},
"name": "<string>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"region": "<string>",
"size": 123
},
"state": {
"attachedTo": "<string>"
},
"status": "<string>",
"terminatedAt": "<string>"
}'
{
"events": [
{
"message": "<string>",
"revision": "<string>",
"status": "<string>",
"time": "<string>",
"type": "<string>"
}
],
"metadata": {
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "<string>",
"labels": {},
"name": "<string>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"region": "<string>",
"size": 123
},
"state": {
"attachedTo": "<string>"
},
"status": "<string>",
"terminatedAt": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Volume resource for persistent storage
successful operation
Volume resource for persistent storage
Was this page helpful?