Skip to main content
POST
Register an external volume

Authorizations

Authorization
string
header
required

Runpod API key authentication. Generate an API key in the Runpod console and send it in the Authorization header as Bearer <api_key>. Keys are scoped to the permissions granted when created; requests may return 403 when a valid key lacks access to the requested resource or action.

Console sessions (Clerk JWTs) act for the signed-in user. To act for a team instead, also send X-Team-Id: <team_id>; it applies only when the user owns or belongs to that team, otherwise the request runs against the user's own account. API keys created inside a team already act for that team and do not need the header.

Body

application/json
name
string
required

Human-readable name, 1–191 characters with at least one non-whitespace character. Leading and trailing whitespace is trimmed.

Required string length: 1 - 191
Pattern: [^\t-\r …   - 

   ]
Example:

"training-data"

connection
object
required

Where the volume's storage is and how to reach it — a discriminated union on protocol.

Response

Created

id
string
required

Unique external volume identifier

Example:

"ext_abc"

name
string
required

Human-readable name

Example:

"training-data"

connection
object
required

Where the volume's storage is and how Runpod reaches it — a discriminated union on protocol. Clients should ignore volumes whose protocol they do not recognize.

createdAt
string<date-time>
required

When the volume was registered

createdByUserId
string | null
required

ID of the user who registered the volume, if known

Example:

"user_123"

Last modified on December 2, 2026