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>",
"region": "<string>",
"fireworksManagerRole": "<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>",
"region": "<string>",
"fireworksManagerRole": "<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"
}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>",
"region": "<string>",
"fireworksManagerRole": "<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>",
"region": "<string>",
"fireworksManagerRole": "<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"
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The Account Id
A successful response.
Human-readable display name of the cluster. e.g. "My Cluster" Must be fewer than 64 characters long.
The creation time of the cluster.
Show child attributes
Show child attributes
The current state of the cluster.
STATE_UNSPECIFIED, CREATING, READY, DELETING, FAILED Detailed information about the current status of the cluster.
Show child attributes
The update time for the cluster.
Was this page helpful?