Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Query Parameters

hosting
enum<string> | null

Where the volumes are stored. Defaults to your organization's hosting when it has one, and is required when it has more than one. Where volumes are stored. The same name under two hostings is two different volumes.

  • BASETEN_CLOUD: Baseten's shared fleet.
  • SINGLE_TENANT: your organization's single-tenant workload planes.
  • SELF_HOSTED: workload planes in your own cloud account.
Available options:
BASETEN_CLOUD,
SINGLE_TENANT,
SELF_HOSTED
cursor
string | null

Opaque cursor returned by a previous page. Omit to fetch the first page.

limit
integer
default:100

Maximum number of volumes to return.

Required range: 1 <= x <= 1000
namespace
string
required

Namespace to list volumes in. Required, because the volume service has no cross-namespace inventory.

Response

200 - application/json

A page of volumes in one namespace.

items
VolumeV1 · object[]
required

Items in this page.

pagination
PaginationResponseV1 · object
required

Pagination metadata for the page.