Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 28 additions & 42 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3979,7 +3979,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/GPUClusterCreateResponse'
$ref: '#/components/schemas/GPUClusterInfo'
x-codeSamples:
- lang: Python
label: Together AI SDK (v2)
Expand Down Expand Up @@ -4106,7 +4106,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/GPUClusterUpdateResponse'
$ref: '#/components/schemas/GPUClusterInfo'
x-codeSamples:
- lang: Python
label: Together AI SDK (v2)
Expand Down Expand Up @@ -4164,7 +4164,11 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/GPUCLusterDeleteResponse'
type: object
required: [cluster_id]
properties:
cluster_id:
type: string
x-codeSamples:
- lang: Python
label: Together AI SDK (v2)
Expand Down Expand Up @@ -4227,7 +4231,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SharedVolumes'
$ref: '#/components/schemas/GPUClustersSharedVolumes'
x-codeSamples:
- lang: Python
label: Together AI SDK (v2)
Expand Down Expand Up @@ -4269,15 +4273,15 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SharedVolumeUpdateRequest'
$ref: '#/components/schemas/GPUClustersSharedVolumeUpdateRequest'
required: true
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/SharedVolumeInfo'
$ref: '#/components/schemas/GPUClustersSharedVolume'
x-codeSamples:
- lang: Python
label: Together AI SDK (v2)
Expand Down Expand Up @@ -4331,15 +4335,15 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SharedVolumeCreateRequest'
$ref: '#/components/schemas/GPUClustersSharedVolumeCreateRequest'
required: true
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/SharedVolumeCreateResponse'
$ref: '#/components/schemas/GPUClustersSharedVolume'
x-codeSamples:
- lang: Python
label: Together AI SDK (v2)
Expand Down Expand Up @@ -4399,7 +4403,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SharedVolumeInfo'
$ref: '#/components/schemas/GPUClustersSharedVolume'
x-codeSamples:
- lang: Python
label: Together AI SDK (v2)
Expand Down Expand Up @@ -4449,7 +4453,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SharedVolumeDeleteResponse'
$ref: '#/components/schemas/GPUClustersSharedVolumeDeleteResponse'
x-codeSamples:
- lang: Python
label: Together AI SDK (v2)
Expand Down Expand Up @@ -6500,12 +6504,6 @@ components:
type: integer
message:
type: string
GPUCLusterDeleteResponse:
type: object
required: ['cluster_id']
properties:
cluster_id:
type: string
GPUClusterControlPlaneNode:
type: object
required:
Expand Down Expand Up @@ -6538,7 +6536,6 @@ components:
- gpu_type
- num_gpus
- cluster_name
- duration_days
- driver_version
- billing_type
type: object
Expand Down Expand Up @@ -6578,20 +6575,14 @@ components:
- CUDA_12_6_565
- CUDA_12_8_570
shared_volume:
$ref: '#/components/schemas/SharedVolumeCreateRequest'
$ref: '#/components/schemas/GPUClustersSharedVolumeCreateRequest'
volume_id:
type: string
billing_type:
type: string
enum:
- RESERVED
- ON_DEMAND
GPUClusterCreateResponse:
type: object
required: ['cluster_id']
properties:
cluster_id:
type: string
GPUClusterGPUWorkerNode:
type: object
required:
Expand Down Expand Up @@ -6700,12 +6691,6 @@ components:
enum: [KUBERNETES, SLURM]
num_gpus:
type: integer
GPUClusterUpdateResponse:
type: object
required: [cluster_id]
properties:
cluster_id:
type: string
GPUClusterVolume:
type: object
required:
Expand Down Expand Up @@ -6773,7 +6758,7 @@ components:
type: array
items:
$ref: '#/components/schemas/Region'
SharedVolumeCreateRequest:
GPUClustersSharedVolumeCreateRequest:
type: object
required:
- volume_name
Expand All @@ -6788,46 +6773,47 @@ components:
region:
type: string
description: Region name. Usable regions can be found from `client.clusters.list_regions()`
SharedVolumeCreateResponse:
type: object
required: [volume_id]
properties:
volume_id:
type: string
SharedVolumeDeleteResponse:
GPUClustersSharedVolumeDeleteResponse:
type: object
required: [success]
properties:
success:
type: boolean
SharedVolumeInfo:
GPUClustersSharedVolume:
type: object
required:
- volume_id
- volume_name
- size_tib
- status
properties:
volume_id:
type: string
volume_name:
type: string
size_tib:
type: integer
SharedVolumeUpdateRequest:
status:
type: string
enum:
- available
- bound
- provisioning
GPUClustersSharedVolumeUpdateRequest:
type: object
properties:
volume_id:
type: string
size_tib:
type: integer
SharedVolumes:
GPUClustersSharedVolumes:
type: object
required: [volumes]
properties:
volumes:
type: array
items:
$ref: '#/components/schemas/SharedVolumeInfo'
$ref: '#/components/schemas/GPUClustersSharedVolume'
ListVoicesResponse:
description: Response containing a list of models and their available voices.
type: object
Expand Down