Volumes

List mountable PersistentVolumeClaims

Returns the Bound PersistentVolumeClaims in the caller's namespace, which are exactly the claims a SandboxEnv may mount through `overrides.volumes`. There is deliberately no namespace parameter: the namespace is derived from the caller's identity, and that derivation is the authorisation boundary. Empty when the feature is disabled (see `volumes` on `/feature-gates`).

GET
/volumes

Returns the Bound PersistentVolumeClaims in the caller's namespace, which are exactly the claims a SandboxEnv may mount through overrides.volumes. There is deliberately no namespace parameter: the namespace is derived from the caller's identity, and that derivation is the authorisation boundary. Empty when the feature is disabled (see volumes on /feature-gates).

Authorization

ApiKeyAuth
AGENTBOX-API-KEY<token>

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://volumes"
{  "total": 2,  "items": [    {      "claimName": "team-user-41",      "displayName": "zystore",      "capacity": "5Ti",      "accessModes": [        "ReadWriteMany"      ],      "storageClass": "example-shared-fs",      "phase": "Bound"    },    {      "claimName": "shared-models",      "displayName": "shared-models",      "capacity": "200Ti",      "accessModes": [        "ReadWriteMany"      ],      "storageClass": "example-shared-fs",      "phase": "Bound"    }  ]}
{  "error": "string",  "errorCode": "APPROVAL_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "APPROVAL_REQUIRED",  "detail": null}