sandboxes

[Beta] Create a volume

Changed on

Beta: This API is in active development and may change without notice. Requires sandbox volumes to be enabled for your workspace. Create an empty volume that can be attached to sandboxes at a mount path. The size is rounded up to a whole GiB.

post/api/v2/sandboxes/volumes

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v2/sandboxes/volumes
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Request body

descriptionstring
labelsSandboxesLabels
namestring required

Name is unique within the workspace.

size_bytesinteger required

SizeBytes is the volume's capacity, rounded up to a whole GiB.

Response

Created

created_atstring date-time
created_bystring
descriptionstring
idstring
labelsSandboxesLabels
namestring
size_bytesinteger
source_volume_idstring
statusstring
status_messagestring
updated_atstring date-time
updated_bystring

Changes