@@ -3317,35 +3317,6 @@ paths:
33173317 curl -X GET \
33183318 -H "Authorization Bearer $TOGETHER_API_KEY" \
33193319 https://api.together.ai/v1/clusters
3320- put :
3321- tags : ['GPUClusterService']
3322- summary : Update a GPU Cluster.
3323- operationId : GPUClusterService_Update
3324- requestBody :
3325- content :
3326- application/json :
3327- schema :
3328- $ref : ' #/components/schemas/GPUClusterUpdateRequest'
3329- required : true
3330- responses :
3331- " 200 " :
3332- description : OK
3333- content :
3334- application/json :
3335- schema :
3336- $ref : ' #/components/schemas/GPUClusterUpdateResponse'
3337- x-codeSamples :
3338- - lang : TypeScript
3339- label : Together AI SDK (TypeScript)
3340- source : |
3341- client.clusters.create()
3342- - lang : Shell
3343- label : cURL
3344- source : |
3345- curl -X PUT \
3346- -H "Authorization Bearer $TOGETHER_API_KEY" \
3347- --data '{ "cluster_id": "cluster id", "cluster_type": "kubernetes", "num_gpus": 24 }' \
3348- https://api.together.ai/v1/clusters
33493320 post :
33503321 tags : ['GPUClusterService']
33513322 summary : Create GPU Cluster
@@ -3396,6 +3367,35 @@ paths:
33963367 curl -X GET \
33973368 -H "Authorization Bearer $TOGETHER_API_KEY" \
33983369 https://api.together.ai/v1/clusters/${CLUSTER_ID}
3370+ put :
3371+ tags : ['GPUClusterService']
3372+ summary : Update a GPU Cluster.
3373+ operationId : GPUClusterService_Update
3374+ requestBody :
3375+ content :
3376+ application/json :
3377+ schema :
3378+ $ref : ' #/components/schemas/GPUClusterUpdateRequest'
3379+ required : true
3380+ responses :
3381+ " 200 " :
3382+ description : OK
3383+ content :
3384+ application/json :
3385+ schema :
3386+ $ref : ' #/components/schemas/GPUClusterUpdateResponse'
3387+ x-codeSamples :
3388+ - lang : TypeScript
3389+ label : Together AI SDK (TypeScript)
3390+ source : |
3391+ client.clusters.create()
3392+ - lang : Shell
3393+ label : cURL
3394+ source : |
3395+ curl -X PUT \
3396+ -H "Authorization Bearer $TOGETHER_API_KEY" \
3397+ --data '{ "cluster_id": "cluster id", "cluster_type": "kubernetes", "num_gpus": 24 }' \
3398+ https://api.together.ai/v1/clusters
33993399 delete :
34003400 tags : ['GPUClusterService']
34013401 summary : Delete GPU cluster by cluster ID
@@ -5771,10 +5771,7 @@ components:
57715771 type : integer
57725772 GPUClusterUpdateRequest :
57735773 type : object
5774- required : [cluster_id]
57755774 properties :
5776- cluster_id :
5777- type : string
57785775 cluster_type :
57795776 enum : [KUBERNETES, SLURM]
57805777 num_gpus :
0 commit comments