Skip to content

Commit be86c83

Browse files
authored
Merge pull request #224 from togethercomputer/conner/ft-limits-api
Remove model param for /supported endpoint
2 parents 28032d8 + 32c127f commit be86c83

1 file changed

Lines changed: 11 additions & 31 deletions

File tree

openapi.yaml

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3321,48 +3321,28 @@ paths:
33213321
get:
33223322
tags: ['Fine-tuning']
33233323
summary: List supported models
3324-
description: List models supported for fine-tuning, or check if a specific model is supported.
3324+
description: List models supported for fine-tuning.
33253325
x-codeSamples:
33263326
- lang: Shell
33273327
label: cURL (list all)
33283328
source: |
33293329
curl "https://api.together.xyz/v1/fine-tunes/models/supported" \
33303330
-H "Authorization: Bearer $TOGETHER_API_KEY"
3331-
- lang: Shell
3332-
label: cURL (check specific model)
3333-
source: |
3334-
curl "https://api.together.xyz/v1/fine-tunes/models/supported?model_name=meta-llama/Meta-Llama-3.1-8B-Instruct-Reference" \
3335-
-H "Authorization: Bearer $TOGETHER_API_KEY"
3336-
parameters:
3337-
- in: query
3338-
name: model_name
3339-
schema:
3340-
type: string
3341-
description: Optional model name to check support for. If omitted, returns all supported models.
3342-
required: false
33433331
responses:
33443332
'200':
3345-
description: Supported models or support status for a specific model.
3333+
description: List of supported models.
33463334
content:
33473335
application/json:
33483336
schema:
3349-
oneOf:
3350-
- type: object
3351-
required:
3352-
- models
3353-
properties:
3354-
models:
3355-
type: array
3356-
items:
3357-
type: string
3358-
description: List of supported model names.
3359-
- type: object
3360-
required:
3361-
- supported
3362-
properties:
3363-
supported:
3364-
type: boolean
3365-
description: Whether the specified model is supported.
3337+
type: object
3338+
required:
3339+
- models
3340+
properties:
3341+
models:
3342+
type: array
3343+
items:
3344+
type: string
3345+
description: List of supported model names.
33663346
/fine-tunes/models/limits:
33673347
get:
33683348
tags: ['Fine-tuning']

0 commit comments

Comments
 (0)