Network volumes
Network volumes are persistent, region-bound storage that you attach to pods and serverless endpoints and access over an S3-compatible API.
The network volume object
| Name | Type | Description |
|---|---|---|
id | string | Unique ID, prefixed vol_. Also the S3 bucket name. |
object | string | Always network_volume. |
name | string | Display name. |
regionId | string | Region the volume lives in. Pods and endpoints using it run in this region. |
tier | enum | STANDARD or HIGH_PERFORMANCE. |
sizeInGb | integer | Provisioned size, 10 to 4,000. Billed on this value. |
usedInGb | number | Space in use, refreshed every few minutes. |
status | enum | CREATING, AVAILABLE or DELETING. |
s3Bucket | string | Bucket name for the S3 API (the volume ID). |
s3Endpoint | string | S3 endpoint URL for the volume's region. |
attachedTo | array | { type: "pod" | "endpoint", id } for every pod and endpoint using the volume. |
createdAt | string | ISO 8601 timestamp. |
updatedAt | string | ISO 8601 timestamp. |
{
"id": "vol_c7d2h4ke",
"object": "network_volume",
"name": "models",
"regionId": "eu-nl-1",
"tier": "STANDARD",
"sizeInGb": 500,
"usedInGb": 212.4,
"status": "AVAILABLE",
"s3Bucket": "vol_c7d2h4ke",
"s3Endpoint": "https://s3.eu-nl-1.apipods.com",
"attachedTo": [
{
"type": "endpoint",
"id": "ep_4n8wq2zt"
}
],
"createdAt": "2026-10-30T12:20:45Z",
"updatedAt": "2026-11-02T08:11:09Z"
}Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /network-volumes | List network volumes |
| POST | /network-volumes | Create a network volume |
| GET | /network-volumes/{volumeId} | Retrieve a network volume |
| PATCH | /network-volumes/{volumeId} | Rename or grow a volume |
| DELETE | /network-volumes/{volumeId} | Delete a network volume |
| GET | /s3-keys | List S3 access keys |
| POST | /s3-keys | Create an S3 access key |
| DELETE | /s3-keys/{s3KeyId} | Delete an S3 access key |
List network volumes
/network-volumesReturns network volumes, newest first.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
regionId | query | string | Filter by region. |
limit | query | integer | 1 to 100, default 20. |
cursor | query | string | Pagination cursor. |
Request
curl https://api.apipods.com/v1/network-volumes?regionId=eu-nl-1 \
-H "Authorization: Bearer $APIPODS_API_KEY"Response
{
"object": "list",
"data": [
{
"id": "vol_c7d2h4ke",
"object": "network_volume",
"name": "models",
"regionId": "eu-nl-1",
"tier": "STANDARD",
"sizeInGb": 500,
"usedInGb": 212.4,
"status": "AVAILABLE",
"s3Bucket": "vol_c7d2h4ke",
"s3Endpoint": "https://s3.eu-nl-1.apipods.com",
"attachedTo": [
{
"type": "endpoint",
"id": "ep_4n8wq2zt"
}
],
"createdAt": "2026-10-30T12:20:45Z",
"updatedAt": "2026-11-02T08:11:09Z"
}
],
"hasMore": false,
"nextCursor": null
}Create a network volume
/network-volumesCreates a volume. It is CREATING for a few seconds, then AVAILABLE. Billing starts at creation and is based on sizeInGb: $0.14/GB per month for STANDARD (first 1 TB) and $0.28/GB per month for HIGH_PERFORMANCE. See Pricing.
HIGH_PERFORMANCE is available in eu-nl-1, eu-de-1, us-va-1, us-tx-2.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
namerequired | body | string | Display name. |
regionIdrequired | body | string | Region, e.g. eu-nl-1. |
sizeInGbrequired | body | integer | 10 to 4,000. |
tier | body | enum | STANDARD (default) or HIGH_PERFORMANCE. |
Request
curl -X POST https://api.apipods.com/v1/network-volumes \
-H "Authorization: Bearer $APIPODS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "models",
"regionId": "eu-nl-1",
"sizeInGb": 500,
"tier": "STANDARD"
}'Response
{
"id": "vol_c7d2h4ke",
"object": "network_volume",
"name": "models",
"regionId": "eu-nl-1",
"tier": "STANDARD",
"sizeInGb": 500,
"usedInGb": 0,
"status": "CREATING",
"s3Bucket": "vol_c7d2h4ke",
"s3Endpoint": "https://s3.eu-nl-1.apipods.com",
"attachedTo": [],
"createdAt": "2026-10-30T12:20:45Z",
"updatedAt": "2026-10-30T12:20:45Z"
}| Status | When |
|---|---|
400 | invalid_parameter: size out of range, or HIGH_PERFORMANCE is not offered in the region. |
Retrieve a network volume
/network-volumes/{volumeId}Returns one volume.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
volumeIdrequired | path | string | The volume ID. |
Request
curl https://api.apipods.com/v1/network-volumes/vol_c7d2h4ke \
-H "Authorization: Bearer $APIPODS_API_KEY"Response
{
"id": "vol_c7d2h4ke",
"object": "network_volume",
"name": "models",
"regionId": "eu-nl-1",
"tier": "STANDARD",
"sizeInGb": 500,
"usedInGb": 212.4,
"status": "AVAILABLE",
"s3Bucket": "vol_c7d2h4ke",
"s3Endpoint": "https://s3.eu-nl-1.apipods.com",
"attachedTo": [
{
"type": "endpoint",
"id": "ep_4n8wq2zt"
}
],
"createdAt": "2026-10-30T12:20:45Z",
"updatedAt": "2026-11-02T08:11:09Z"
}Update a network volume
/network-volumes/{volumeId}Renames or grows a volume. Growing is online: attached pods and workers see the new size within a minute. Volumes cannot shrink; copy data to a new, smaller volume instead.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
volumeIdrequired | path | string | The volume ID. |
name | body | string | New name. |
sizeInGb | body | integer | New size, larger than the current size, up to 4,000. |
Request
curl -X PATCH https://api.apipods.com/v1/network-volumes/vol_c7d2h4ke \
-H "Authorization: Bearer $APIPODS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sizeInGb": 1000
}'Response
{
"id": "vol_c7d2h4ke",
"object": "network_volume",
"name": "models",
"regionId": "eu-nl-1",
"tier": "STANDARD",
"sizeInGb": 1000,
"usedInGb": 212.4,
"status": "AVAILABLE",
"s3Bucket": "vol_c7d2h4ke",
"s3Endpoint": "https://s3.eu-nl-1.apipods.com",
"attachedTo": [
{
"type": "endpoint",
"id": "ep_4n8wq2zt"
}
],
"createdAt": "2026-10-30T12:20:45Z",
"updatedAt": "2026-11-18T14:02:10Z"
}| Status | When |
|---|---|
400 | invalid_parameter: sizeInGb smaller than the current size. |
Delete a network volume
/network-volumes/{volumeId}Deletes the volume and all its data. The volume must not be attached to any pod or endpoint.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
volumeIdrequired | path | string | The volume ID. |
Request
curl -X DELETE https://api.apipods.com/v1/network-volumes/vol_c7d2h4ke \
-H "Authorization: Bearer $APIPODS_API_KEY"Response
Returns 204 No Content with an empty body.
| Status | When |
|---|---|
409 | resource_in_use: detach it from every pod and endpoint in attachedTo first. |
List S3 access keys
/s3-keysReturns S3 access keys in your organization. Secret access keys are never returned after creation.
Request
curl https://api.apipods.com/v1/s3-keys \
-H "Authorization: Bearer $APIPODS_API_KEY"Response
{
"object": "list",
"data": [
{
"id": "s3k_9m2x4q7w",
"object": "s3_key",
"name": "training-sync",
"accessKeyId": "APK7Q2M9X4W8KT3NZC",
"createdBy": "usr_2m9x4k7q",
"lastUsedAt": "2026-11-18T07:45:12Z",
"createdAt": "2026-11-01T10:00:00Z"
}
],
"hasMore": false,
"nextCursor": null
}Create an S3 access key
/s3-keysCreates an access key pair for the S3 API. It can read and write every network volume in the organization. Use https://s3.{regionId}.apipods.com as the endpoint, the volume ID as the bucket, path-style addressing and SigV4 with the region set to the volume's regionId.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
namerequired | body | string | Display name. |
Request
curl -X POST https://api.apipods.com/v1/s3-keys \
-H "Authorization: Bearer $APIPODS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "training-sync"
}'Response
{
"id": "s3k_9m2x4q7w",
"object": "s3_key",
"name": "training-sync",
"accessKeyId": "APK7Q2M9X4W8KT3NZC",
"createdBy": "usr_2m9x4k7q",
"lastUsedAt": null,
"createdAt": "2026-11-01T10:00:00Z",
"secretAccessKey": "kX8v…q2Rn"
}$ export AWS_ACCESS_KEY_ID=APK7Q2M9X4W8KT3NZC
$ export AWS_SECRET_ACCESS_KEY=…
$ aws s3 ls s3://vol_c7d2h4ke/ --endpoint-url https://s3.eu-nl-1.apipods.com --region eu-nl-1Delete an S3 access key
/s3-keys/{s3KeyId}Revokes the key immediately.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
s3KeyIdrequired | path | string | The key's ID (s3k_…), not the access key ID. |
Request
curl -X DELETE https://api.apipods.com/v1/s3-keys/s3k_9m2x4q7w \
-H "Authorization: Bearer $APIPODS_API_KEY"Response
Returns 204 No Content with an empty body.