Help us improve CoreWeave documentation. Take the docs survey.
curl --request POST \
--url https://api.example.com/v1alpha1/inference/gateways \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"zones": [
"<string>"
],
"id": "<string>",
"coreWeaveAuth": {},
"weightsAndBiasesAuth": {
"apiKey": "<string>",
"serverUrl": "<string>",
"enableUsageReports": true,
"enableRateLimiting": true
},
"endpointConfiguration": {
"additionalDns": [
"<string>"
]
},
"pathBasedRouting": {}
}
'{
"gateway": {
"spec": {
"id": "<string>",
"name": "<string>",
"zones": [
"<string>"
],
"coreWeaveAuth": {},
"weightsAndBiasesAuth": {
"apiKey": "<string>",
"serverUrl": "<string>",
"enableUsageReports": true,
"enableRateLimiting": true
},
"organizationId": "<string>",
"endpointConfiguration": {
"additionalDns": [
"<string>"
]
},
"bodyBasedRouting": {
"apiType": 123
},
"headerBasedRouting": {
"headerName": "<string>"
},
"pathBasedRouting": {}
},
"status": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"status": 123,
"conditions": [
{
"type": "<string>",
"status": 123,
"lastUpdateTime": "2023-11-07T05:31:56Z",
"reason": "<string>",
"message": "<string>",
"zone": "<string>"
}
],
"endpoints": [
"<string>"
]
}
}
}CreateGateway creates a new gateway.
curl --request POST \
--url https://api.example.com/v1alpha1/inference/gateways \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"zones": [
"<string>"
],
"id": "<string>",
"coreWeaveAuth": {},
"weightsAndBiasesAuth": {
"apiKey": "<string>",
"serverUrl": "<string>",
"enableUsageReports": true,
"enableRateLimiting": true
},
"endpointConfiguration": {
"additionalDns": [
"<string>"
]
},
"pathBasedRouting": {}
}
'{
"gateway": {
"spec": {
"id": "<string>",
"name": "<string>",
"zones": [
"<string>"
],
"coreWeaveAuth": {},
"weightsAndBiasesAuth": {
"apiKey": "<string>",
"serverUrl": "<string>",
"enableUsageReports": true,
"enableRateLimiting": true
},
"organizationId": "<string>",
"endpointConfiguration": {
"additionalDns": [
"<string>"
]
},
"bodyBasedRouting": {
"apiType": 123
},
"headerBasedRouting": {
"headerName": "<string>"
},
"pathBasedRouting": {}
},
"status": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"status": 123,
"conditions": [
{
"type": "<string>",
"status": 123,
"lastUpdateTime": "2023-11-07T05:31:56Z",
"reason": "<string>",
"message": "<string>",
"zone": "<string>"
}
],
"endpoints": [
"<string>"
]
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
Use this file to discover all available pages before exploring further.
Request for CreateGateway
The human readable name of the gateway
The zones to make the gateway available in, limits where deployments associated with the gateway may exist, no zones means all may be used, case insensitive.
The unique identifier of the gateway, UUID format
CoreWeave IAM
Weights & Biases
Show child attributes
Additional endpoint configuration options
Show child attributes
Body based routing
Show child attributes
Header based routing
Show child attributes
Path based routing
OK
Response for CreateGateway
The gateway that was created
Show child attributes
Was this page helpful?