Volumes
Create a volume access token
Creates a short-lived token to push or pull volume data.
POST
cURL
You can also authenticate with a workload identity access token from a service account with the
WORKSPACE_MANAGE_ALL permission preset. If the token has less than six minutes left, exchange your platform token for a new Baseten access token first.Authorizations
Body
application/json
Capabilities the token grants, at least one. Requesting PUSH or TAG requires organization-level model management permission.
Minimum array length:
1Capability a volume token grants.
PULL: read volume data.INSPECT: read volume metadata without data access.PUSH: upload and commit volume versions.TAG: move or remove tags.
Available options:
PULL, INSPECT, PUSH, TAG Response
200 - application/json