Skip to main content
Create network configuration

Authorizations

Authorization
string
header
default:Bearer {API_ACCESS_TOKEN}
required

CoreWeave API access token sent as a bearer token.

Query Parameters

requestId
string

Body

application/json

NetworkConfig is the desired network document a sandbox binds 1:1.

spec
object
required

NetworkOptions declares the sandbox's network intent beyond port exposure.

networkConfigId
string

Immutable, organization-unique ID matching ^[a-z][a-z0-9-]{2,62}$. Choose the ID on CreateNetworkConfig, without the reserved nc- prefix. The platform assigns an nc- ID when it creates a configuration automatically for a sandbox.

etag
string

Optional concurrency token. Send the last returned value in the NetworkConfig update body to protect a desired-state write. A mismatch on that write returns ABORTED with CWSANDBOX_ETAG_MISMATCH. A bound update whose resulting spec already matches stored desired state reapplies enforcement without checking the token. Omitting the token permits the last persisted desired-state write to win. The token does not make enforcement atomic.

Response

OK

NetworkConfig is the desired network document a sandbox binds 1:1.

spec
object
required

NetworkOptions declares the sandbox's network intent beyond port exposure.

networkConfigId
string

Immutable, organization-unique ID matching ^[a-z][a-z0-9-]{2,62}$. Choose the ID on CreateNetworkConfig, without the reserved nc- prefix. The platform assigns an nc- ID when it creates a configuration automatically for a sandbox.

status
object
etag
string

Optional concurrency token. Send the last returned value in the NetworkConfig update body to protect a desired-state write. A mismatch on that write returns ABORTED with CWSANDBOX_ETAG_MISMATCH. A bound update whose resulting spec already matches stored desired state reapplies enforcement without checking the token. Omitting the token permits the last persisted desired-state write to win. The token does not make enforcement atomic.