Clusters
Create Cluster
POST
/
v1
/
accounts
/
{account_id}
/
clusters
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/clusters \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cluster": {
"displayName": "<string>",
"eksCluster": {
"awsAccountId": "<string>",
"fireworksManagerRole": "<string>",
"region": "<string>",
"clusterName": "<string>",
"storageBucketName": "<string>",
"metricWriterRole": "<string>",
"loadBalancerControllerRole": "<string>",
"workloadIdentityPoolProviderId": "<string>",
"inferenceRole": "<string>"
},
"fakeCluster": {
"projectId": "<string>",
"location": "<string>",
"clusterName": "<string>"
}
},
"clusterId": "<string>"
}'
{
"name": "<string>",
"displayName": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"eksCluster": {
"awsAccountId": "<string>",
"fireworksManagerRole": "<string>",
"region": "<string>",
"clusterName": "<string>",
"storageBucketName": "<string>",
"metricWriterRole": "<string>",
"loadBalancerControllerRole": "<string>",
"workloadIdentityPoolProviderId": "<string>",
"inferenceRole": "<string>"
},
"fakeCluster": {
"projectId": "<string>",
"location": "<string>",
"clusterName": "<string>"
},
"state": "STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"updateTime": "2023-11-07T05:31:56Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Account Id
Body
application/json
Response
200 - application/json
A successful response.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/clusters \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cluster": {
"displayName": "<string>",
"eksCluster": {
"awsAccountId": "<string>",
"fireworksManagerRole": "<string>",
"region": "<string>",
"clusterName": "<string>",
"storageBucketName": "<string>",
"metricWriterRole": "<string>",
"loadBalancerControllerRole": "<string>",
"workloadIdentityPoolProviderId": "<string>",
"inferenceRole": "<string>"
},
"fakeCluster": {
"projectId": "<string>",
"location": "<string>",
"clusterName": "<string>"
}
},
"clusterId": "<string>"
}'
{
"name": "<string>",
"displayName": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"eksCluster": {
"awsAccountId": "<string>",
"fireworksManagerRole": "<string>",
"region": "<string>",
"clusterName": "<string>",
"storageBucketName": "<string>",
"metricWriterRole": "<string>",
"loadBalancerControllerRole": "<string>",
"workloadIdentityPoolProviderId": "<string>",
"inferenceRole": "<string>"
},
"fakeCluster": {
"projectId": "<string>",
"location": "<string>",
"clusterName": "<string>"
},
"state": "STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"updateTime": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.