-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathopenapi.yaml
3541 lines (3469 loc) · 110 KB
/
openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.1.0
info:
title: Together APIs
description: The Together REST API. Please see https://docs.together.ai for more details.
version: "2.0.0"
termsOfService: https://www.together.ai/terms-of-service
contact:
name: Together Support
url: https://www.together.ai/contact
license:
name: MIT
url: https://github.com/togethercomputer/openapi/blob/main/LICENSE
servers:
- url: https://api.together.xyz/v1
security:
- bearerAuth: []
paths:
/chat/completions:
post:
tags: ["Chat"]
summary: Create chat completion
description: Query a chat model.
operationId: chat-completions
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ChatCompletionRequest"
responses:
"200":
description: "200"
content:
application/json:
schema:
$ref: "#/components/schemas/ChatCompletionResponse"
text/event-stream:
schema:
$ref: "#/components/schemas/ChatCompletionStream"
"400":
description: "BadRequest"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"401":
description: "Unauthorized"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"404":
description: "NotFound"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"429":
description: "RateLimit"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"503":
description: "Overloaded"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"504":
description: "Timeout"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
deprecated: false
/completions:
post:
tags: ["Completion"]
summary: Create completion
description: Query a language, code, or image model.
operationId: completions
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CompletionRequest"
responses:
"200":
description: "200"
content:
application/json:
schema:
$ref: "#/components/schemas/CompletionResponse"
text/event-stream:
schema:
$ref: "#/components/schemas/CompletionStream"
"400":
description: "BadRequest"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"401":
description: "Unauthorized"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"404":
description: "NotFound"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"429":
description: "RateLimit"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"503":
description: "Overloaded"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"504":
description: "Timeout"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
deprecated: false
/embeddings:
post:
tags: ["Embeddings"]
summary: Create embedding
description: Query an embedding model for a given string of text.
operationId: embeddings
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/EmbeddingsRequest"
responses:
"200":
description: "200"
content:
application/json:
schema:
$ref: "#/components/schemas/EmbeddingsResponse"
"400":
description: "BadRequest"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"401":
description: "Unauthorized"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"404":
description: "NotFound"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"429":
description: "RateLimit"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"503":
description: "Overloaded"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"504":
description: "Timeout"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
deprecated: false
/models:
get:
tags: ["Models"]
summary: List all models
description: Lists all of Together's open-source models
operationId: models
responses:
"200":
description: "200"
content:
application/json:
schema:
$ref: "#/components/schemas/ModelInfoList"
"400":
description: "BadRequest"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"401":
description: "Unauthorized"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"404":
description: "NotFound"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"429":
description: "RateLimit"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"504":
description: "Timeout"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
deprecated: false
post:
tags: ["Models"]
summary: Upload a custom model
description: Upload a custom model from Hugging Face or S3
operationId: uploadModel
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- model_name
- model_source
properties:
model_name:
type: string
description: The name to give to your uploaded model
example: "Qwen2.5-72B-Instruct"
model_source:
type: string
description: The source location of the model (Hugging Face repo or S3 path)
example: "unsloth/Qwen2.5-72B-Instruct"
hf_token:
type: string
description: Hugging Face token (if uploading from Hugging Face)
example: "hf_examplehuggingfacetoken"
description:
type: string
description: A description of your model
example: "Finetuned Qwen2.5-72B-Instruct by Unsloth"
responses:
"200":
description: Model upload job created successfully
content:
application/json:
schema:
type: object
required:
- data
- message
properties:
data:
type: object
required:
- job_id
- model_name
- model_id
- model_source
properties:
job_id:
type: string
example: "job-a15dad11-8d8e-4007-97c5-a211304de284"
model_name:
type: string
example: "necolinehubner/Qwen2.5-72B-Instruct"
model_id:
type: string
example: "model-c0e32dfc-637e-47b2-bf4e-e9b2e58c9da7"
model_source:
type: string
example: "huggingface"
message:
type: string
example: "Processing model weights. Job created."
/jobs/{jobId}:
get:
tags: ["Jobs"]
summary: Get job status
description: Get the status of a specific job
operationId: getJob
parameters:
- name: jobId
in: path
required: true
schema:
type: string
description: The ID of the job to retrieve
example: job-a15dad11-8d8e-4007-97c5-a211304de284
responses:
"200":
description: Job status retrieved successfully
content:
application/json:
schema:
type: object
required:
- type
- job_id
- status
- status_updates
- args
- created_at
- updated_at
properties:
type:
type: string
example: "model_upload"
job_id:
type: string
example: "job-a15dad11-8d8e-4007-97c5-a211304de284"
status:
type: string
enum: ["Queued", "Running", "Complete", "Failed"]
example: "Complete"
status_updates:
type: array
items:
type: object
required:
- status
- message
- timestamp
properties:
status:
type: string
example: "Complete"
message:
type: string
example: "Job is Complete"
timestamp:
type: string
format: date-time
example: "2025-03-11T22:36:12Z"
args:
type: object
properties:
description:
type: string
example: "Finetuned Qwen2.5-72B-Instruct by Unsloth"
modelName:
type: string
example: "necolinehubner/Qwen2.5-72B-Instruct"
modelSource:
type: string
example: "unsloth/Qwen2.5-72B-Instruct"
created_at:
type: string
format: date-time
example: "2025-03-11T22:05:43Z"
updated_at:
type: string
format: date-time
example: "2025-03-11T22:36:12Z"
/jobs:
get:
tags: ["Jobs"]
summary: List all jobs
description: List all jobs and their statuses
operationId: listJobs
responses:
"200":
description: Jobs retrieved successfully
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
type: object
required:
- type
- job_id
- status
- status_updates
- args
- created_at
- updated_at
properties:
type:
type: string
example: "model_upload"
job_id:
type: string
example: "job-a15dad11-8d8e-4007-97c5-a211304de284"
status:
type: string
enum: ["Queued", "Running", "Complete", "Failed"]
example: "Complete"
status_updates:
type: array
items:
type: object
required:
- status
- message
- timestamp
properties:
status:
type: string
example: "Complete"
message:
type: string
example: "Job is Complete"
timestamp:
type: string
format: date-time
example: "2025-03-11T22:36:12Z"
args:
type: object
properties:
description:
type: string
example: "Finetuned Qwen2.5-72B-Instruct by Unsloth"
modelName:
type: string
example: "necolinehubner/Qwen2.5-72B-Instruct"
modelSource:
type: string
example: "unsloth/Qwen2.5-72B-Instruct"
created_at:
type: string
format: date-time
example: "2025-03-11T22:05:43Z"
updated_at:
type: string
format: date-time
example: "2025-03-11T22:36:12Z"
/images/generations:
post:
tags: ["Images"]
summary: Create image
description: Use an image model to generate an image for a given prompt.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- prompt
- model
properties:
prompt:
type: string
description: A description of the desired images. Maximum length varies by model.
example: cat floating in space, cinematic
model:
type: string
description: >
The model to use for image generation.<br>
<br>
[See all of Together AI's image models](https://docs.together.ai/docs/serverless-models#image-models)
example: black-forest-labs/FLUX.1-schnell
anyOf:
- type: string
enum:
- black-forest-labs/FLUX.1-schnell-Free
- black-forest-labs/FLUX.1-schnell
- black-forest-labs/FLUX.1.1-pro
- type: string
steps:
type: integer
default: 20
description: Number of generation steps.
image_url:
type: string
description: URL of an image to use for image models that support it.
seed:
type: integer
description: Seed used for generation. Can be used to reproduce image generations.
n:
type: integer
default: 1
description: Number of image results to generate.
height:
type: integer
default: 1024
description: Height of the image to generate in number of pixels.
width:
type: integer
default: 1024
description: Width of the image to generate in number of pixels.
negative_prompt:
type: string
description: The prompt or prompts not to guide the image generation.
response_format:
type: string
description: Format of the image response. Can be either a base64 string or a URL.
enum:
- base64
- url
guidance:
type: number
description: Adjusts the alignment of the generated image with the input prompt. Higher values (e.g., 8-10) make the output more faithful to the prompt, while lower values (e.g., 1-5) encourage more creative freedom.
default: 3.5
output_format:
type: string
description: The format of the image response. Can be either be `jpeg` or `png`. Defaults to `jpeg`.
default: jpeg
enum:
- jpeg
- png
image_loras:
description: An array of objects that define LoRAs (Low-Rank Adaptations) to influence the generated image.
type: array
items:
type: object
required: [path, scale]
properties:
path:
type: string
description: The URL of the LoRA to apply (e.g. https://huggingface.co/strangerzonehf/Flux-Midjourney-Mix2-LoRA).
scale:
type: number
description: The strength of the LoRA's influence. Most LoRA's recommend a value of 1.
responses:
"200":
description: Image generated successfully
content:
application/json:
schema:
$ref: "#/components/schemas/ImageResponse"
/files:
get:
tags: ["Files"]
summary: List all files
description: List the metadata for all uploaded data files.
responses:
"200":
description: List of files
content:
application/json:
schema:
$ref: "#/components/schemas/FileList"
/files/{id}:
get:
tags: ["Files"]
summary: List file
description: List the metadata for a single uploaded data file.
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: File retrieved successfully
content:
application/json:
schema:
$ref: "#/components/schemas/FileResponse"
delete:
tags: ["Files"]
summary: Delete a file
description: Delete a previously uploaded data file.
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: File deleted successfully
content:
application/json:
schema:
$ref: "#/components/schemas/FileDeleteResponse"
/files/{id}/content:
get:
tags: ["Files"]
summary: Get file contents
description: Get the contents of a single uploaded data file.
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: File content retrieved successfully
content:
application/json:
schema:
$ref: "#/components/schemas/FileObject"
"500":
description: Internal Server Error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
/fine-tunes:
post:
tags: ["Fine-tuning"]
summary: Create job
description: Use a model to create a fine-tuning job.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- training_file
- model
properties:
training_file:
type: string
description: File-ID of a training file uploaded to the Together API
validation_file:
type: string
description: File-ID of a validation file uploaded to the Together API
model:
type: string
description: Name of the base model to run fine-tune job on
n_epochs:
type: integer
default: 1
description: Number of complete passes through the training dataset (higher values may improve results but increase cost and risk of overfitting)
n_checkpoints:
type: integer
default: 1
description: Number of intermediate model versions saved during training for evaluation
n_evals:
type: integer
default: 0
description: Number of evaluations to be run on a given validation set during training
batch_size:
oneOf:
- type: integer
- type: string
enum:
- max
default: "max"
description: Number of training examples processed together (larger batches use more memory but may train faster). Defaults to "max". We use training optimizations like packing, so the effective batch size may be different than the value you set.
learning_rate:
type: number
format: float
default: 0.00001
description: Controls how quickly the model adapts to new information (too high may cause instability, too low may slow convergence)
lr_scheduler:
type: object
default: none
$ref: "#/components/schemas/LRScheduler"
description: The learning rate scheduler to use. It specifies how the learning rate is adjusted during training.
warmup_ratio:
type: number
format: float
default: 0.0
description: The percent of steps at the start of training to linearly increase the learning rate.
max_grad_norm:
type: number
format: float
default: 1.0
description: Max gradient norm to be used for gradient clipping. Set to 0 to disable.
weight_decay:
type: number
format: float
default: 0.0
description: Weight decay. Regularization parameter for the optimizer.
suffix:
type: string
description: Suffix that will be added to your fine-tuned model name
wandb_api_key:
type: string
description: Integration key for tracking experiments and model metrics on W&B platform
wandb_base_url:
type: string
description: The base URL of a dedicated Weights & Biases instance.
wandb_project_name:
type: string
description: The Weights & Biases project for your run. If not specified, will use `together` as the project name.
wandb_name:
type: string
description: The Weights & Biases name for your run.
train_on_inputs:
oneOf:
- type: boolean
- type: string
enum:
- auto
type: boolean
default: auto
description: Whether to mask the user messages in conversational data or prompts in instruction data.
training_method:
type: object
oneOf:
- $ref: "#/components/schemas/TrainingMethodSFT"
- $ref: "#/components/schemas/TrainingMethodDPO"
description: The training method to use. 'sft' for Supervised Fine-Tuning or 'dpo' for Direct Preference Optimization.
training_type:
type: object
oneOf:
- $ref: "#/components/schemas/FullTrainingType"
- $ref: "#/components/schemas/LoRATrainingType"
from_checkpoint:
type: string
description: The checkpoint identifier to continue training from a previous fine-tuning job. Format is `{$JOB_ID}` or `{$OUTPUT_MODEL_NAME}` or `{$JOB_ID}:{$STEP}` or `{$OUTPUT_MODEL_NAME}:{$STEP}`. The step value is optional; without it, the final checkpoint will be used.
responses:
"200":
description: Fine-tuning job initiated successfully
content:
application/json:
schema:
$ref: "#/components/schemas/FinetuneResponse"
get:
tags: ["Fine-tuning"]
summary: List all jobs
description: List the metadata for all fine-tuning jobs.
responses:
"200":
description: List of fine-tune jobs
content:
application/json:
schema:
$ref: "#/components/schemas/FinetuneList"
/fine-tunes/{id}:
get:
tags: ["Fine-tuning"]
summary: List job
description: List the metadata for a single fine-tuning job.
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: Fine-tune job details retrieved successfully
content:
application/json:
schema:
$ref: "#/components/schemas/FinetuneResponse"
/fine-tunes/{id}/events:
get:
tags: ["Fine-tuning"]
summary: List job events
description: List the events for a single fine-tuning job.
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: List of fine-tune events
content:
application/json:
schema:
$ref: "#/components/schemas/FinetuneListEvents"
/finetune/download:
get:
tags: ["Fine-tuning"]
summary: Download model
description: Download a compressed fine-tuned model or checkpoint to local disk.
parameters:
- in: query
name: ft_id
schema:
type: string
required: true
description: Fine-tune ID to download. A string that starts with `ft-`.
- in: query
name: checkpoint_step
schema:
type: integer
required: false
description: Specifies step number for checkpoint to download. Ignores `checkpoint` value if set.
- in: query
name: checkpoint
schema:
type: string
enum:
- merged
- adapter
description: Specifies checkpoint type to download - `merged` vs `adapter`. This field is required if the checkpoint_step is not set.
- in: query
name: output
schema:
type: string
required: false
description: Specifies output file name for downloaded model. Defaults to `$PWD/{model_name}.{extension}`.
responses:
"200":
description: Successfully downloaded the fine-tuned model or checkpoint.
content:
application/json:
schema:
$ref: "#/components/schemas/FinetuneDownloadResult"
"400":
description: Invalid request parameters.
"404":
description: Fine-tune ID not found.
/fine-tunes/{id}/cancel:
post:
tags: ["Fine-tuning"]
summary: Cancel job
description: Cancel a currently running fine-tuning job.
parameters:
- in: path
name: id
schema:
type: string
required: true
description: Fine-tune ID to cancel. A string that starts with `ft-`.
responses:
"200":
description: Successfully cancelled the fine-tuning job.
content:
application/json:
schema:
$ref: "#/components/schemas/FinetuneResponse"
"400":
description: Invalid request parameters.
"404":
description: Fine-tune ID not found.
/rerank:
post:
tags: ["Rerank"]
summary: Create a rerank request
description: Query a reranker model
operationId: rerank
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RerankRequest"
responses:
"200":
description: "200"
content:
application/json:
schema:
$ref: "#/components/schemas/RerankResponse"
"400":
description: "BadRequest"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"401":
description: "Unauthorized"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"404":
description: "NotFound"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"429":
description: "RateLimit"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"503":
description: "Overloaded"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"504":
description: "Timeout"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
deprecated: false
/audio/speech:
post:
tags: ["Audio"]
summary: Create audio generation request
description: Generate audio from input text
operationId: audio-speech
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/AudioSpeechRequest"
responses:
"200":
description: "OK"
content:
application/octet-stream:
schema:
type: string
format: binary
audio/wav:
schema:
type: string
format: binary
audio/mpeg:
schema:
type: string
format: binary
text/event-stream:
schema:
$ref: "#/components/schemas/AudioSpeechStreamResponse"
"400":
description: "BadRequest"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"429":
description: "RateLimit"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
/endpoints:
get:
tags: ["Endpoints"]
summary: List all endpoints, can be filtered by type
description: Returns a list of all endpoints associated with your account. You can filter the results by type (dedicated or serverless).
operationId: listEndpoints
parameters:
- name: type
in: query
required: false
schema:
type: string
enum:
- dedicated
- serverless
description: Filter endpoints by type
example: dedicated
responses:
"200":
description: "200"
content:
application/json:
schema:
type: object
required:
- object
- data
properties:
object:
type: string
enum:
- list
data:
type: array
items:
$ref: "#/components/schemas/ListEndpoint"
example:
object: "list"
data:
- object: "endpoint"
name: "allenai/OLMo-7B"
model: "allenai/OLMo-7B"
type: "serverless"
owner: "together"
state: "STARTED"
created_at: "2024-02-28T21:34:35.444Z"
"403":
description: "Unauthorized"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorData"
"500":
description: "Internal error"