qwen3-vl-api.json 353 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569
  1. {
  2. "openapi": "3.1.0",
  3. "info": {
  4. "title": "FastAPI",
  5. "version": "0.1.0"
  6. },
  7. "paths": {
  8. "/health": {
  9. "get": {
  10. "summary": "Health",
  11. "description": "Health check.",
  12. "operationId": "health_health_get",
  13. "responses": {
  14. "200": {
  15. "description": "Successful Response"
  16. }
  17. }
  18. }
  19. },
  20. "/load": {
  21. "get": {
  22. "summary": "Get Server Load Metrics",
  23. "operationId": "get_server_load_metrics_load_get",
  24. "responses": {
  25. "200": {
  26. "description": "Successful Response",
  27. "content": {
  28. "application/json": {
  29. "schema": {}
  30. }
  31. }
  32. }
  33. }
  34. }
  35. },
  36. "/ping": {
  37. "get": {
  38. "summary": "Ping",
  39. "description": "Ping check. Endpoint required for SageMaker",
  40. "operationId": "ping_ping_get",
  41. "responses": {
  42. "200": {
  43. "description": "Successful Response"
  44. }
  45. }
  46. },
  47. "post": {
  48. "summary": "Ping",
  49. "description": "Ping check. Endpoint required for SageMaker",
  50. "operationId": "ping_ping_post",
  51. "responses": {
  52. "200": {
  53. "description": "Successful Response"
  54. }
  55. }
  56. }
  57. },
  58. "/tokenize": {
  59. "post": {
  60. "summary": "Tokenize",
  61. "operationId": "tokenize_tokenize_post",
  62. "requestBody": {
  63. "content": {
  64. "application/json": {
  65. "schema": {
  66. "anyOf": [
  67. {
  68. "$ref": "#/components/schemas/TokenizeCompletionRequest"
  69. },
  70. {
  71. "$ref": "#/components/schemas/TokenizeChatRequest"
  72. }
  73. ],
  74. "title": "Request"
  75. }
  76. }
  77. },
  78. "required": true
  79. },
  80. "responses": {
  81. "200": {
  82. "description": "Successful Response",
  83. "content": {
  84. "application/json": {
  85. "schema": {}
  86. }
  87. }
  88. },
  89. "400": {
  90. "description": "Bad Request",
  91. "content": {
  92. "application/json": {
  93. "schema": {
  94. "$ref": "#/components/schemas/ErrorResponse"
  95. }
  96. }
  97. }
  98. },
  99. "404": {
  100. "description": "Not Found",
  101. "content": {
  102. "application/json": {
  103. "schema": {
  104. "$ref": "#/components/schemas/ErrorResponse"
  105. }
  106. }
  107. }
  108. },
  109. "422": {
  110. "description": "Validation Error",
  111. "content": {
  112. "application/json": {
  113. "schema": {
  114. "$ref": "#/components/schemas/HTTPValidationError"
  115. }
  116. }
  117. }
  118. },
  119. "500": {
  120. "description": "Internal Server Error",
  121. "content": {
  122. "application/json": {
  123. "schema": {
  124. "$ref": "#/components/schemas/ErrorResponse"
  125. }
  126. }
  127. }
  128. },
  129. "501": {
  130. "description": "Not Implemented",
  131. "content": {
  132. "application/json": {
  133. "schema": {
  134. "$ref": "#/components/schemas/ErrorResponse"
  135. }
  136. }
  137. }
  138. }
  139. }
  140. }
  141. },
  142. "/detokenize": {
  143. "post": {
  144. "summary": "Detokenize",
  145. "operationId": "detokenize_detokenize_post",
  146. "requestBody": {
  147. "content": {
  148. "application/json": {
  149. "schema": {
  150. "$ref": "#/components/schemas/DetokenizeRequest"
  151. }
  152. }
  153. },
  154. "required": true
  155. },
  156. "responses": {
  157. "200": {
  158. "description": "Successful Response",
  159. "content": {
  160. "application/json": {
  161. "schema": {}
  162. }
  163. }
  164. },
  165. "400": {
  166. "description": "Bad Request",
  167. "content": {
  168. "application/json": {
  169. "schema": {
  170. "$ref": "#/components/schemas/ErrorResponse"
  171. }
  172. }
  173. }
  174. },
  175. "404": {
  176. "description": "Not Found",
  177. "content": {
  178. "application/json": {
  179. "schema": {
  180. "$ref": "#/components/schemas/ErrorResponse"
  181. }
  182. }
  183. }
  184. },
  185. "422": {
  186. "description": "Validation Error",
  187. "content": {
  188. "application/json": {
  189. "schema": {
  190. "$ref": "#/components/schemas/HTTPValidationError"
  191. }
  192. }
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "content": {
  198. "application/json": {
  199. "schema": {
  200. "$ref": "#/components/schemas/ErrorResponse"
  201. }
  202. }
  203. }
  204. }
  205. }
  206. }
  207. },
  208. "/v1/models": {
  209. "get": {
  210. "summary": "Show Available Models",
  211. "operationId": "show_available_models_v1_models_get",
  212. "responses": {
  213. "200": {
  214. "description": "Successful Response",
  215. "content": {
  216. "application/json": {
  217. "schema": {}
  218. }
  219. }
  220. }
  221. }
  222. }
  223. },
  224. "/version": {
  225. "get": {
  226. "summary": "Show Version",
  227. "operationId": "show_version_version_get",
  228. "responses": {
  229. "200": {
  230. "description": "Successful Response",
  231. "content": {
  232. "application/json": {
  233. "schema": {}
  234. }
  235. }
  236. }
  237. }
  238. }
  239. },
  240. "/v1/responses": {
  241. "post": {
  242. "summary": "Create Responses",
  243. "operationId": "create_responses_v1_responses_post",
  244. "requestBody": {
  245. "content": {
  246. "application/json": {
  247. "schema": {
  248. "$ref": "#/components/schemas/ResponsesRequest"
  249. }
  250. }
  251. },
  252. "required": true
  253. },
  254. "responses": {
  255. "200": {
  256. "description": "Successful Response",
  257. "content": {
  258. "application/json": {
  259. "schema": {}
  260. },
  261. "text/event-stream": {}
  262. }
  263. },
  264. "400": {
  265. "description": "Bad Request",
  266. "content": {
  267. "application/json": {
  268. "schema": {
  269. "$ref": "#/components/schemas/ErrorResponse"
  270. }
  271. }
  272. }
  273. },
  274. "404": {
  275. "description": "Not Found",
  276. "content": {
  277. "application/json": {
  278. "schema": {
  279. "$ref": "#/components/schemas/ErrorResponse"
  280. }
  281. }
  282. }
  283. },
  284. "422": {
  285. "description": "Validation Error",
  286. "content": {
  287. "application/json": {
  288. "schema": {
  289. "$ref": "#/components/schemas/HTTPValidationError"
  290. }
  291. }
  292. }
  293. },
  294. "500": {
  295. "description": "Internal Server Error",
  296. "content": {
  297. "application/json": {
  298. "schema": {
  299. "$ref": "#/components/schemas/ErrorResponse"
  300. }
  301. }
  302. }
  303. }
  304. }
  305. }
  306. },
  307. "/v1/responses/{response_id}": {
  308. "get": {
  309. "summary": "Retrieve Responses",
  310. "operationId": "retrieve_responses_v1_responses__response_id__get",
  311. "parameters": [
  312. {
  313. "name": "response_id",
  314. "in": "path",
  315. "required": true,
  316. "schema": {
  317. "type": "string",
  318. "title": "Response Id"
  319. }
  320. },
  321. {
  322. "name": "starting_after",
  323. "in": "query",
  324. "required": false,
  325. "schema": {
  326. "anyOf": [
  327. {
  328. "type": "integer"
  329. },
  330. {
  331. "type": "null"
  332. }
  333. ],
  334. "title": "Starting After"
  335. }
  336. },
  337. {
  338. "name": "stream",
  339. "in": "query",
  340. "required": false,
  341. "schema": {
  342. "anyOf": [
  343. {
  344. "type": "boolean"
  345. },
  346. {
  347. "type": "null"
  348. }
  349. ],
  350. "default": false,
  351. "title": "Stream"
  352. }
  353. }
  354. ],
  355. "responses": {
  356. "200": {
  357. "description": "Successful Response",
  358. "content": {
  359. "application/json": {
  360. "schema": {}
  361. }
  362. }
  363. },
  364. "422": {
  365. "description": "Validation Error",
  366. "content": {
  367. "application/json": {
  368. "schema": {
  369. "$ref": "#/components/schemas/HTTPValidationError"
  370. }
  371. }
  372. }
  373. }
  374. }
  375. }
  376. },
  377. "/v1/responses/{response_id}/cancel": {
  378. "post": {
  379. "summary": "Cancel Responses",
  380. "operationId": "cancel_responses_v1_responses__response_id__cancel_post",
  381. "parameters": [
  382. {
  383. "name": "response_id",
  384. "in": "path",
  385. "required": true,
  386. "schema": {
  387. "type": "string",
  388. "title": "Response Id"
  389. }
  390. }
  391. ],
  392. "responses": {
  393. "200": {
  394. "description": "Successful Response",
  395. "content": {
  396. "application/json": {
  397. "schema": {}
  398. }
  399. }
  400. },
  401. "422": {
  402. "description": "Validation Error",
  403. "content": {
  404. "application/json": {
  405. "schema": {
  406. "$ref": "#/components/schemas/HTTPValidationError"
  407. }
  408. }
  409. }
  410. }
  411. }
  412. }
  413. },
  414. "/v1/chat/completions": {
  415. "post": {
  416. "summary": "Create Chat Completion",
  417. "operationId": "create_chat_completion_v1_chat_completions_post",
  418. "requestBody": {
  419. "content": {
  420. "application/json": {
  421. "schema": {
  422. "$ref": "#/components/schemas/ChatCompletionRequest"
  423. }
  424. }
  425. },
  426. "required": true
  427. },
  428. "responses": {
  429. "200": {
  430. "description": "Successful Response",
  431. "content": {
  432. "application/json": {
  433. "schema": {}
  434. },
  435. "text/event-stream": {}
  436. }
  437. },
  438. "400": {
  439. "description": "Bad Request",
  440. "content": {
  441. "application/json": {
  442. "schema": {
  443. "$ref": "#/components/schemas/ErrorResponse"
  444. }
  445. }
  446. }
  447. },
  448. "404": {
  449. "description": "Not Found",
  450. "content": {
  451. "application/json": {
  452. "schema": {
  453. "$ref": "#/components/schemas/ErrorResponse"
  454. }
  455. }
  456. }
  457. },
  458. "422": {
  459. "description": "Validation Error",
  460. "content": {
  461. "application/json": {
  462. "schema": {
  463. "$ref": "#/components/schemas/HTTPValidationError"
  464. }
  465. }
  466. }
  467. },
  468. "500": {
  469. "description": "Internal Server Error",
  470. "content": {
  471. "application/json": {
  472. "schema": {
  473. "$ref": "#/components/schemas/ErrorResponse"
  474. }
  475. }
  476. }
  477. }
  478. }
  479. }
  480. },
  481. "/v1/completions": {
  482. "post": {
  483. "summary": "Create Completion",
  484. "operationId": "create_completion_v1_completions_post",
  485. "requestBody": {
  486. "content": {
  487. "application/json": {
  488. "schema": {
  489. "$ref": "#/components/schemas/CompletionRequest"
  490. }
  491. }
  492. },
  493. "required": true
  494. },
  495. "responses": {
  496. "200": {
  497. "description": "Successful Response",
  498. "content": {
  499. "application/json": {
  500. "schema": {}
  501. },
  502. "text/event-stream": {}
  503. }
  504. },
  505. "400": {
  506. "description": "Bad Request",
  507. "content": {
  508. "application/json": {
  509. "schema": {
  510. "$ref": "#/components/schemas/ErrorResponse"
  511. }
  512. }
  513. }
  514. },
  515. "404": {
  516. "description": "Not Found",
  517. "content": {
  518. "application/json": {
  519. "schema": {
  520. "$ref": "#/components/schemas/ErrorResponse"
  521. }
  522. }
  523. }
  524. },
  525. "422": {
  526. "description": "Validation Error",
  527. "content": {
  528. "application/json": {
  529. "schema": {
  530. "$ref": "#/components/schemas/HTTPValidationError"
  531. }
  532. }
  533. }
  534. },
  535. "500": {
  536. "description": "Internal Server Error",
  537. "content": {
  538. "application/json": {
  539. "schema": {
  540. "$ref": "#/components/schemas/ErrorResponse"
  541. }
  542. }
  543. }
  544. }
  545. }
  546. }
  547. },
  548. "/v1/embeddings": {
  549. "post": {
  550. "summary": "Create Embedding",
  551. "operationId": "create_embedding_v1_embeddings_post",
  552. "requestBody": {
  553. "content": {
  554. "application/json": {
  555. "schema": {
  556. "anyOf": [
  557. {
  558. "$ref": "#/components/schemas/EmbeddingCompletionRequest"
  559. },
  560. {
  561. "$ref": "#/components/schemas/EmbeddingChatRequest"
  562. }
  563. ],
  564. "title": "Request"
  565. }
  566. }
  567. },
  568. "required": true
  569. },
  570. "responses": {
  571. "200": {
  572. "description": "Successful Response",
  573. "content": {
  574. "application/json": {
  575. "schema": {}
  576. }
  577. }
  578. },
  579. "400": {
  580. "description": "Bad Request",
  581. "content": {
  582. "application/json": {
  583. "schema": {
  584. "$ref": "#/components/schemas/ErrorResponse"
  585. }
  586. }
  587. }
  588. },
  589. "422": {
  590. "description": "Validation Error",
  591. "content": {
  592. "application/json": {
  593. "schema": {
  594. "$ref": "#/components/schemas/HTTPValidationError"
  595. }
  596. }
  597. }
  598. },
  599. "500": {
  600. "description": "Internal Server Error",
  601. "content": {
  602. "application/json": {
  603. "schema": {
  604. "$ref": "#/components/schemas/ErrorResponse"
  605. }
  606. }
  607. }
  608. }
  609. }
  610. }
  611. },
  612. "/pooling": {
  613. "post": {
  614. "summary": "Create Pooling",
  615. "operationId": "create_pooling_pooling_post",
  616. "requestBody": {
  617. "content": {
  618. "application/json": {
  619. "schema": {
  620. "anyOf": [
  621. {
  622. "$ref": "#/components/schemas/EmbeddingCompletionRequest"
  623. },
  624. {
  625. "$ref": "#/components/schemas/EmbeddingChatRequest"
  626. },
  627. {
  628. "$ref": "#/components/schemas/IOProcessorRequest"
  629. }
  630. ],
  631. "title": "Request"
  632. }
  633. }
  634. },
  635. "required": true
  636. },
  637. "responses": {
  638. "200": {
  639. "description": "Successful Response",
  640. "content": {
  641. "application/json": {
  642. "schema": {}
  643. }
  644. }
  645. },
  646. "400": {
  647. "description": "Bad Request",
  648. "content": {
  649. "application/json": {
  650. "schema": {
  651. "$ref": "#/components/schemas/ErrorResponse"
  652. }
  653. }
  654. }
  655. },
  656. "422": {
  657. "description": "Validation Error",
  658. "content": {
  659. "application/json": {
  660. "schema": {
  661. "$ref": "#/components/schemas/HTTPValidationError"
  662. }
  663. }
  664. }
  665. },
  666. "500": {
  667. "description": "Internal Server Error",
  668. "content": {
  669. "application/json": {
  670. "schema": {
  671. "$ref": "#/components/schemas/ErrorResponse"
  672. }
  673. }
  674. }
  675. }
  676. }
  677. }
  678. },
  679. "/classify": {
  680. "post": {
  681. "summary": "Create Classify",
  682. "operationId": "create_classify_classify_post",
  683. "requestBody": {
  684. "content": {
  685. "application/json": {
  686. "schema": {
  687. "$ref": "#/components/schemas/ClassificationRequest"
  688. }
  689. }
  690. },
  691. "required": true
  692. },
  693. "responses": {
  694. "200": {
  695. "description": "Successful Response",
  696. "content": {
  697. "application/json": {
  698. "schema": {}
  699. }
  700. }
  701. },
  702. "422": {
  703. "description": "Validation Error",
  704. "content": {
  705. "application/json": {
  706. "schema": {
  707. "$ref": "#/components/schemas/HTTPValidationError"
  708. }
  709. }
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/score": {
  716. "post": {
  717. "summary": "Create Score",
  718. "operationId": "create_score_score_post",
  719. "requestBody": {
  720. "content": {
  721. "application/json": {
  722. "schema": {
  723. "$ref": "#/components/schemas/ScoreRequest"
  724. }
  725. }
  726. },
  727. "required": true
  728. },
  729. "responses": {
  730. "200": {
  731. "description": "Successful Response",
  732. "content": {
  733. "application/json": {
  734. "schema": {}
  735. }
  736. }
  737. },
  738. "400": {
  739. "description": "Bad Request",
  740. "content": {
  741. "application/json": {
  742. "schema": {
  743. "$ref": "#/components/schemas/ErrorResponse"
  744. }
  745. }
  746. }
  747. },
  748. "422": {
  749. "description": "Validation Error",
  750. "content": {
  751. "application/json": {
  752. "schema": {
  753. "$ref": "#/components/schemas/HTTPValidationError"
  754. }
  755. }
  756. }
  757. },
  758. "500": {
  759. "description": "Internal Server Error",
  760. "content": {
  761. "application/json": {
  762. "schema": {
  763. "$ref": "#/components/schemas/ErrorResponse"
  764. }
  765. }
  766. }
  767. }
  768. }
  769. }
  770. },
  771. "/v1/score": {
  772. "post": {
  773. "summary": "Create Score V1",
  774. "operationId": "create_score_v1_v1_score_post",
  775. "requestBody": {
  776. "content": {
  777. "application/json": {
  778. "schema": {
  779. "$ref": "#/components/schemas/ScoreRequest"
  780. }
  781. }
  782. },
  783. "required": true
  784. },
  785. "responses": {
  786. "200": {
  787. "description": "Successful Response",
  788. "content": {
  789. "application/json": {
  790. "schema": {}
  791. }
  792. }
  793. },
  794. "400": {
  795. "description": "Bad Request",
  796. "content": {
  797. "application/json": {
  798. "schema": {
  799. "$ref": "#/components/schemas/ErrorResponse"
  800. }
  801. }
  802. }
  803. },
  804. "422": {
  805. "description": "Validation Error",
  806. "content": {
  807. "application/json": {
  808. "schema": {
  809. "$ref": "#/components/schemas/HTTPValidationError"
  810. }
  811. }
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "content": {
  817. "application/json": {
  818. "schema": {
  819. "$ref": "#/components/schemas/ErrorResponse"
  820. }
  821. }
  822. }
  823. }
  824. }
  825. }
  826. },
  827. "/v1/audio/transcriptions": {
  828. "post": {
  829. "summary": "Create Transcriptions",
  830. "operationId": "create_transcriptions_v1_audio_transcriptions_post",
  831. "requestBody": {
  832. "content": {
  833. "application/x-www-form-urlencoded": {
  834. "schema": {
  835. "$ref": "#/components/schemas/TranscriptionRequest"
  836. }
  837. }
  838. },
  839. "required": true
  840. },
  841. "responses": {
  842. "200": {
  843. "description": "Successful Response",
  844. "content": {
  845. "application/json": {
  846. "schema": {}
  847. },
  848. "text/event-stream": {}
  849. }
  850. },
  851. "400": {
  852. "description": "Bad Request",
  853. "content": {
  854. "application/json": {
  855. "schema": {
  856. "$ref": "#/components/schemas/ErrorResponse"
  857. }
  858. }
  859. }
  860. },
  861. "422": {
  862. "description": "Unprocessable Entity",
  863. "content": {
  864. "application/json": {
  865. "schema": {
  866. "$ref": "#/components/schemas/ErrorResponse"
  867. }
  868. }
  869. }
  870. },
  871. "500": {
  872. "description": "Internal Server Error",
  873. "content": {
  874. "application/json": {
  875. "schema": {
  876. "$ref": "#/components/schemas/ErrorResponse"
  877. }
  878. }
  879. }
  880. }
  881. }
  882. }
  883. },
  884. "/v1/audio/translations": {
  885. "post": {
  886. "summary": "Create Translations",
  887. "operationId": "create_translations_v1_audio_translations_post",
  888. "requestBody": {
  889. "content": {
  890. "application/x-www-form-urlencoded": {
  891. "schema": {
  892. "$ref": "#/components/schemas/TranslationRequest"
  893. }
  894. }
  895. },
  896. "required": true
  897. },
  898. "responses": {
  899. "200": {
  900. "description": "Successful Response",
  901. "content": {
  902. "application/json": {
  903. "schema": {}
  904. },
  905. "text/event-stream": {}
  906. }
  907. },
  908. "400": {
  909. "description": "Bad Request",
  910. "content": {
  911. "application/json": {
  912. "schema": {
  913. "$ref": "#/components/schemas/ErrorResponse"
  914. }
  915. }
  916. }
  917. },
  918. "422": {
  919. "description": "Unprocessable Entity",
  920. "content": {
  921. "application/json": {
  922. "schema": {
  923. "$ref": "#/components/schemas/ErrorResponse"
  924. }
  925. }
  926. }
  927. },
  928. "500": {
  929. "description": "Internal Server Error",
  930. "content": {
  931. "application/json": {
  932. "schema": {
  933. "$ref": "#/components/schemas/ErrorResponse"
  934. }
  935. }
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/rerank": {
  942. "post": {
  943. "summary": "Do Rerank",
  944. "operationId": "do_rerank_rerank_post",
  945. "requestBody": {
  946. "content": {
  947. "application/json": {
  948. "schema": {
  949. "$ref": "#/components/schemas/RerankRequest"
  950. }
  951. }
  952. },
  953. "required": true
  954. },
  955. "responses": {
  956. "200": {
  957. "description": "Successful Response",
  958. "content": {
  959. "application/json": {
  960. "schema": {}
  961. }
  962. }
  963. },
  964. "400": {
  965. "description": "Bad Request",
  966. "content": {
  967. "application/json": {
  968. "schema": {
  969. "$ref": "#/components/schemas/ErrorResponse"
  970. }
  971. }
  972. }
  973. },
  974. "422": {
  975. "description": "Validation Error",
  976. "content": {
  977. "application/json": {
  978. "schema": {
  979. "$ref": "#/components/schemas/HTTPValidationError"
  980. }
  981. }
  982. }
  983. },
  984. "500": {
  985. "description": "Internal Server Error",
  986. "content": {
  987. "application/json": {
  988. "schema": {
  989. "$ref": "#/components/schemas/ErrorResponse"
  990. }
  991. }
  992. }
  993. }
  994. }
  995. }
  996. },
  997. "/v1/rerank": {
  998. "post": {
  999. "summary": "Do Rerank V1",
  1000. "operationId": "do_rerank_v1_v1_rerank_post",
  1001. "requestBody": {
  1002. "content": {
  1003. "application/json": {
  1004. "schema": {
  1005. "$ref": "#/components/schemas/RerankRequest"
  1006. }
  1007. }
  1008. },
  1009. "required": true
  1010. },
  1011. "responses": {
  1012. "200": {
  1013. "description": "Successful Response",
  1014. "content": {
  1015. "application/json": {
  1016. "schema": {}
  1017. }
  1018. }
  1019. },
  1020. "400": {
  1021. "description": "Bad Request",
  1022. "content": {
  1023. "application/json": {
  1024. "schema": {
  1025. "$ref": "#/components/schemas/ErrorResponse"
  1026. }
  1027. }
  1028. }
  1029. },
  1030. "422": {
  1031. "description": "Validation Error",
  1032. "content": {
  1033. "application/json": {
  1034. "schema": {
  1035. "$ref": "#/components/schemas/HTTPValidationError"
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "500": {
  1041. "description": "Internal Server Error",
  1042. "content": {
  1043. "application/json": {
  1044. "schema": {
  1045. "$ref": "#/components/schemas/ErrorResponse"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. }
  1051. }
  1052. },
  1053. "/v2/rerank": {
  1054. "post": {
  1055. "summary": "Do Rerank V2",
  1056. "operationId": "do_rerank_v2_v2_rerank_post",
  1057. "requestBody": {
  1058. "content": {
  1059. "application/json": {
  1060. "schema": {
  1061. "$ref": "#/components/schemas/RerankRequest"
  1062. }
  1063. }
  1064. },
  1065. "required": true
  1066. },
  1067. "responses": {
  1068. "200": {
  1069. "description": "Successful Response",
  1070. "content": {
  1071. "application/json": {
  1072. "schema": {}
  1073. }
  1074. }
  1075. },
  1076. "400": {
  1077. "description": "Bad Request",
  1078. "content": {
  1079. "application/json": {
  1080. "schema": {
  1081. "$ref": "#/components/schemas/ErrorResponse"
  1082. }
  1083. }
  1084. }
  1085. },
  1086. "422": {
  1087. "description": "Validation Error",
  1088. "content": {
  1089. "application/json": {
  1090. "schema": {
  1091. "$ref": "#/components/schemas/HTTPValidationError"
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "content": {
  1099. "application/json": {
  1100. "schema": {
  1101. "$ref": "#/components/schemas/ErrorResponse"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. }
  1107. }
  1108. },
  1109. "/scale_elastic_ep": {
  1110. "post": {
  1111. "summary": "Scale Elastic Ep",
  1112. "operationId": "scale_elastic_ep_scale_elastic_ep_post",
  1113. "responses": {
  1114. "200": {
  1115. "description": "Successful Response",
  1116. "content": {
  1117. "application/json": {
  1118. "schema": {
  1119. "additionalProperties": true,
  1120. "type": "object",
  1121. "title": "Response 200 Scale Elastic Ep Scale Elastic Ep Post"
  1122. }
  1123. }
  1124. }
  1125. },
  1126. "400": {
  1127. "description": "Bad Request",
  1128. "content": {
  1129. "application/json": {
  1130. "schema": {
  1131. "$ref": "#/components/schemas/ErrorResponse"
  1132. }
  1133. }
  1134. }
  1135. },
  1136. "408": {
  1137. "description": "Request Timeout",
  1138. "content": {
  1139. "application/json": {
  1140. "schema": {
  1141. "$ref": "#/components/schemas/ErrorResponse"
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "500": {
  1147. "description": "Internal Server Error",
  1148. "content": {
  1149. "application/json": {
  1150. "schema": {
  1151. "$ref": "#/components/schemas/ErrorResponse"
  1152. }
  1153. }
  1154. }
  1155. }
  1156. }
  1157. }
  1158. },
  1159. "/is_scaling_elastic_ep": {
  1160. "post": {
  1161. "summary": "Is Scaling Elastic Ep",
  1162. "operationId": "is_scaling_elastic_ep_is_scaling_elastic_ep_post",
  1163. "responses": {
  1164. "200": {
  1165. "description": "Successful Response",
  1166. "content": {
  1167. "application/json": {
  1168. "schema": {}
  1169. }
  1170. }
  1171. }
  1172. }
  1173. }
  1174. },
  1175. "/invocations": {
  1176. "post": {
  1177. "summary": "Invocations",
  1178. "description": "For SageMaker, routes requests based on the request type.",
  1179. "operationId": "invocations_invocations_post",
  1180. "responses": {
  1181. "200": {
  1182. "description": "Successful Response",
  1183. "content": {
  1184. "application/json": {
  1185. "schema": {}
  1186. }
  1187. }
  1188. },
  1189. "400": {
  1190. "description": "Bad Request",
  1191. "content": {
  1192. "application/json": {
  1193. "schema": {
  1194. "$ref": "#/components/schemas/ErrorResponse"
  1195. }
  1196. }
  1197. }
  1198. },
  1199. "415": {
  1200. "description": "Unsupported Media Type",
  1201. "content": {
  1202. "application/json": {
  1203. "schema": {
  1204. "$ref": "#/components/schemas/ErrorResponse"
  1205. }
  1206. }
  1207. }
  1208. },
  1209. "500": {
  1210. "description": "Internal Server Error",
  1211. "content": {
  1212. "application/json": {
  1213. "schema": {
  1214. "$ref": "#/components/schemas/ErrorResponse"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. }
  1220. }
  1221. },
  1222. "/metrics": {
  1223. "get": {
  1224. "summary": "Metrics",
  1225. "description": "Endpoint that serves Prometheus metrics.",
  1226. "operationId": "metrics_metrics_get",
  1227. "responses": {
  1228. "200": {
  1229. "description": "Successful Response",
  1230. "content": {
  1231. "text/plain; version=1.0.0; charset=utf-8": {
  1232. "schema": {
  1233. "type": "string"
  1234. }
  1235. }
  1236. }
  1237. }
  1238. }
  1239. }
  1240. }
  1241. },
  1242. "components": {
  1243. "schemas": {
  1244. "ActionClick": {
  1245. "properties": {
  1246. "button": {
  1247. "type": "string",
  1248. "enum": [
  1249. "left",
  1250. "right",
  1251. "wheel",
  1252. "back",
  1253. "forward"
  1254. ],
  1255. "title": "Button"
  1256. },
  1257. "type": {
  1258. "type": "string",
  1259. "const": "click",
  1260. "title": "Type"
  1261. },
  1262. "x": {
  1263. "type": "integer",
  1264. "title": "X"
  1265. },
  1266. "y": {
  1267. "type": "integer",
  1268. "title": "Y"
  1269. }
  1270. },
  1271. "type": "object",
  1272. "required": [
  1273. "button",
  1274. "type",
  1275. "x",
  1276. "y"
  1277. ],
  1278. "title": "ActionClick"
  1279. },
  1280. "ActionDoubleClick": {
  1281. "properties": {
  1282. "type": {
  1283. "type": "string",
  1284. "const": "double_click",
  1285. "title": "Type"
  1286. },
  1287. "x": {
  1288. "type": "integer",
  1289. "title": "X"
  1290. },
  1291. "y": {
  1292. "type": "integer",
  1293. "title": "Y"
  1294. }
  1295. },
  1296. "type": "object",
  1297. "required": [
  1298. "type",
  1299. "x",
  1300. "y"
  1301. ],
  1302. "title": "ActionDoubleClick"
  1303. },
  1304. "ActionDrag": {
  1305. "properties": {
  1306. "path": {
  1307. "items": {
  1308. "$ref": "#/components/schemas/ActionDragPath"
  1309. },
  1310. "type": "array",
  1311. "title": "Path"
  1312. },
  1313. "type": {
  1314. "type": "string",
  1315. "const": "drag",
  1316. "title": "Type"
  1317. }
  1318. },
  1319. "type": "object",
  1320. "required": [
  1321. "path",
  1322. "type"
  1323. ],
  1324. "title": "ActionDrag"
  1325. },
  1326. "ActionDragPath": {
  1327. "properties": {
  1328. "x": {
  1329. "type": "integer",
  1330. "title": "X"
  1331. },
  1332. "y": {
  1333. "type": "integer",
  1334. "title": "Y"
  1335. }
  1336. },
  1337. "type": "object",
  1338. "required": [
  1339. "x",
  1340. "y"
  1341. ],
  1342. "title": "ActionDragPath"
  1343. },
  1344. "ActionFind": {
  1345. "properties": {
  1346. "pattern": {
  1347. "type": "string",
  1348. "title": "Pattern"
  1349. },
  1350. "type": {
  1351. "type": "string",
  1352. "const": "find",
  1353. "title": "Type"
  1354. },
  1355. "url": {
  1356. "type": "string",
  1357. "title": "Url"
  1358. }
  1359. },
  1360. "type": "object",
  1361. "required": [
  1362. "pattern",
  1363. "type",
  1364. "url"
  1365. ],
  1366. "title": "ActionFind"
  1367. },
  1368. "ActionKeypress": {
  1369. "properties": {
  1370. "keys": {
  1371. "items": {
  1372. "type": "string"
  1373. },
  1374. "type": "array",
  1375. "title": "Keys"
  1376. },
  1377. "type": {
  1378. "type": "string",
  1379. "const": "keypress",
  1380. "title": "Type"
  1381. }
  1382. },
  1383. "type": "object",
  1384. "required": [
  1385. "keys",
  1386. "type"
  1387. ],
  1388. "title": "ActionKeypress"
  1389. },
  1390. "ActionMove": {
  1391. "properties": {
  1392. "type": {
  1393. "type": "string",
  1394. "const": "move",
  1395. "title": "Type"
  1396. },
  1397. "x": {
  1398. "type": "integer",
  1399. "title": "X"
  1400. },
  1401. "y": {
  1402. "type": "integer",
  1403. "title": "Y"
  1404. }
  1405. },
  1406. "type": "object",
  1407. "required": [
  1408. "type",
  1409. "x",
  1410. "y"
  1411. ],
  1412. "title": "ActionMove"
  1413. },
  1414. "ActionOpenPage": {
  1415. "properties": {
  1416. "type": {
  1417. "type": "string",
  1418. "const": "open_page",
  1419. "title": "Type"
  1420. },
  1421. "url": {
  1422. "type": "string",
  1423. "title": "Url"
  1424. }
  1425. },
  1426. "type": "object",
  1427. "required": [
  1428. "type",
  1429. "url"
  1430. ],
  1431. "title": "ActionOpenPage"
  1432. },
  1433. "ActionScreenshot": {
  1434. "properties": {
  1435. "type": {
  1436. "type": "string",
  1437. "const": "screenshot",
  1438. "title": "Type"
  1439. }
  1440. },
  1441. "type": "object",
  1442. "required": [
  1443. "type"
  1444. ],
  1445. "title": "ActionScreenshot"
  1446. },
  1447. "ActionScroll": {
  1448. "properties": {
  1449. "scroll_x": {
  1450. "type": "integer",
  1451. "title": "Scroll X"
  1452. },
  1453. "scroll_y": {
  1454. "type": "integer",
  1455. "title": "Scroll Y"
  1456. },
  1457. "type": {
  1458. "type": "string",
  1459. "const": "scroll",
  1460. "title": "Type"
  1461. },
  1462. "x": {
  1463. "type": "integer",
  1464. "title": "X"
  1465. },
  1466. "y": {
  1467. "type": "integer",
  1468. "title": "Y"
  1469. }
  1470. },
  1471. "type": "object",
  1472. "required": [
  1473. "scroll_x",
  1474. "scroll_y",
  1475. "type",
  1476. "x",
  1477. "y"
  1478. ],
  1479. "title": "ActionScroll"
  1480. },
  1481. "ActionSearch": {
  1482. "properties": {
  1483. "query": {
  1484. "type": "string",
  1485. "title": "Query"
  1486. },
  1487. "type": {
  1488. "type": "string",
  1489. "const": "search",
  1490. "title": "Type"
  1491. },
  1492. "sources": {
  1493. "items": {
  1494. "$ref": "#/components/schemas/ActionSearchSource"
  1495. },
  1496. "type": "array",
  1497. "title": "Sources"
  1498. }
  1499. },
  1500. "type": "object",
  1501. "required": [
  1502. "query",
  1503. "type"
  1504. ],
  1505. "title": "ActionSearch"
  1506. },
  1507. "ActionSearchSource": {
  1508. "properties": {
  1509. "type": {
  1510. "type": "string",
  1511. "const": "url",
  1512. "title": "Type"
  1513. },
  1514. "url": {
  1515. "type": "string",
  1516. "title": "Url"
  1517. }
  1518. },
  1519. "type": "object",
  1520. "required": [
  1521. "type",
  1522. "url"
  1523. ],
  1524. "title": "ActionSearchSource"
  1525. },
  1526. "ActionType": {
  1527. "properties": {
  1528. "text": {
  1529. "type": "string",
  1530. "title": "Text"
  1531. },
  1532. "type": {
  1533. "type": "string",
  1534. "const": "type",
  1535. "title": "Type"
  1536. }
  1537. },
  1538. "type": "object",
  1539. "required": [
  1540. "text",
  1541. "type"
  1542. ],
  1543. "title": "ActionType"
  1544. },
  1545. "ActionWait": {
  1546. "properties": {
  1547. "type": {
  1548. "type": "string",
  1549. "const": "wait",
  1550. "title": "Type"
  1551. }
  1552. },
  1553. "type": "object",
  1554. "required": [
  1555. "type"
  1556. ],
  1557. "title": "ActionWait"
  1558. },
  1559. "AnnotationContainerFileCitation": {
  1560. "properties": {
  1561. "container_id": {
  1562. "type": "string",
  1563. "title": "Container Id"
  1564. },
  1565. "end_index": {
  1566. "type": "integer",
  1567. "title": "End Index"
  1568. },
  1569. "file_id": {
  1570. "type": "string",
  1571. "title": "File Id"
  1572. },
  1573. "filename": {
  1574. "type": "string",
  1575. "title": "Filename"
  1576. },
  1577. "start_index": {
  1578. "type": "integer",
  1579. "title": "Start Index"
  1580. },
  1581. "type": {
  1582. "type": "string",
  1583. "const": "container_file_citation",
  1584. "title": "Type"
  1585. }
  1586. },
  1587. "type": "object",
  1588. "required": [
  1589. "container_id",
  1590. "end_index",
  1591. "file_id",
  1592. "filename",
  1593. "start_index",
  1594. "type"
  1595. ],
  1596. "title": "AnnotationContainerFileCitation"
  1597. },
  1598. "AnnotationFileCitation": {
  1599. "properties": {
  1600. "file_id": {
  1601. "type": "string",
  1602. "title": "File Id"
  1603. },
  1604. "filename": {
  1605. "type": "string",
  1606. "title": "Filename"
  1607. },
  1608. "index": {
  1609. "type": "integer",
  1610. "title": "Index"
  1611. },
  1612. "type": {
  1613. "type": "string",
  1614. "const": "file_citation",
  1615. "title": "Type"
  1616. }
  1617. },
  1618. "type": "object",
  1619. "required": [
  1620. "file_id",
  1621. "filename",
  1622. "index",
  1623. "type"
  1624. ],
  1625. "title": "AnnotationFileCitation"
  1626. },
  1627. "AnnotationFilePath": {
  1628. "properties": {
  1629. "file_id": {
  1630. "type": "string",
  1631. "title": "File Id"
  1632. },
  1633. "index": {
  1634. "type": "integer",
  1635. "title": "Index"
  1636. },
  1637. "type": {
  1638. "type": "string",
  1639. "const": "file_path",
  1640. "title": "Type"
  1641. }
  1642. },
  1643. "type": "object",
  1644. "required": [
  1645. "file_id",
  1646. "index",
  1647. "type"
  1648. ],
  1649. "title": "AnnotationFilePath"
  1650. },
  1651. "AnnotationURLCitation": {
  1652. "properties": {
  1653. "end_index": {
  1654. "type": "integer",
  1655. "title": "End Index"
  1656. },
  1657. "start_index": {
  1658. "type": "integer",
  1659. "title": "Start Index"
  1660. },
  1661. "title": {
  1662. "type": "string",
  1663. "title": "Title"
  1664. },
  1665. "type": {
  1666. "type": "string",
  1667. "const": "url_citation",
  1668. "title": "Type"
  1669. },
  1670. "url": {
  1671. "type": "string",
  1672. "title": "Url"
  1673. }
  1674. },
  1675. "type": "object",
  1676. "required": [
  1677. "end_index",
  1678. "start_index",
  1679. "title",
  1680. "type",
  1681. "url"
  1682. ],
  1683. "title": "AnnotationURLCitation"
  1684. },
  1685. "Audio": {
  1686. "properties": {
  1687. "id": {
  1688. "type": "string",
  1689. "title": "Id"
  1690. }
  1691. },
  1692. "type": "object",
  1693. "required": [
  1694. "id"
  1695. ],
  1696. "title": "Audio"
  1697. },
  1698. "AudioURL": {
  1699. "properties": {
  1700. "url": {
  1701. "type": "string",
  1702. "title": "Url"
  1703. }
  1704. },
  1705. "type": "object",
  1706. "required": [
  1707. "url"
  1708. ],
  1709. "title": "AudioURL"
  1710. },
  1711. "Author": {
  1712. "properties": {
  1713. "role": {
  1714. "$ref": "#/components/schemas/Role"
  1715. },
  1716. "name": {
  1717. "anyOf": [
  1718. {
  1719. "type": "string"
  1720. },
  1721. {
  1722. "type": "null"
  1723. }
  1724. ],
  1725. "title": "Name"
  1726. }
  1727. },
  1728. "type": "object",
  1729. "required": [
  1730. "role"
  1731. ],
  1732. "title": "Author"
  1733. },
  1734. "BaseModel": {
  1735. "properties": {},
  1736. "type": "object",
  1737. "title": "BaseModel"
  1738. },
  1739. "ChatCompletionAssistantMessageParam": {
  1740. "properties": {
  1741. "role": {
  1742. "type": "string",
  1743. "const": "assistant",
  1744. "title": "Role"
  1745. },
  1746. "audio": {
  1747. "anyOf": [
  1748. {
  1749. "$ref": "#/components/schemas/Audio"
  1750. },
  1751. {
  1752. "type": "null"
  1753. }
  1754. ]
  1755. },
  1756. "content": {
  1757. "anyOf": [
  1758. {
  1759. "type": "string"
  1760. },
  1761. {
  1762. "items": {
  1763. "anyOf": [
  1764. {
  1765. "$ref": "#/components/schemas/ChatCompletionContentPartTextParam"
  1766. },
  1767. {
  1768. "$ref": "#/components/schemas/ChatCompletionContentPartRefusalParam"
  1769. }
  1770. ]
  1771. },
  1772. "type": "array"
  1773. },
  1774. {
  1775. "type": "null"
  1776. }
  1777. ],
  1778. "title": "Content"
  1779. },
  1780. "function_call": {
  1781. "anyOf": [
  1782. {
  1783. "$ref": "#/components/schemas/FunctionCall"
  1784. },
  1785. {
  1786. "type": "null"
  1787. }
  1788. ]
  1789. },
  1790. "name": {
  1791. "type": "string",
  1792. "title": "Name"
  1793. },
  1794. "refusal": {
  1795. "anyOf": [
  1796. {
  1797. "type": "string"
  1798. },
  1799. {
  1800. "type": "null"
  1801. }
  1802. ],
  1803. "title": "Refusal"
  1804. },
  1805. "tool_calls": {
  1806. "items": {
  1807. "anyOf": [
  1808. {
  1809. "$ref": "#/components/schemas/ChatCompletionMessageFunctionToolCallParam"
  1810. },
  1811. {
  1812. "$ref": "#/components/schemas/ChatCompletionMessageCustomToolCallParam"
  1813. }
  1814. ]
  1815. },
  1816. "type": "array",
  1817. "title": "Tool Calls"
  1818. }
  1819. },
  1820. "type": "object",
  1821. "required": [
  1822. "role"
  1823. ],
  1824. "title": "ChatCompletionAssistantMessageParam"
  1825. },
  1826. "ChatCompletionContentPartAudioParam": {
  1827. "properties": {
  1828. "audio_url": {
  1829. "$ref": "#/components/schemas/AudioURL"
  1830. },
  1831. "type": {
  1832. "type": "string",
  1833. "const": "audio_url",
  1834. "title": "Type"
  1835. }
  1836. },
  1837. "type": "object",
  1838. "required": [
  1839. "audio_url",
  1840. "type"
  1841. ],
  1842. "title": "ChatCompletionContentPartAudioParam"
  1843. },
  1844. "ChatCompletionContentPartImageEmbedsParam": {
  1845. "properties": {
  1846. "image_embeds": {
  1847. "anyOf": [
  1848. {
  1849. "type": "string"
  1850. },
  1851. {
  1852. "additionalProperties": {
  1853. "type": "string"
  1854. },
  1855. "type": "object"
  1856. },
  1857. {
  1858. "type": "null"
  1859. }
  1860. ],
  1861. "title": "Image Embeds"
  1862. },
  1863. "type": {
  1864. "type": "string",
  1865. "const": "image_embeds",
  1866. "title": "Type"
  1867. },
  1868. "uuid": {
  1869. "anyOf": [
  1870. {
  1871. "type": "string"
  1872. },
  1873. {
  1874. "type": "null"
  1875. }
  1876. ],
  1877. "title": "Uuid"
  1878. }
  1879. },
  1880. "type": "object",
  1881. "required": [
  1882. "type"
  1883. ],
  1884. "title": "ChatCompletionContentPartImageEmbedsParam"
  1885. },
  1886. "ChatCompletionContentPartImageParam": {
  1887. "properties": {
  1888. "image_url": {
  1889. "$ref": "#/components/schemas/ImageURL"
  1890. },
  1891. "type": {
  1892. "type": "string",
  1893. "const": "image_url",
  1894. "title": "Type"
  1895. }
  1896. },
  1897. "type": "object",
  1898. "required": [
  1899. "image_url",
  1900. "type"
  1901. ],
  1902. "title": "ChatCompletionContentPartImageParam"
  1903. },
  1904. "ChatCompletionContentPartInputAudioParam": {
  1905. "properties": {
  1906. "input_audio": {
  1907. "$ref": "#/components/schemas/openai__types__chat__chat_completion_content_part_input_audio_param__InputAudio"
  1908. },
  1909. "type": {
  1910. "type": "string",
  1911. "const": "input_audio",
  1912. "title": "Type"
  1913. }
  1914. },
  1915. "type": "object",
  1916. "required": [
  1917. "input_audio",
  1918. "type"
  1919. ],
  1920. "title": "ChatCompletionContentPartInputAudioParam"
  1921. },
  1922. "ChatCompletionContentPartRefusalParam": {
  1923. "properties": {
  1924. "refusal": {
  1925. "type": "string",
  1926. "title": "Refusal"
  1927. },
  1928. "type": {
  1929. "type": "string",
  1930. "const": "refusal",
  1931. "title": "Type"
  1932. }
  1933. },
  1934. "type": "object",
  1935. "required": [
  1936. "refusal",
  1937. "type"
  1938. ],
  1939. "title": "ChatCompletionContentPartRefusalParam"
  1940. },
  1941. "ChatCompletionContentPartTextParam": {
  1942. "properties": {
  1943. "text": {
  1944. "type": "string",
  1945. "title": "Text"
  1946. },
  1947. "type": {
  1948. "type": "string",
  1949. "const": "text",
  1950. "title": "Type"
  1951. }
  1952. },
  1953. "type": "object",
  1954. "required": [
  1955. "text",
  1956. "type"
  1957. ],
  1958. "title": "ChatCompletionContentPartTextParam"
  1959. },
  1960. "ChatCompletionContentPartVideoParam": {
  1961. "properties": {
  1962. "video_url": {
  1963. "$ref": "#/components/schemas/VideoURL"
  1964. },
  1965. "type": {
  1966. "type": "string",
  1967. "const": "video_url",
  1968. "title": "Type"
  1969. }
  1970. },
  1971. "type": "object",
  1972. "required": [
  1973. "video_url",
  1974. "type"
  1975. ],
  1976. "title": "ChatCompletionContentPartVideoParam"
  1977. },
  1978. "ChatCompletionDeveloperMessageParam": {
  1979. "properties": {
  1980. "content": {
  1981. "anyOf": [
  1982. {
  1983. "type": "string"
  1984. },
  1985. {
  1986. "items": {
  1987. "$ref": "#/components/schemas/ChatCompletionContentPartTextParam"
  1988. },
  1989. "type": "array"
  1990. }
  1991. ],
  1992. "title": "Content"
  1993. },
  1994. "role": {
  1995. "type": "string",
  1996. "const": "developer",
  1997. "title": "Role"
  1998. },
  1999. "name": {
  2000. "type": "string",
  2001. "title": "Name"
  2002. }
  2003. },
  2004. "type": "object",
  2005. "required": [
  2006. "content",
  2007. "role"
  2008. ],
  2009. "title": "ChatCompletionDeveloperMessageParam"
  2010. },
  2011. "ChatCompletionFunctionMessageParam": {
  2012. "properties": {
  2013. "content": {
  2014. "anyOf": [
  2015. {
  2016. "type": "string"
  2017. },
  2018. {
  2019. "type": "null"
  2020. }
  2021. ],
  2022. "title": "Content"
  2023. },
  2024. "name": {
  2025. "type": "string",
  2026. "title": "Name"
  2027. },
  2028. "role": {
  2029. "type": "string",
  2030. "const": "function",
  2031. "title": "Role"
  2032. }
  2033. },
  2034. "type": "object",
  2035. "required": [
  2036. "content",
  2037. "name",
  2038. "role"
  2039. ],
  2040. "title": "ChatCompletionFunctionMessageParam"
  2041. },
  2042. "ChatCompletionMessageCustomToolCallParam": {
  2043. "properties": {
  2044. "id": {
  2045. "type": "string",
  2046. "title": "Id"
  2047. },
  2048. "custom": {
  2049. "$ref": "#/components/schemas/Custom"
  2050. },
  2051. "type": {
  2052. "type": "string",
  2053. "const": "custom",
  2054. "title": "Type"
  2055. }
  2056. },
  2057. "type": "object",
  2058. "required": [
  2059. "id",
  2060. "custom",
  2061. "type"
  2062. ],
  2063. "title": "ChatCompletionMessageCustomToolCallParam"
  2064. },
  2065. "ChatCompletionMessageFunctionToolCallParam": {
  2066. "properties": {
  2067. "id": {
  2068. "type": "string",
  2069. "title": "Id"
  2070. },
  2071. "function": {
  2072. "$ref": "#/components/schemas/Function"
  2073. },
  2074. "type": {
  2075. "type": "string",
  2076. "const": "function",
  2077. "title": "Type"
  2078. }
  2079. },
  2080. "type": "object",
  2081. "required": [
  2082. "id",
  2083. "function",
  2084. "type"
  2085. ],
  2086. "title": "ChatCompletionMessageFunctionToolCallParam"
  2087. },
  2088. "ChatCompletionNamedFunction": {
  2089. "properties": {
  2090. "name": {
  2091. "type": "string",
  2092. "title": "Name"
  2093. }
  2094. },
  2095. "additionalProperties": true,
  2096. "type": "object",
  2097. "required": [
  2098. "name"
  2099. ],
  2100. "title": "ChatCompletionNamedFunction"
  2101. },
  2102. "ChatCompletionNamedToolChoiceParam": {
  2103. "properties": {
  2104. "function": {
  2105. "$ref": "#/components/schemas/ChatCompletionNamedFunction"
  2106. },
  2107. "type": {
  2108. "type": "string",
  2109. "const": "function",
  2110. "title": "Type",
  2111. "default": "function"
  2112. }
  2113. },
  2114. "additionalProperties": true,
  2115. "type": "object",
  2116. "required": [
  2117. "function"
  2118. ],
  2119. "title": "ChatCompletionNamedToolChoiceParam"
  2120. },
  2121. "ChatCompletionRequest": {
  2122. "properties": {
  2123. "messages": {
  2124. "items": {
  2125. "anyOf": [
  2126. {
  2127. "$ref": "#/components/schemas/ChatCompletionDeveloperMessageParam"
  2128. },
  2129. {
  2130. "$ref": "#/components/schemas/ChatCompletionSystemMessageParam"
  2131. },
  2132. {
  2133. "$ref": "#/components/schemas/ChatCompletionUserMessageParam"
  2134. },
  2135. {
  2136. "$ref": "#/components/schemas/ChatCompletionAssistantMessageParam"
  2137. },
  2138. {
  2139. "$ref": "#/components/schemas/ChatCompletionToolMessageParam"
  2140. },
  2141. {
  2142. "$ref": "#/components/schemas/ChatCompletionFunctionMessageParam"
  2143. },
  2144. {
  2145. "$ref": "#/components/schemas/CustomChatCompletionMessageParam"
  2146. },
  2147. {
  2148. "$ref": "#/components/schemas/openai_harmony__Message"
  2149. }
  2150. ]
  2151. },
  2152. "type": "array",
  2153. "title": "Messages"
  2154. },
  2155. "model": {
  2156. "anyOf": [
  2157. {
  2158. "type": "string"
  2159. },
  2160. {
  2161. "type": "null"
  2162. }
  2163. ],
  2164. "title": "Model"
  2165. },
  2166. "frequency_penalty": {
  2167. "anyOf": [
  2168. {
  2169. "type": "number"
  2170. },
  2171. {
  2172. "type": "null"
  2173. }
  2174. ],
  2175. "title": "Frequency Penalty",
  2176. "default": 0
  2177. },
  2178. "logit_bias": {
  2179. "anyOf": [
  2180. {
  2181. "additionalProperties": {
  2182. "type": "number"
  2183. },
  2184. "type": "object"
  2185. },
  2186. {
  2187. "type": "null"
  2188. }
  2189. ],
  2190. "title": "Logit Bias"
  2191. },
  2192. "logprobs": {
  2193. "anyOf": [
  2194. {
  2195. "type": "boolean"
  2196. },
  2197. {
  2198. "type": "null"
  2199. }
  2200. ],
  2201. "title": "Logprobs",
  2202. "default": false
  2203. },
  2204. "top_logprobs": {
  2205. "anyOf": [
  2206. {
  2207. "type": "integer"
  2208. },
  2209. {
  2210. "type": "null"
  2211. }
  2212. ],
  2213. "title": "Top Logprobs",
  2214. "default": 0
  2215. },
  2216. "max_tokens": {
  2217. "anyOf": [
  2218. {
  2219. "type": "integer"
  2220. },
  2221. {
  2222. "type": "null"
  2223. }
  2224. ],
  2225. "title": "Max Tokens",
  2226. "deprecated": true
  2227. },
  2228. "max_completion_tokens": {
  2229. "anyOf": [
  2230. {
  2231. "type": "integer"
  2232. },
  2233. {
  2234. "type": "null"
  2235. }
  2236. ],
  2237. "title": "Max Completion Tokens"
  2238. },
  2239. "n": {
  2240. "anyOf": [
  2241. {
  2242. "type": "integer"
  2243. },
  2244. {
  2245. "type": "null"
  2246. }
  2247. ],
  2248. "title": "N",
  2249. "default": 1
  2250. },
  2251. "presence_penalty": {
  2252. "anyOf": [
  2253. {
  2254. "type": "number"
  2255. },
  2256. {
  2257. "type": "null"
  2258. }
  2259. ],
  2260. "title": "Presence Penalty",
  2261. "default": 0
  2262. },
  2263. "response_format": {
  2264. "anyOf": [
  2265. {
  2266. "$ref": "#/components/schemas/ResponseFormat"
  2267. },
  2268. {
  2269. "$ref": "#/components/schemas/StructuralTagResponseFormat"
  2270. },
  2271. {
  2272. "type": "null"
  2273. }
  2274. ],
  2275. "title": "Response Format"
  2276. },
  2277. "seed": {
  2278. "anyOf": [
  2279. {
  2280. "type": "integer",
  2281. "maximum": "9.223372036854776e+18",
  2282. "minimum": -9223372036854776000
  2283. },
  2284. {
  2285. "type": "null"
  2286. }
  2287. ],
  2288. "title": "Seed"
  2289. },
  2290. "stop": {
  2291. "anyOf": [
  2292. {
  2293. "type": "string"
  2294. },
  2295. {
  2296. "items": {
  2297. "type": "string"
  2298. },
  2299. "type": "array"
  2300. },
  2301. {
  2302. "type": "null"
  2303. }
  2304. ],
  2305. "title": "Stop",
  2306. "default": []
  2307. },
  2308. "stream": {
  2309. "anyOf": [
  2310. {
  2311. "type": "boolean"
  2312. },
  2313. {
  2314. "type": "null"
  2315. }
  2316. ],
  2317. "title": "Stream",
  2318. "default": false
  2319. },
  2320. "stream_options": {
  2321. "anyOf": [
  2322. {
  2323. "$ref": "#/components/schemas/StreamOptions"
  2324. },
  2325. {
  2326. "type": "null"
  2327. }
  2328. ]
  2329. },
  2330. "temperature": {
  2331. "anyOf": [
  2332. {
  2333. "type": "number"
  2334. },
  2335. {
  2336. "type": "null"
  2337. }
  2338. ],
  2339. "title": "Temperature"
  2340. },
  2341. "top_p": {
  2342. "anyOf": [
  2343. {
  2344. "type": "number"
  2345. },
  2346. {
  2347. "type": "null"
  2348. }
  2349. ],
  2350. "title": "Top P"
  2351. },
  2352. "tools": {
  2353. "anyOf": [
  2354. {
  2355. "items": {
  2356. "$ref": "#/components/schemas/ChatCompletionToolsParam"
  2357. },
  2358. "type": "array"
  2359. },
  2360. {
  2361. "type": "null"
  2362. }
  2363. ],
  2364. "title": "Tools"
  2365. },
  2366. "tool_choice": {
  2367. "anyOf": [
  2368. {
  2369. "type": "string",
  2370. "const": "none"
  2371. },
  2372. {
  2373. "type": "string",
  2374. "const": "auto"
  2375. },
  2376. {
  2377. "type": "string",
  2378. "const": "required"
  2379. },
  2380. {
  2381. "$ref": "#/components/schemas/ChatCompletionNamedToolChoiceParam"
  2382. },
  2383. {
  2384. "type": "null"
  2385. }
  2386. ],
  2387. "title": "Tool Choice",
  2388. "default": "none"
  2389. },
  2390. "reasoning_effort": {
  2391. "anyOf": [
  2392. {
  2393. "type": "string",
  2394. "enum": [
  2395. "low",
  2396. "medium",
  2397. "high"
  2398. ]
  2399. },
  2400. {
  2401. "type": "null"
  2402. }
  2403. ],
  2404. "title": "Reasoning Effort"
  2405. },
  2406. "include_reasoning": {
  2407. "type": "boolean",
  2408. "title": "Include Reasoning",
  2409. "default": true
  2410. },
  2411. "parallel_tool_calls": {
  2412. "anyOf": [
  2413. {
  2414. "type": "boolean"
  2415. },
  2416. {
  2417. "type": "null"
  2418. }
  2419. ],
  2420. "title": "Parallel Tool Calls",
  2421. "default": false
  2422. },
  2423. "user": {
  2424. "anyOf": [
  2425. {
  2426. "type": "string"
  2427. },
  2428. {
  2429. "type": "null"
  2430. }
  2431. ],
  2432. "title": "User"
  2433. },
  2434. "best_of": {
  2435. "anyOf": [
  2436. {
  2437. "type": "integer"
  2438. },
  2439. {
  2440. "type": "null"
  2441. }
  2442. ],
  2443. "title": "Best Of"
  2444. },
  2445. "use_beam_search": {
  2446. "type": "boolean",
  2447. "title": "Use Beam Search",
  2448. "default": false
  2449. },
  2450. "top_k": {
  2451. "anyOf": [
  2452. {
  2453. "type": "integer"
  2454. },
  2455. {
  2456. "type": "null"
  2457. }
  2458. ],
  2459. "title": "Top K"
  2460. },
  2461. "min_p": {
  2462. "anyOf": [
  2463. {
  2464. "type": "number"
  2465. },
  2466. {
  2467. "type": "null"
  2468. }
  2469. ],
  2470. "title": "Min P"
  2471. },
  2472. "repetition_penalty": {
  2473. "anyOf": [
  2474. {
  2475. "type": "number"
  2476. },
  2477. {
  2478. "type": "null"
  2479. }
  2480. ],
  2481. "title": "Repetition Penalty"
  2482. },
  2483. "length_penalty": {
  2484. "type": "number",
  2485. "title": "Length Penalty",
  2486. "default": 1
  2487. },
  2488. "stop_token_ids": {
  2489. "anyOf": [
  2490. {
  2491. "items": {
  2492. "type": "integer"
  2493. },
  2494. "type": "array"
  2495. },
  2496. {
  2497. "type": "null"
  2498. }
  2499. ],
  2500. "title": "Stop Token Ids",
  2501. "default": []
  2502. },
  2503. "include_stop_str_in_output": {
  2504. "type": "boolean",
  2505. "title": "Include Stop Str In Output",
  2506. "default": false
  2507. },
  2508. "ignore_eos": {
  2509. "type": "boolean",
  2510. "title": "Ignore Eos",
  2511. "default": false
  2512. },
  2513. "min_tokens": {
  2514. "type": "integer",
  2515. "title": "Min Tokens",
  2516. "default": 0
  2517. },
  2518. "skip_special_tokens": {
  2519. "type": "boolean",
  2520. "title": "Skip Special Tokens",
  2521. "default": true
  2522. },
  2523. "spaces_between_special_tokens": {
  2524. "type": "boolean",
  2525. "title": "Spaces Between Special Tokens",
  2526. "default": true
  2527. },
  2528. "truncate_prompt_tokens": {
  2529. "anyOf": [
  2530. {
  2531. "type": "integer",
  2532. "minimum": -1
  2533. },
  2534. {
  2535. "type": "null"
  2536. }
  2537. ],
  2538. "title": "Truncate Prompt Tokens"
  2539. },
  2540. "prompt_logprobs": {
  2541. "anyOf": [
  2542. {
  2543. "type": "integer"
  2544. },
  2545. {
  2546. "type": "null"
  2547. }
  2548. ],
  2549. "title": "Prompt Logprobs"
  2550. },
  2551. "allowed_token_ids": {
  2552. "anyOf": [
  2553. {
  2554. "items": {
  2555. "type": "integer"
  2556. },
  2557. "type": "array"
  2558. },
  2559. {
  2560. "type": "null"
  2561. }
  2562. ],
  2563. "title": "Allowed Token Ids"
  2564. },
  2565. "bad_words": {
  2566. "items": {
  2567. "type": "string"
  2568. },
  2569. "type": "array",
  2570. "title": "Bad Words"
  2571. },
  2572. "echo": {
  2573. "type": "boolean",
  2574. "title": "Echo",
  2575. "description": "If true, the new message will be prepended with the last message if they belong to the same role.",
  2576. "default": false
  2577. },
  2578. "add_generation_prompt": {
  2579. "type": "boolean",
  2580. "title": "Add Generation Prompt",
  2581. "description": "If true, the generation prompt will be added to the chat template. This is a parameter used by chat template in tokenizer config of the model.",
  2582. "default": true
  2583. },
  2584. "continue_final_message": {
  2585. "type": "boolean",
  2586. "title": "Continue Final Message",
  2587. "description": "If this is set, the chat will be formatted so that the final message in the chat is open-ended, without any EOS tokens. The model will continue this message rather than starting a new one. This allows you to \"prefill\" part of the model's response for it. Cannot be used at the same time as `add_generation_prompt`.",
  2588. "default": false
  2589. },
  2590. "add_special_tokens": {
  2591. "type": "boolean",
  2592. "title": "Add Special Tokens",
  2593. "description": "If true, special tokens (e.g. BOS) will be added to the prompt on top of what is added by the chat template. For most models, the chat template takes care of adding the special tokens so this should be set to false (as is the default).",
  2594. "default": false
  2595. },
  2596. "documents": {
  2597. "anyOf": [
  2598. {
  2599. "items": {
  2600. "additionalProperties": {
  2601. "type": "string"
  2602. },
  2603. "type": "object"
  2604. },
  2605. "type": "array"
  2606. },
  2607. {
  2608. "type": "null"
  2609. }
  2610. ],
  2611. "title": "Documents",
  2612. "description": "A list of dicts representing documents that will be accessible to the model if it is performing RAG (retrieval-augmented generation). If the template does not support RAG, this argument will have no effect. We recommend that each document should be a dict containing \"title\" and \"text\" keys."
  2613. },
  2614. "chat_template": {
  2615. "anyOf": [
  2616. {
  2617. "type": "string"
  2618. },
  2619. {
  2620. "type": "null"
  2621. }
  2622. ],
  2623. "title": "Chat Template",
  2624. "description": "A Jinja template to use for this conversion. As of transformers v4.44, default chat template is no longer allowed, so you must provide a chat template if the tokenizer does not define one."
  2625. },
  2626. "chat_template_kwargs": {
  2627. "anyOf": [
  2628. {
  2629. "additionalProperties": true,
  2630. "type": "object"
  2631. },
  2632. {
  2633. "type": "null"
  2634. }
  2635. ],
  2636. "title": "Chat Template Kwargs",
  2637. "description": "Additional keyword args to pass to the template renderer. Will be accessible by the chat template."
  2638. },
  2639. "mm_processor_kwargs": {
  2640. "anyOf": [
  2641. {
  2642. "additionalProperties": true,
  2643. "type": "object"
  2644. },
  2645. {
  2646. "type": "null"
  2647. }
  2648. ],
  2649. "title": "Mm Processor Kwargs",
  2650. "description": "Additional kwargs to pass to the HF processor."
  2651. },
  2652. "structured_outputs": {
  2653. "anyOf": [
  2654. {
  2655. "$ref": "#/components/schemas/StructuredOutputsParams"
  2656. },
  2657. {
  2658. "type": "null"
  2659. }
  2660. ],
  2661. "description": "Additional kwargs for structured outputs"
  2662. },
  2663. "guided_json": {
  2664. "anyOf": [
  2665. {
  2666. "type": "string"
  2667. },
  2668. {
  2669. "additionalProperties": true,
  2670. "type": "object"
  2671. },
  2672. {
  2673. "$ref": "#/components/schemas/BaseModel"
  2674. },
  2675. {
  2676. "type": "null"
  2677. }
  2678. ],
  2679. "title": "Guided Json",
  2680. "description": "`guided_json` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `json` to `structured_outputs` instead."
  2681. },
  2682. "guided_regex": {
  2683. "anyOf": [
  2684. {
  2685. "type": "string"
  2686. },
  2687. {
  2688. "type": "null"
  2689. }
  2690. ],
  2691. "title": "Guided Regex",
  2692. "description": "`guided_regex` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `regex` to `structured_outputs` instead."
  2693. },
  2694. "guided_choice": {
  2695. "anyOf": [
  2696. {
  2697. "items": {
  2698. "type": "string"
  2699. },
  2700. "type": "array"
  2701. },
  2702. {
  2703. "type": "null"
  2704. }
  2705. ],
  2706. "title": "Guided Choice",
  2707. "description": "`guided_choice` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `choice` to `structured_outputs` instead."
  2708. },
  2709. "guided_grammar": {
  2710. "anyOf": [
  2711. {
  2712. "type": "string"
  2713. },
  2714. {
  2715. "type": "null"
  2716. }
  2717. ],
  2718. "title": "Guided Grammar",
  2719. "description": "`guided_grammar` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `grammar` to `structured_outputs` instead."
  2720. },
  2721. "structural_tag": {
  2722. "anyOf": [
  2723. {
  2724. "type": "string"
  2725. },
  2726. {
  2727. "type": "null"
  2728. }
  2729. ],
  2730. "title": "Structural Tag",
  2731. "description": "`structural_tag` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `structural_tag` to `structured_outputs` instead."
  2732. },
  2733. "guided_decoding_backend": {
  2734. "anyOf": [
  2735. {
  2736. "type": "string"
  2737. },
  2738. {
  2739. "type": "null"
  2740. }
  2741. ],
  2742. "title": "Guided Decoding Backend",
  2743. "description": "`guided_decoding_backend` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please remove it from your request."
  2744. },
  2745. "guided_whitespace_pattern": {
  2746. "anyOf": [
  2747. {
  2748. "type": "string"
  2749. },
  2750. {
  2751. "type": "null"
  2752. }
  2753. ],
  2754. "title": "Guided Whitespace Pattern",
  2755. "description": "`guided_whitespace_pattern` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `whitespace_pattern` to `structured_outputs` instead."
  2756. },
  2757. "priority": {
  2758. "type": "integer",
  2759. "title": "Priority",
  2760. "description": "The priority of the request (lower means earlier handling; default: 0). Any priority other than 0 will raise an error if the served model does not use priority scheduling.",
  2761. "default": 0
  2762. },
  2763. "request_id": {
  2764. "type": "string",
  2765. "title": "Request Id",
  2766. "description": "The request_id related to this request. If the caller does not set it, a random_uuid will be generated. This id is used through out the inference process and return in response."
  2767. },
  2768. "logits_processors": {
  2769. "anyOf": [
  2770. {
  2771. "items": {
  2772. "anyOf": [
  2773. {
  2774. "type": "string"
  2775. },
  2776. {
  2777. "$ref": "#/components/schemas/LogitsProcessorConstructor"
  2778. }
  2779. ]
  2780. },
  2781. "type": "array"
  2782. },
  2783. {
  2784. "type": "null"
  2785. }
  2786. ],
  2787. "title": "Logits Processors",
  2788. "description": "A list of either qualified names of logits processors, or constructor objects, to apply when sampling. A constructor is a JSON object with a required 'qualname' field specifying the qualified name of the processor class/factory, and optional 'args' and 'kwargs' fields containing positional and keyword arguments. For example: {'qualname': 'my_module.MyLogitsProcessor', 'args': [1, 2], 'kwargs': {'param': 'value'}}."
  2789. },
  2790. "return_tokens_as_token_ids": {
  2791. "anyOf": [
  2792. {
  2793. "type": "boolean"
  2794. },
  2795. {
  2796. "type": "null"
  2797. }
  2798. ],
  2799. "title": "Return Tokens As Token Ids",
  2800. "description": "If specified with 'logprobs', tokens are represented as strings of the form 'token_id:{token_id}' so that tokens that are not JSON-encodable can be identified."
  2801. },
  2802. "return_token_ids": {
  2803. "anyOf": [
  2804. {
  2805. "type": "boolean"
  2806. },
  2807. {
  2808. "type": "null"
  2809. }
  2810. ],
  2811. "title": "Return Token Ids",
  2812. "description": "If specified, the result will include token IDs alongside the generated text. In streaming mode, prompt_token_ids is included only in the first chunk, and token_ids contains the delta tokens for each chunk. This is useful for debugging or when you need to map generated text back to input tokens."
  2813. },
  2814. "cache_salt": {
  2815. "anyOf": [
  2816. {
  2817. "type": "string"
  2818. },
  2819. {
  2820. "type": "null"
  2821. }
  2822. ],
  2823. "title": "Cache Salt",
  2824. "description": "If specified, the prefix cache will be salted with the provided string to prevent an attacker to guess prompts in multi-user environments. The salt should be random, protected from access by 3rd parties, and long enough to be unpredictable (e.g., 43 characters base64-encoded, corresponding to 256 bit). Not supported by vLLM engine V0."
  2825. },
  2826. "kv_transfer_params": {
  2827. "anyOf": [
  2828. {
  2829. "additionalProperties": true,
  2830. "type": "object"
  2831. },
  2832. {
  2833. "type": "null"
  2834. }
  2835. ],
  2836. "title": "Kv Transfer Params",
  2837. "description": "KVTransfer parameters used for disaggregated serving."
  2838. },
  2839. "vllm_xargs": {
  2840. "anyOf": [
  2841. {
  2842. "additionalProperties": {
  2843. "anyOf": [
  2844. {
  2845. "type": "string"
  2846. },
  2847. {
  2848. "type": "integer"
  2849. },
  2850. {
  2851. "type": "number"
  2852. }
  2853. ]
  2854. },
  2855. "type": "object"
  2856. },
  2857. {
  2858. "type": "null"
  2859. }
  2860. ],
  2861. "title": "Vllm Xargs",
  2862. "description": "Additional request parameters with string or numeric values, used by custom extensions."
  2863. }
  2864. },
  2865. "additionalProperties": true,
  2866. "type": "object",
  2867. "required": [
  2868. "messages"
  2869. ],
  2870. "title": "ChatCompletionRequest"
  2871. },
  2872. "ChatCompletionSystemMessageParam": {
  2873. "properties": {
  2874. "content": {
  2875. "anyOf": [
  2876. {
  2877. "type": "string"
  2878. },
  2879. {
  2880. "items": {
  2881. "$ref": "#/components/schemas/ChatCompletionContentPartTextParam"
  2882. },
  2883. "type": "array"
  2884. }
  2885. ],
  2886. "title": "Content"
  2887. },
  2888. "role": {
  2889. "type": "string",
  2890. "const": "system",
  2891. "title": "Role"
  2892. },
  2893. "name": {
  2894. "type": "string",
  2895. "title": "Name"
  2896. }
  2897. },
  2898. "type": "object",
  2899. "required": [
  2900. "content",
  2901. "role"
  2902. ],
  2903. "title": "ChatCompletionSystemMessageParam"
  2904. },
  2905. "ChatCompletionToolMessageParam": {
  2906. "properties": {
  2907. "content": {
  2908. "anyOf": [
  2909. {
  2910. "type": "string"
  2911. },
  2912. {
  2913. "items": {
  2914. "$ref": "#/components/schemas/ChatCompletionContentPartTextParam"
  2915. },
  2916. "type": "array"
  2917. }
  2918. ],
  2919. "title": "Content"
  2920. },
  2921. "role": {
  2922. "type": "string",
  2923. "const": "tool",
  2924. "title": "Role"
  2925. },
  2926. "tool_call_id": {
  2927. "type": "string",
  2928. "title": "Tool Call Id"
  2929. }
  2930. },
  2931. "type": "object",
  2932. "required": [
  2933. "content",
  2934. "role",
  2935. "tool_call_id"
  2936. ],
  2937. "title": "ChatCompletionToolMessageParam"
  2938. },
  2939. "ChatCompletionToolsParam": {
  2940. "properties": {
  2941. "type": {
  2942. "type": "string",
  2943. "const": "function",
  2944. "title": "Type",
  2945. "default": "function"
  2946. },
  2947. "function": {
  2948. "$ref": "#/components/schemas/FunctionDefinition"
  2949. }
  2950. },
  2951. "additionalProperties": true,
  2952. "type": "object",
  2953. "required": [
  2954. "function"
  2955. ],
  2956. "title": "ChatCompletionToolsParam"
  2957. },
  2958. "ChatCompletionUserMessageParam": {
  2959. "properties": {
  2960. "content": {
  2961. "anyOf": [
  2962. {
  2963. "type": "string"
  2964. },
  2965. {
  2966. "items": {
  2967. "anyOf": [
  2968. {
  2969. "$ref": "#/components/schemas/ChatCompletionContentPartTextParam"
  2970. },
  2971. {
  2972. "$ref": "#/components/schemas/ChatCompletionContentPartImageParam"
  2973. },
  2974. {
  2975. "$ref": "#/components/schemas/ChatCompletionContentPartInputAudioParam"
  2976. },
  2977. {
  2978. "$ref": "#/components/schemas/File"
  2979. }
  2980. ]
  2981. },
  2982. "type": "array"
  2983. }
  2984. ],
  2985. "title": "Content"
  2986. },
  2987. "role": {
  2988. "type": "string",
  2989. "const": "user",
  2990. "title": "Role"
  2991. },
  2992. "name": {
  2993. "type": "string",
  2994. "title": "Name"
  2995. }
  2996. },
  2997. "type": "object",
  2998. "required": [
  2999. "content",
  3000. "role"
  3001. ],
  3002. "title": "ChatCompletionUserMessageParam"
  3003. },
  3004. "ClassificationRequest": {
  3005. "properties": {
  3006. "model": {
  3007. "anyOf": [
  3008. {
  3009. "type": "string"
  3010. },
  3011. {
  3012. "type": "null"
  3013. }
  3014. ],
  3015. "title": "Model"
  3016. },
  3017. "input": {
  3018. "anyOf": [
  3019. {
  3020. "items": {
  3021. "type": "string"
  3022. },
  3023. "type": "array"
  3024. },
  3025. {
  3026. "type": "string"
  3027. }
  3028. ],
  3029. "title": "Input"
  3030. },
  3031. "truncate_prompt_tokens": {
  3032. "anyOf": [
  3033. {
  3034. "type": "integer"
  3035. },
  3036. {
  3037. "type": "null"
  3038. }
  3039. ],
  3040. "title": "Truncate Prompt Tokens"
  3041. },
  3042. "user": {
  3043. "anyOf": [
  3044. {
  3045. "type": "string"
  3046. },
  3047. {
  3048. "type": "null"
  3049. }
  3050. ],
  3051. "title": "User"
  3052. },
  3053. "priority": {
  3054. "type": "integer",
  3055. "title": "Priority",
  3056. "description": "The priority of the request (lower means earlier handling; default: 0). Any priority other than 0 will raise an error if the served model does not use priority scheduling.",
  3057. "default": 0
  3058. },
  3059. "activation": {
  3060. "anyOf": [
  3061. {
  3062. "type": "boolean"
  3063. },
  3064. {
  3065. "type": "null"
  3066. }
  3067. ],
  3068. "title": "Activation"
  3069. }
  3070. },
  3071. "additionalProperties": true,
  3072. "type": "object",
  3073. "required": [
  3074. "input"
  3075. ],
  3076. "title": "ClassificationRequest"
  3077. },
  3078. "CodeInterpreter": {
  3079. "properties": {
  3080. "container": {
  3081. "anyOf": [
  3082. {
  3083. "type": "string"
  3084. },
  3085. {
  3086. "$ref": "#/components/schemas/CodeInterpreterContainerCodeInterpreterToolAuto"
  3087. }
  3088. ],
  3089. "title": "Container"
  3090. },
  3091. "type": {
  3092. "type": "string",
  3093. "const": "code_interpreter",
  3094. "title": "Type"
  3095. }
  3096. },
  3097. "additionalProperties": true,
  3098. "type": "object",
  3099. "required": [
  3100. "container",
  3101. "type"
  3102. ],
  3103. "title": "CodeInterpreter"
  3104. },
  3105. "CodeInterpreterContainerCodeInterpreterToolAuto": {
  3106. "properties": {
  3107. "type": {
  3108. "type": "string",
  3109. "const": "auto",
  3110. "title": "Type"
  3111. },
  3112. "file_ids": {
  3113. "anyOf": [
  3114. {
  3115. "items": {
  3116. "type": "string"
  3117. },
  3118. "type": "array"
  3119. },
  3120. {
  3121. "type": "null"
  3122. }
  3123. ],
  3124. "title": "File Ids"
  3125. }
  3126. },
  3127. "additionalProperties": true,
  3128. "type": "object",
  3129. "required": [
  3130. "type"
  3131. ],
  3132. "title": "CodeInterpreterContainerCodeInterpreterToolAuto"
  3133. },
  3134. "ComparisonFilter": {
  3135. "properties": {
  3136. "key": {
  3137. "type": "string",
  3138. "title": "Key"
  3139. },
  3140. "type": {
  3141. "type": "string",
  3142. "enum": [
  3143. "eq",
  3144. "ne",
  3145. "gt",
  3146. "gte",
  3147. "lt",
  3148. "lte"
  3149. ],
  3150. "title": "Type"
  3151. },
  3152. "value": {
  3153. "anyOf": [
  3154. {
  3155. "type": "string"
  3156. },
  3157. {
  3158. "type": "number"
  3159. },
  3160. {
  3161. "type": "boolean"
  3162. }
  3163. ],
  3164. "title": "Value"
  3165. }
  3166. },
  3167. "additionalProperties": true,
  3168. "type": "object",
  3169. "required": [
  3170. "key",
  3171. "type",
  3172. "value"
  3173. ],
  3174. "title": "ComparisonFilter"
  3175. },
  3176. "CompletionRequest": {
  3177. "properties": {
  3178. "model": {
  3179. "anyOf": [
  3180. {
  3181. "type": "string"
  3182. },
  3183. {
  3184. "type": "null"
  3185. }
  3186. ],
  3187. "title": "Model"
  3188. },
  3189. "prompt": {
  3190. "anyOf": [
  3191. {
  3192. "items": {
  3193. "type": "integer"
  3194. },
  3195. "type": "array"
  3196. },
  3197. {
  3198. "items": {
  3199. "items": {
  3200. "type": "integer"
  3201. },
  3202. "type": "array"
  3203. },
  3204. "type": "array"
  3205. },
  3206. {
  3207. "type": "string"
  3208. },
  3209. {
  3210. "items": {
  3211. "type": "string"
  3212. },
  3213. "type": "array"
  3214. },
  3215. {
  3216. "type": "null"
  3217. }
  3218. ],
  3219. "title": "Prompt"
  3220. },
  3221. "best_of": {
  3222. "anyOf": [
  3223. {
  3224. "type": "integer"
  3225. },
  3226. {
  3227. "type": "null"
  3228. }
  3229. ],
  3230. "title": "Best Of"
  3231. },
  3232. "echo": {
  3233. "anyOf": [
  3234. {
  3235. "type": "boolean"
  3236. },
  3237. {
  3238. "type": "null"
  3239. }
  3240. ],
  3241. "title": "Echo",
  3242. "default": false
  3243. },
  3244. "frequency_penalty": {
  3245. "anyOf": [
  3246. {
  3247. "type": "number"
  3248. },
  3249. {
  3250. "type": "null"
  3251. }
  3252. ],
  3253. "title": "Frequency Penalty",
  3254. "default": 0
  3255. },
  3256. "logit_bias": {
  3257. "anyOf": [
  3258. {
  3259. "additionalProperties": {
  3260. "type": "number"
  3261. },
  3262. "type": "object"
  3263. },
  3264. {
  3265. "type": "null"
  3266. }
  3267. ],
  3268. "title": "Logit Bias"
  3269. },
  3270. "logprobs": {
  3271. "anyOf": [
  3272. {
  3273. "type": "integer"
  3274. },
  3275. {
  3276. "type": "null"
  3277. }
  3278. ],
  3279. "title": "Logprobs"
  3280. },
  3281. "max_tokens": {
  3282. "anyOf": [
  3283. {
  3284. "type": "integer"
  3285. },
  3286. {
  3287. "type": "null"
  3288. }
  3289. ],
  3290. "title": "Max Tokens",
  3291. "default": 16
  3292. },
  3293. "n": {
  3294. "type": "integer",
  3295. "title": "N",
  3296. "default": 1
  3297. },
  3298. "presence_penalty": {
  3299. "anyOf": [
  3300. {
  3301. "type": "number"
  3302. },
  3303. {
  3304. "type": "null"
  3305. }
  3306. ],
  3307. "title": "Presence Penalty",
  3308. "default": 0
  3309. },
  3310. "seed": {
  3311. "anyOf": [
  3312. {
  3313. "type": "integer",
  3314. "maximum": "9.223372036854776e+18",
  3315. "minimum": -9223372036854776000
  3316. },
  3317. {
  3318. "type": "null"
  3319. }
  3320. ],
  3321. "title": "Seed"
  3322. },
  3323. "stop": {
  3324. "anyOf": [
  3325. {
  3326. "type": "string"
  3327. },
  3328. {
  3329. "items": {
  3330. "type": "string"
  3331. },
  3332. "type": "array"
  3333. },
  3334. {
  3335. "type": "null"
  3336. }
  3337. ],
  3338. "title": "Stop",
  3339. "default": []
  3340. },
  3341. "stream": {
  3342. "anyOf": [
  3343. {
  3344. "type": "boolean"
  3345. },
  3346. {
  3347. "type": "null"
  3348. }
  3349. ],
  3350. "title": "Stream",
  3351. "default": false
  3352. },
  3353. "stream_options": {
  3354. "anyOf": [
  3355. {
  3356. "$ref": "#/components/schemas/StreamOptions"
  3357. },
  3358. {
  3359. "type": "null"
  3360. }
  3361. ]
  3362. },
  3363. "suffix": {
  3364. "anyOf": [
  3365. {
  3366. "type": "string"
  3367. },
  3368. {
  3369. "type": "null"
  3370. }
  3371. ],
  3372. "title": "Suffix"
  3373. },
  3374. "temperature": {
  3375. "anyOf": [
  3376. {
  3377. "type": "number"
  3378. },
  3379. {
  3380. "type": "null"
  3381. }
  3382. ],
  3383. "title": "Temperature"
  3384. },
  3385. "top_p": {
  3386. "anyOf": [
  3387. {
  3388. "type": "number"
  3389. },
  3390. {
  3391. "type": "null"
  3392. }
  3393. ],
  3394. "title": "Top P"
  3395. },
  3396. "user": {
  3397. "anyOf": [
  3398. {
  3399. "type": "string"
  3400. },
  3401. {
  3402. "type": "null"
  3403. }
  3404. ],
  3405. "title": "User"
  3406. },
  3407. "use_beam_search": {
  3408. "type": "boolean",
  3409. "title": "Use Beam Search",
  3410. "default": false
  3411. },
  3412. "top_k": {
  3413. "anyOf": [
  3414. {
  3415. "type": "integer"
  3416. },
  3417. {
  3418. "type": "null"
  3419. }
  3420. ],
  3421. "title": "Top K"
  3422. },
  3423. "min_p": {
  3424. "anyOf": [
  3425. {
  3426. "type": "number"
  3427. },
  3428. {
  3429. "type": "null"
  3430. }
  3431. ],
  3432. "title": "Min P"
  3433. },
  3434. "repetition_penalty": {
  3435. "anyOf": [
  3436. {
  3437. "type": "number"
  3438. },
  3439. {
  3440. "type": "null"
  3441. }
  3442. ],
  3443. "title": "Repetition Penalty"
  3444. },
  3445. "length_penalty": {
  3446. "type": "number",
  3447. "title": "Length Penalty",
  3448. "default": 1
  3449. },
  3450. "stop_token_ids": {
  3451. "anyOf": [
  3452. {
  3453. "items": {
  3454. "type": "integer"
  3455. },
  3456. "type": "array"
  3457. },
  3458. {
  3459. "type": "null"
  3460. }
  3461. ],
  3462. "title": "Stop Token Ids",
  3463. "default": []
  3464. },
  3465. "include_stop_str_in_output": {
  3466. "type": "boolean",
  3467. "title": "Include Stop Str In Output",
  3468. "default": false
  3469. },
  3470. "ignore_eos": {
  3471. "type": "boolean",
  3472. "title": "Ignore Eos",
  3473. "default": false
  3474. },
  3475. "min_tokens": {
  3476. "type": "integer",
  3477. "title": "Min Tokens",
  3478. "default": 0
  3479. },
  3480. "skip_special_tokens": {
  3481. "type": "boolean",
  3482. "title": "Skip Special Tokens",
  3483. "default": true
  3484. },
  3485. "spaces_between_special_tokens": {
  3486. "type": "boolean",
  3487. "title": "Spaces Between Special Tokens",
  3488. "default": true
  3489. },
  3490. "truncate_prompt_tokens": {
  3491. "anyOf": [
  3492. {
  3493. "type": "integer",
  3494. "minimum": -1
  3495. },
  3496. {
  3497. "type": "null"
  3498. }
  3499. ],
  3500. "title": "Truncate Prompt Tokens"
  3501. },
  3502. "allowed_token_ids": {
  3503. "anyOf": [
  3504. {
  3505. "items": {
  3506. "type": "integer"
  3507. },
  3508. "type": "array"
  3509. },
  3510. {
  3511. "type": "null"
  3512. }
  3513. ],
  3514. "title": "Allowed Token Ids"
  3515. },
  3516. "prompt_logprobs": {
  3517. "anyOf": [
  3518. {
  3519. "type": "integer"
  3520. },
  3521. {
  3522. "type": "null"
  3523. }
  3524. ],
  3525. "title": "Prompt Logprobs"
  3526. },
  3527. "prompt_embeds": {
  3528. "anyOf": [
  3529. {
  3530. "type": "string",
  3531. "format": "binary"
  3532. },
  3533. {
  3534. "items": {
  3535. "type": "string",
  3536. "format": "binary"
  3537. },
  3538. "type": "array"
  3539. },
  3540. {
  3541. "type": "null"
  3542. }
  3543. ],
  3544. "title": "Prompt Embeds"
  3545. },
  3546. "add_special_tokens": {
  3547. "type": "boolean",
  3548. "title": "Add Special Tokens",
  3549. "description": "If true (the default), special tokens (e.g. BOS) will be added to the prompt.",
  3550. "default": true
  3551. },
  3552. "response_format": {
  3553. "anyOf": [
  3554. {
  3555. "$ref": "#/components/schemas/ResponseFormat"
  3556. },
  3557. {
  3558. "$ref": "#/components/schemas/StructuralTagResponseFormat"
  3559. },
  3560. {
  3561. "type": "null"
  3562. }
  3563. ],
  3564. "title": "Response Format",
  3565. "description": "Similar to chat completion, this parameter specifies the format of output. Only {'type': 'json_object'}, {'type': 'json_schema'}, {'type': 'structural_tag'}, or {'type': 'text' } is supported."
  3566. },
  3567. "structured_outputs": {
  3568. "anyOf": [
  3569. {
  3570. "$ref": "#/components/schemas/StructuredOutputsParams"
  3571. },
  3572. {
  3573. "type": "null"
  3574. }
  3575. ],
  3576. "description": "Additional kwargs for structured outputs"
  3577. },
  3578. "guided_json": {
  3579. "anyOf": [
  3580. {
  3581. "type": "string"
  3582. },
  3583. {
  3584. "additionalProperties": true,
  3585. "type": "object"
  3586. },
  3587. {
  3588. "$ref": "#/components/schemas/BaseModel"
  3589. },
  3590. {
  3591. "type": "null"
  3592. }
  3593. ],
  3594. "title": "Guided Json",
  3595. "description": "`guided_json` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `json` to `structured_outputs` instead."
  3596. },
  3597. "guided_regex": {
  3598. "anyOf": [
  3599. {
  3600. "type": "string"
  3601. },
  3602. {
  3603. "type": "null"
  3604. }
  3605. ],
  3606. "title": "Guided Regex",
  3607. "description": "`guided_regex` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `regex` to `structured_outputs` instead."
  3608. },
  3609. "guided_choice": {
  3610. "anyOf": [
  3611. {
  3612. "items": {
  3613. "type": "string"
  3614. },
  3615. "type": "array"
  3616. },
  3617. {
  3618. "type": "null"
  3619. }
  3620. ],
  3621. "title": "Guided Choice",
  3622. "description": "`guided_choice` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `choice` to `structured_outputs` instead."
  3623. },
  3624. "guided_grammar": {
  3625. "anyOf": [
  3626. {
  3627. "type": "string"
  3628. },
  3629. {
  3630. "type": "null"
  3631. }
  3632. ],
  3633. "title": "Guided Grammar",
  3634. "description": "`guided_grammar` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `grammar` to `structured_outputs` instead."
  3635. },
  3636. "guided_decoding_backend": {
  3637. "anyOf": [
  3638. {
  3639. "type": "string"
  3640. },
  3641. {
  3642. "type": "null"
  3643. }
  3644. ],
  3645. "title": "Guided Decoding Backend",
  3646. "description": "`guided_decoding_backend` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please remove it from your request."
  3647. },
  3648. "guided_whitespace_pattern": {
  3649. "anyOf": [
  3650. {
  3651. "type": "string"
  3652. },
  3653. {
  3654. "type": "null"
  3655. }
  3656. ],
  3657. "title": "Guided Whitespace Pattern",
  3658. "description": "`guided_whitespace_pattern` is deprecated. This will be removed in v0.12.0 or v1.0.0, whichever is soonest. Please pass `whitespace_pattern` to `structured_outputs` instead."
  3659. },
  3660. "priority": {
  3661. "type": "integer",
  3662. "title": "Priority",
  3663. "description": "The priority of the request (lower means earlier handling; default: 0). Any priority other than 0 will raise an error if the served model does not use priority scheduling.",
  3664. "default": 0
  3665. },
  3666. "request_id": {
  3667. "type": "string",
  3668. "title": "Request Id",
  3669. "description": "The request_id related to this request. If the caller does not set it, a random_uuid will be generated. This id is used through out the inference process and return in response."
  3670. },
  3671. "logits_processors": {
  3672. "anyOf": [
  3673. {
  3674. "items": {
  3675. "anyOf": [
  3676. {
  3677. "type": "string"
  3678. },
  3679. {
  3680. "$ref": "#/components/schemas/LogitsProcessorConstructor"
  3681. }
  3682. ]
  3683. },
  3684. "type": "array"
  3685. },
  3686. {
  3687. "type": "null"
  3688. }
  3689. ],
  3690. "title": "Logits Processors",
  3691. "description": "A list of either qualified names of logits processors, or constructor objects, to apply when sampling. A constructor is a JSON object with a required 'qualname' field specifying the qualified name of the processor class/factory, and optional 'args' and 'kwargs' fields containing positional and keyword arguments. For example: {'qualname': 'my_module.MyLogitsProcessor', 'args': [1, 2], 'kwargs': {'param': 'value'}}."
  3692. },
  3693. "return_tokens_as_token_ids": {
  3694. "anyOf": [
  3695. {
  3696. "type": "boolean"
  3697. },
  3698. {
  3699. "type": "null"
  3700. }
  3701. ],
  3702. "title": "Return Tokens As Token Ids",
  3703. "description": "If specified with 'logprobs', tokens are represented as strings of the form 'token_id:{token_id}' so that tokens that are not JSON-encodable can be identified."
  3704. },
  3705. "return_token_ids": {
  3706. "anyOf": [
  3707. {
  3708. "type": "boolean"
  3709. },
  3710. {
  3711. "type": "null"
  3712. }
  3713. ],
  3714. "title": "Return Token Ids",
  3715. "description": "If specified, the result will include token IDs alongside the generated text. In streaming mode, prompt_token_ids is included only in the first chunk, and token_ids contains the delta tokens for each chunk. This is useful for debugging or when you need to map generated text back to input tokens."
  3716. },
  3717. "cache_salt": {
  3718. "anyOf": [
  3719. {
  3720. "type": "string"
  3721. },
  3722. {
  3723. "type": "null"
  3724. }
  3725. ],
  3726. "title": "Cache Salt",
  3727. "description": "If specified, the prefix cache will be salted with the provided string to prevent an attacker to guess prompts in multi-user environments. The salt should be random, protected from access by 3rd parties, and long enough to be unpredictable (e.g., 43 characters base64-encoded, corresponding to 256 bit). Not supported by vLLM engine V0."
  3728. },
  3729. "kv_transfer_params": {
  3730. "anyOf": [
  3731. {
  3732. "additionalProperties": true,
  3733. "type": "object"
  3734. },
  3735. {
  3736. "type": "null"
  3737. }
  3738. ],
  3739. "title": "Kv Transfer Params",
  3740. "description": "KVTransfer parameters used for disaggregated serving."
  3741. },
  3742. "vllm_xargs": {
  3743. "anyOf": [
  3744. {
  3745. "additionalProperties": {
  3746. "anyOf": [
  3747. {
  3748. "type": "string"
  3749. },
  3750. {
  3751. "type": "integer"
  3752. },
  3753. {
  3754. "type": "number"
  3755. }
  3756. ]
  3757. },
  3758. "type": "object"
  3759. },
  3760. {
  3761. "type": "null"
  3762. }
  3763. ],
  3764. "title": "Vllm Xargs",
  3765. "description": "Additional request parameters with string or numeric values, used by custom extensions."
  3766. }
  3767. },
  3768. "additionalProperties": true,
  3769. "type": "object",
  3770. "title": "CompletionRequest"
  3771. },
  3772. "CompoundFilter": {
  3773. "properties": {
  3774. "filters": {
  3775. "items": {
  3776. "anyOf": [
  3777. {
  3778. "$ref": "#/components/schemas/ComparisonFilter"
  3779. },
  3780. {}
  3781. ]
  3782. },
  3783. "type": "array",
  3784. "title": "Filters"
  3785. },
  3786. "type": {
  3787. "type": "string",
  3788. "enum": [
  3789. "and",
  3790. "or"
  3791. ],
  3792. "title": "Type"
  3793. }
  3794. },
  3795. "additionalProperties": true,
  3796. "type": "object",
  3797. "required": [
  3798. "filters",
  3799. "type"
  3800. ],
  3801. "title": "CompoundFilter"
  3802. },
  3803. "ComputerCallOutput": {
  3804. "properties": {
  3805. "call_id": {
  3806. "type": "string",
  3807. "title": "Call Id"
  3808. },
  3809. "output": {
  3810. "$ref": "#/components/schemas/ResponseComputerToolCallOutputScreenshotParam"
  3811. },
  3812. "type": {
  3813. "type": "string",
  3814. "const": "computer_call_output",
  3815. "title": "Type"
  3816. },
  3817. "id": {
  3818. "anyOf": [
  3819. {
  3820. "type": "string"
  3821. },
  3822. {
  3823. "type": "null"
  3824. }
  3825. ],
  3826. "title": "Id"
  3827. },
  3828. "acknowledged_safety_checks": {
  3829. "anyOf": [
  3830. {
  3831. "items": {
  3832. "$ref": "#/components/schemas/ComputerCallOutputAcknowledgedSafetyCheck"
  3833. },
  3834. "type": "array"
  3835. },
  3836. {
  3837. "type": "null"
  3838. }
  3839. ],
  3840. "title": "Acknowledged Safety Checks"
  3841. },
  3842. "status": {
  3843. "anyOf": [
  3844. {
  3845. "type": "string",
  3846. "enum": [
  3847. "in_progress",
  3848. "completed",
  3849. "incomplete"
  3850. ]
  3851. },
  3852. {
  3853. "type": "null"
  3854. }
  3855. ],
  3856. "title": "Status"
  3857. }
  3858. },
  3859. "type": "object",
  3860. "required": [
  3861. "call_id",
  3862. "output",
  3863. "type"
  3864. ],
  3865. "title": "ComputerCallOutput"
  3866. },
  3867. "ComputerCallOutputAcknowledgedSafetyCheck": {
  3868. "properties": {
  3869. "id": {
  3870. "type": "string",
  3871. "title": "Id"
  3872. },
  3873. "code": {
  3874. "anyOf": [
  3875. {
  3876. "type": "string"
  3877. },
  3878. {
  3879. "type": "null"
  3880. }
  3881. ],
  3882. "title": "Code"
  3883. },
  3884. "message": {
  3885. "anyOf": [
  3886. {
  3887. "type": "string"
  3888. },
  3889. {
  3890. "type": "null"
  3891. }
  3892. ],
  3893. "title": "Message"
  3894. }
  3895. },
  3896. "type": "object",
  3897. "required": [
  3898. "id"
  3899. ],
  3900. "title": "ComputerCallOutputAcknowledgedSafetyCheck"
  3901. },
  3902. "ComputerTool": {
  3903. "properties": {
  3904. "display_height": {
  3905. "type": "integer",
  3906. "title": "Display Height"
  3907. },
  3908. "display_width": {
  3909. "type": "integer",
  3910. "title": "Display Width"
  3911. },
  3912. "environment": {
  3913. "type": "string",
  3914. "enum": [
  3915. "windows",
  3916. "mac",
  3917. "linux",
  3918. "ubuntu",
  3919. "browser"
  3920. ],
  3921. "title": "Environment"
  3922. },
  3923. "type": {
  3924. "type": "string",
  3925. "const": "computer_use_preview",
  3926. "title": "Type"
  3927. }
  3928. },
  3929. "additionalProperties": true,
  3930. "type": "object",
  3931. "required": [
  3932. "display_height",
  3933. "display_width",
  3934. "environment",
  3935. "type"
  3936. ],
  3937. "title": "ComputerTool"
  3938. },
  3939. "Custom": {
  3940. "properties": {
  3941. "input": {
  3942. "type": "string",
  3943. "title": "Input"
  3944. },
  3945. "name": {
  3946. "type": "string",
  3947. "title": "Name"
  3948. }
  3949. },
  3950. "type": "object",
  3951. "required": [
  3952. "input",
  3953. "name"
  3954. ],
  3955. "title": "Custom"
  3956. },
  3957. "CustomChatCompletionContentSimpleAudioParam": {
  3958. "properties": {
  3959. "audio_url": {
  3960. "anyOf": [
  3961. {
  3962. "type": "string"
  3963. },
  3964. {
  3965. "type": "null"
  3966. }
  3967. ],
  3968. "title": "Audio Url"
  3969. }
  3970. },
  3971. "type": "object",
  3972. "title": "CustomChatCompletionContentSimpleAudioParam",
  3973. "description": "A simpler version of the param that only accepts a plain audio_url.\n\nExample:\n{\n \"audio_url\": \"https://example.com/audio.mp3\"\n}"
  3974. },
  3975. "CustomChatCompletionContentSimpleImageParam": {
  3976. "properties": {
  3977. "image_url": {
  3978. "anyOf": [
  3979. {
  3980. "type": "string"
  3981. },
  3982. {
  3983. "type": "null"
  3984. }
  3985. ],
  3986. "title": "Image Url"
  3987. },
  3988. "uuid": {
  3989. "anyOf": [
  3990. {
  3991. "type": "string"
  3992. },
  3993. {
  3994. "type": "null"
  3995. }
  3996. ],
  3997. "title": "Uuid"
  3998. }
  3999. },
  4000. "type": "object",
  4001. "title": "CustomChatCompletionContentSimpleImageParam",
  4002. "description": "A simpler version of the param that only accepts a plain image_url.\nThis is supported by OpenAI API, although it is not documented.\n\nExample:\n{\n \"image_url\": \"https://example.com/image.jpg\"\n}"
  4003. },
  4004. "CustomChatCompletionContentSimpleVideoParam": {
  4005. "properties": {
  4006. "video_url": {
  4007. "anyOf": [
  4008. {
  4009. "type": "string"
  4010. },
  4011. {
  4012. "type": "null"
  4013. }
  4014. ],
  4015. "title": "Video Url"
  4016. },
  4017. "uuid": {
  4018. "anyOf": [
  4019. {
  4020. "type": "string"
  4021. },
  4022. {
  4023. "type": "null"
  4024. }
  4025. ],
  4026. "title": "Uuid"
  4027. }
  4028. },
  4029. "type": "object",
  4030. "title": "CustomChatCompletionContentSimpleVideoParam",
  4031. "description": "A simpler version of the param that only accepts a plain audio_url.\n\nExample:\n{\n \"video_url\": \"https://example.com/video.mp4\"\n}"
  4032. },
  4033. "CustomChatCompletionMessageParam": {
  4034. "properties": {
  4035. "role": {
  4036. "type": "string",
  4037. "title": "Role"
  4038. },
  4039. "content": {
  4040. "anyOf": [
  4041. {
  4042. "type": "string"
  4043. },
  4044. {
  4045. "items": {
  4046. "anyOf": [
  4047. {
  4048. "$ref": "#/components/schemas/ChatCompletionContentPartTextParam"
  4049. },
  4050. {
  4051. "$ref": "#/components/schemas/ChatCompletionContentPartImageParam"
  4052. },
  4053. {
  4054. "$ref": "#/components/schemas/ChatCompletionContentPartInputAudioParam"
  4055. },
  4056. {
  4057. "$ref": "#/components/schemas/File"
  4058. },
  4059. {
  4060. "$ref": "#/components/schemas/ChatCompletionContentPartAudioParam"
  4061. },
  4062. {
  4063. "$ref": "#/components/schemas/ChatCompletionContentPartVideoParam"
  4064. },
  4065. {
  4066. "$ref": "#/components/schemas/ChatCompletionContentPartRefusalParam"
  4067. },
  4068. {
  4069. "$ref": "#/components/schemas/CustomChatCompletionContentSimpleImageParam"
  4070. },
  4071. {
  4072. "$ref": "#/components/schemas/ChatCompletionContentPartImageEmbedsParam"
  4073. },
  4074. {
  4075. "$ref": "#/components/schemas/CustomChatCompletionContentSimpleAudioParam"
  4076. },
  4077. {
  4078. "$ref": "#/components/schemas/CustomChatCompletionContentSimpleVideoParam"
  4079. },
  4080. {
  4081. "type": "string"
  4082. },
  4083. {
  4084. "$ref": "#/components/schemas/CustomThinkCompletionContentParam"
  4085. }
  4086. ]
  4087. },
  4088. "type": "array"
  4089. }
  4090. ],
  4091. "title": "Content"
  4092. },
  4093. "name": {
  4094. "type": "string",
  4095. "title": "Name"
  4096. },
  4097. "tool_call_id": {
  4098. "anyOf": [
  4099. {
  4100. "type": "string"
  4101. },
  4102. {
  4103. "type": "null"
  4104. }
  4105. ],
  4106. "title": "Tool Call Id"
  4107. },
  4108. "tool_calls": {
  4109. "anyOf": [
  4110. {
  4111. "items": {
  4112. "$ref": "#/components/schemas/ChatCompletionMessageFunctionToolCallParam"
  4113. },
  4114. "type": "array"
  4115. },
  4116. {
  4117. "type": "null"
  4118. }
  4119. ],
  4120. "title": "Tool Calls"
  4121. }
  4122. },
  4123. "type": "object",
  4124. "required": [
  4125. "role"
  4126. ],
  4127. "title": "CustomChatCompletionMessageParam",
  4128. "description": "Enables custom roles in the Chat Completion API."
  4129. },
  4130. "CustomThinkCompletionContentParam": {
  4131. "properties": {
  4132. "thinking": {
  4133. "type": "string",
  4134. "title": "Thinking"
  4135. },
  4136. "closed": {
  4137. "type": "boolean",
  4138. "title": "Closed"
  4139. },
  4140. "type": {
  4141. "type": "string",
  4142. "const": "thinking",
  4143. "title": "Type"
  4144. }
  4145. },
  4146. "type": "object",
  4147. "required": [
  4148. "thinking",
  4149. "type"
  4150. ],
  4151. "title": "CustomThinkCompletionContentParam",
  4152. "description": "A Think Completion Content Param that accepts a plain text and a boolean.\n\nExample:\n{\n \"thinking\": \"I am thinking about the answer\",\n \"closed\": True,\n \"type\": \"thinking\"\n}"
  4153. },
  4154. "CustomTool": {
  4155. "properties": {
  4156. "name": {
  4157. "type": "string",
  4158. "title": "Name"
  4159. },
  4160. "type": {
  4161. "type": "string",
  4162. "const": "custom",
  4163. "title": "Type"
  4164. },
  4165. "description": {
  4166. "anyOf": [
  4167. {
  4168. "type": "string"
  4169. },
  4170. {
  4171. "type": "null"
  4172. }
  4173. ],
  4174. "title": "Description"
  4175. },
  4176. "format": {
  4177. "anyOf": [
  4178. {
  4179. "$ref": "#/components/schemas/Text"
  4180. },
  4181. {
  4182. "$ref": "#/components/schemas/Grammar"
  4183. },
  4184. {
  4185. "type": "null"
  4186. }
  4187. ],
  4188. "title": "Format"
  4189. }
  4190. },
  4191. "additionalProperties": true,
  4192. "type": "object",
  4193. "required": [
  4194. "name",
  4195. "type"
  4196. ],
  4197. "title": "CustomTool"
  4198. },
  4199. "DetokenizeRequest": {
  4200. "properties": {
  4201. "model": {
  4202. "anyOf": [
  4203. {
  4204. "type": "string"
  4205. },
  4206. {
  4207. "type": "null"
  4208. }
  4209. ],
  4210. "title": "Model"
  4211. },
  4212. "tokens": {
  4213. "items": {
  4214. "type": "integer"
  4215. },
  4216. "type": "array",
  4217. "title": "Tokens"
  4218. }
  4219. },
  4220. "additionalProperties": true,
  4221. "type": "object",
  4222. "required": [
  4223. "tokens"
  4224. ],
  4225. "title": "DetokenizeRequest"
  4226. },
  4227. "EasyInputMessageParam": {
  4228. "properties": {
  4229. "content": {
  4230. "anyOf": [
  4231. {
  4232. "type": "string"
  4233. },
  4234. {
  4235. "items": {
  4236. "anyOf": [
  4237. {
  4238. "$ref": "#/components/schemas/ResponseInputTextParam"
  4239. },
  4240. {
  4241. "$ref": "#/components/schemas/ResponseInputImageParam"
  4242. },
  4243. {
  4244. "$ref": "#/components/schemas/ResponseInputFileParam"
  4245. },
  4246. {
  4247. "$ref": "#/components/schemas/ResponseInputAudioParam"
  4248. }
  4249. ]
  4250. },
  4251. "type": "array"
  4252. }
  4253. ],
  4254. "title": "Content"
  4255. },
  4256. "role": {
  4257. "type": "string",
  4258. "enum": [
  4259. "user",
  4260. "assistant",
  4261. "system",
  4262. "developer"
  4263. ],
  4264. "title": "Role"
  4265. },
  4266. "type": {
  4267. "type": "string",
  4268. "const": "message",
  4269. "title": "Type"
  4270. }
  4271. },
  4272. "type": "object",
  4273. "required": [
  4274. "content",
  4275. "role"
  4276. ],
  4277. "title": "EasyInputMessageParam"
  4278. },
  4279. "EmbeddingChatRequest": {
  4280. "properties": {
  4281. "model": {
  4282. "anyOf": [
  4283. {
  4284. "type": "string"
  4285. },
  4286. {
  4287. "type": "null"
  4288. }
  4289. ],
  4290. "title": "Model"
  4291. },
  4292. "messages": {
  4293. "items": {
  4294. "anyOf": [
  4295. {
  4296. "$ref": "#/components/schemas/ChatCompletionDeveloperMessageParam"
  4297. },
  4298. {
  4299. "$ref": "#/components/schemas/ChatCompletionSystemMessageParam"
  4300. },
  4301. {
  4302. "$ref": "#/components/schemas/ChatCompletionUserMessageParam"
  4303. },
  4304. {
  4305. "$ref": "#/components/schemas/ChatCompletionAssistantMessageParam"
  4306. },
  4307. {
  4308. "$ref": "#/components/schemas/ChatCompletionToolMessageParam"
  4309. },
  4310. {
  4311. "$ref": "#/components/schemas/ChatCompletionFunctionMessageParam"
  4312. },
  4313. {
  4314. "$ref": "#/components/schemas/CustomChatCompletionMessageParam"
  4315. },
  4316. {
  4317. "$ref": "#/components/schemas/openai_harmony__Message"
  4318. }
  4319. ]
  4320. },
  4321. "type": "array",
  4322. "title": "Messages"
  4323. },
  4324. "encoding_format": {
  4325. "type": "string",
  4326. "enum": [
  4327. "float",
  4328. "base64"
  4329. ],
  4330. "title": "Encoding Format",
  4331. "default": "float"
  4332. },
  4333. "dimensions": {
  4334. "anyOf": [
  4335. {
  4336. "type": "integer"
  4337. },
  4338. {
  4339. "type": "null"
  4340. }
  4341. ],
  4342. "title": "Dimensions"
  4343. },
  4344. "user": {
  4345. "anyOf": [
  4346. {
  4347. "type": "string"
  4348. },
  4349. {
  4350. "type": "null"
  4351. }
  4352. ],
  4353. "title": "User"
  4354. },
  4355. "truncate_prompt_tokens": {
  4356. "anyOf": [
  4357. {
  4358. "type": "integer",
  4359. "minimum": -1
  4360. },
  4361. {
  4362. "type": "null"
  4363. }
  4364. ],
  4365. "title": "Truncate Prompt Tokens"
  4366. },
  4367. "add_generation_prompt": {
  4368. "type": "boolean",
  4369. "title": "Add Generation Prompt",
  4370. "description": "If true, the generation prompt will be added to the chat template. This is a parameter used by chat template in tokenizer config of the model.",
  4371. "default": false
  4372. },
  4373. "add_special_tokens": {
  4374. "type": "boolean",
  4375. "title": "Add Special Tokens",
  4376. "description": "If true, special tokens (e.g. BOS) will be added to the prompt on top of what is added by the chat template. For most models, the chat template takes care of adding the special tokens so this should be set to false (as is the default).",
  4377. "default": false
  4378. },
  4379. "chat_template": {
  4380. "anyOf": [
  4381. {
  4382. "type": "string"
  4383. },
  4384. {
  4385. "type": "null"
  4386. }
  4387. ],
  4388. "title": "Chat Template",
  4389. "description": "A Jinja template to use for this conversion. As of transformers v4.44, default chat template is no longer allowed, so you must provide a chat template if the tokenizer does not define one."
  4390. },
  4391. "chat_template_kwargs": {
  4392. "anyOf": [
  4393. {
  4394. "additionalProperties": true,
  4395. "type": "object"
  4396. },
  4397. {
  4398. "type": "null"
  4399. }
  4400. ],
  4401. "title": "Chat Template Kwargs",
  4402. "description": "Additional keyword args to pass to the template renderer. Will be accessible by the chat template."
  4403. },
  4404. "mm_processor_kwargs": {
  4405. "anyOf": [
  4406. {
  4407. "additionalProperties": true,
  4408. "type": "object"
  4409. },
  4410. {
  4411. "type": "null"
  4412. }
  4413. ],
  4414. "title": "Mm Processor Kwargs",
  4415. "description": "Additional kwargs to pass to the HF processor."
  4416. },
  4417. "priority": {
  4418. "type": "integer",
  4419. "title": "Priority",
  4420. "description": "The priority of the request (lower means earlier handling; default: 0). Any priority other than 0 will raise an error if the served model does not use priority scheduling.",
  4421. "default": 0
  4422. },
  4423. "request_id": {
  4424. "type": "string",
  4425. "title": "Request Id",
  4426. "description": "The request_id related to this request. If the caller does not set it, a random_uuid will be generated. This id is used through out the inference process and return in response."
  4427. },
  4428. "normalize": {
  4429. "anyOf": [
  4430. {
  4431. "type": "boolean"
  4432. },
  4433. {
  4434. "type": "null"
  4435. }
  4436. ],
  4437. "title": "Normalize"
  4438. }
  4439. },
  4440. "additionalProperties": true,
  4441. "type": "object",
  4442. "required": [
  4443. "messages"
  4444. ],
  4445. "title": "EmbeddingChatRequest"
  4446. },
  4447. "EmbeddingCompletionRequest": {
  4448. "properties": {
  4449. "model": {
  4450. "anyOf": [
  4451. {
  4452. "type": "string"
  4453. },
  4454. {
  4455. "type": "null"
  4456. }
  4457. ],
  4458. "title": "Model"
  4459. },
  4460. "input": {
  4461. "anyOf": [
  4462. {
  4463. "items": {
  4464. "type": "integer"
  4465. },
  4466. "type": "array"
  4467. },
  4468. {
  4469. "items": {
  4470. "items": {
  4471. "type": "integer"
  4472. },
  4473. "type": "array"
  4474. },
  4475. "type": "array"
  4476. },
  4477. {
  4478. "type": "string"
  4479. },
  4480. {
  4481. "items": {
  4482. "type": "string"
  4483. },
  4484. "type": "array"
  4485. }
  4486. ],
  4487. "title": "Input"
  4488. },
  4489. "encoding_format": {
  4490. "type": "string",
  4491. "enum": [
  4492. "float",
  4493. "base64"
  4494. ],
  4495. "title": "Encoding Format",
  4496. "default": "float"
  4497. },
  4498. "dimensions": {
  4499. "anyOf": [
  4500. {
  4501. "type": "integer"
  4502. },
  4503. {
  4504. "type": "null"
  4505. }
  4506. ],
  4507. "title": "Dimensions"
  4508. },
  4509. "user": {
  4510. "anyOf": [
  4511. {
  4512. "type": "string"
  4513. },
  4514. {
  4515. "type": "null"
  4516. }
  4517. ],
  4518. "title": "User"
  4519. },
  4520. "truncate_prompt_tokens": {
  4521. "anyOf": [
  4522. {
  4523. "type": "integer",
  4524. "minimum": -1
  4525. },
  4526. {
  4527. "type": "null"
  4528. }
  4529. ],
  4530. "title": "Truncate Prompt Tokens"
  4531. },
  4532. "add_special_tokens": {
  4533. "type": "boolean",
  4534. "title": "Add Special Tokens",
  4535. "description": "If true (the default), special tokens (e.g. BOS) will be added to the prompt.",
  4536. "default": true
  4537. },
  4538. "priority": {
  4539. "type": "integer",
  4540. "title": "Priority",
  4541. "description": "The priority of the request (lower means earlier handling; default: 0). Any priority other than 0 will raise an error if the served model does not use priority scheduling.",
  4542. "default": 0
  4543. },
  4544. "request_id": {
  4545. "type": "string",
  4546. "title": "Request Id",
  4547. "description": "The request_id related to this request. If the caller does not set it, a random_uuid will be generated. This id is used through out the inference process and return in response."
  4548. },
  4549. "normalize": {
  4550. "anyOf": [
  4551. {
  4552. "type": "boolean"
  4553. },
  4554. {
  4555. "type": "null"
  4556. }
  4557. ],
  4558. "title": "Normalize"
  4559. }
  4560. },
  4561. "additionalProperties": true,
  4562. "type": "object",
  4563. "required": [
  4564. "input"
  4565. ],
  4566. "title": "EmbeddingCompletionRequest"
  4567. },
  4568. "ErrorInfo": {
  4569. "properties": {
  4570. "message": {
  4571. "type": "string",
  4572. "title": "Message"
  4573. },
  4574. "type": {
  4575. "type": "string",
  4576. "title": "Type"
  4577. },
  4578. "param": {
  4579. "anyOf": [
  4580. {
  4581. "type": "string"
  4582. },
  4583. {
  4584. "type": "null"
  4585. }
  4586. ],
  4587. "title": "Param"
  4588. },
  4589. "code": {
  4590. "type": "integer",
  4591. "title": "Code"
  4592. }
  4593. },
  4594. "additionalProperties": true,
  4595. "type": "object",
  4596. "required": [
  4597. "message",
  4598. "type",
  4599. "code"
  4600. ],
  4601. "title": "ErrorInfo"
  4602. },
  4603. "ErrorResponse": {
  4604. "properties": {
  4605. "error": {
  4606. "$ref": "#/components/schemas/ErrorInfo"
  4607. }
  4608. },
  4609. "additionalProperties": true,
  4610. "type": "object",
  4611. "required": [
  4612. "error"
  4613. ],
  4614. "title": "ErrorResponse"
  4615. },
  4616. "File": {
  4617. "properties": {
  4618. "file": {
  4619. "$ref": "#/components/schemas/FileFile"
  4620. },
  4621. "type": {
  4622. "type": "string",
  4623. "const": "file",
  4624. "title": "Type"
  4625. }
  4626. },
  4627. "type": "object",
  4628. "required": [
  4629. "file",
  4630. "type"
  4631. ],
  4632. "title": "File"
  4633. },
  4634. "FileFile": {
  4635. "properties": {
  4636. "file_data": {
  4637. "type": "string",
  4638. "title": "File Data"
  4639. },
  4640. "file_id": {
  4641. "type": "string",
  4642. "title": "File Id"
  4643. },
  4644. "filename": {
  4645. "type": "string",
  4646. "title": "Filename"
  4647. }
  4648. },
  4649. "type": "object",
  4650. "title": "FileFile"
  4651. },
  4652. "FileSearchTool": {
  4653. "properties": {
  4654. "type": {
  4655. "type": "string",
  4656. "const": "file_search",
  4657. "title": "Type"
  4658. },
  4659. "vector_store_ids": {
  4660. "items": {
  4661. "type": "string"
  4662. },
  4663. "type": "array",
  4664. "title": "Vector Store Ids"
  4665. },
  4666. "filters": {
  4667. "anyOf": [
  4668. {
  4669. "$ref": "#/components/schemas/ComparisonFilter"
  4670. },
  4671. {
  4672. "$ref": "#/components/schemas/CompoundFilter"
  4673. },
  4674. {
  4675. "type": "null"
  4676. }
  4677. ],
  4678. "title": "Filters"
  4679. },
  4680. "max_num_results": {
  4681. "anyOf": [
  4682. {
  4683. "type": "integer"
  4684. },
  4685. {
  4686. "type": "null"
  4687. }
  4688. ],
  4689. "title": "Max Num Results"
  4690. },
  4691. "ranking_options": {
  4692. "anyOf": [
  4693. {
  4694. "$ref": "#/components/schemas/RankingOptions"
  4695. },
  4696. {
  4697. "type": "null"
  4698. }
  4699. ]
  4700. }
  4701. },
  4702. "additionalProperties": true,
  4703. "type": "object",
  4704. "required": [
  4705. "type",
  4706. "vector_store_ids"
  4707. ],
  4708. "title": "FileSearchTool"
  4709. },
  4710. "Filters": {
  4711. "properties": {
  4712. "allowed_domains": {
  4713. "anyOf": [
  4714. {
  4715. "items": {
  4716. "type": "string"
  4717. },
  4718. "type": "array"
  4719. },
  4720. {
  4721. "type": "null"
  4722. }
  4723. ],
  4724. "title": "Allowed Domains"
  4725. }
  4726. },
  4727. "additionalProperties": true,
  4728. "type": "object",
  4729. "title": "Filters"
  4730. },
  4731. "Function": {
  4732. "properties": {
  4733. "arguments": {
  4734. "type": "string",
  4735. "title": "Arguments"
  4736. },
  4737. "name": {
  4738. "type": "string",
  4739. "title": "Name"
  4740. }
  4741. },
  4742. "type": "object",
  4743. "required": [
  4744. "arguments",
  4745. "name"
  4746. ],
  4747. "title": "Function"
  4748. },
  4749. "FunctionCall": {
  4750. "properties": {
  4751. "arguments": {
  4752. "type": "string",
  4753. "title": "Arguments"
  4754. },
  4755. "name": {
  4756. "type": "string",
  4757. "title": "Name"
  4758. }
  4759. },
  4760. "type": "object",
  4761. "required": [
  4762. "arguments",
  4763. "name"
  4764. ],
  4765. "title": "FunctionCall"
  4766. },
  4767. "FunctionCallOutput": {
  4768. "properties": {
  4769. "call_id": {
  4770. "type": "string",
  4771. "title": "Call Id"
  4772. },
  4773. "output": {
  4774. "anyOf": [
  4775. {
  4776. "type": "string"
  4777. },
  4778. {
  4779. "items": {
  4780. "anyOf": [
  4781. {
  4782. "$ref": "#/components/schemas/ResponseInputTextContentParam"
  4783. },
  4784. {
  4785. "$ref": "#/components/schemas/ResponseInputImageContentParam"
  4786. },
  4787. {
  4788. "$ref": "#/components/schemas/ResponseInputFileContentParam"
  4789. }
  4790. ]
  4791. },
  4792. "type": "array"
  4793. }
  4794. ],
  4795. "title": "Output"
  4796. },
  4797. "type": {
  4798. "type": "string",
  4799. "const": "function_call_output",
  4800. "title": "Type"
  4801. },
  4802. "id": {
  4803. "anyOf": [
  4804. {
  4805. "type": "string"
  4806. },
  4807. {
  4808. "type": "null"
  4809. }
  4810. ],
  4811. "title": "Id"
  4812. },
  4813. "status": {
  4814. "anyOf": [
  4815. {
  4816. "type": "string",
  4817. "enum": [
  4818. "in_progress",
  4819. "completed",
  4820. "incomplete"
  4821. ]
  4822. },
  4823. {
  4824. "type": "null"
  4825. }
  4826. ],
  4827. "title": "Status"
  4828. }
  4829. },
  4830. "type": "object",
  4831. "required": [
  4832. "call_id",
  4833. "output",
  4834. "type"
  4835. ],
  4836. "title": "FunctionCallOutput"
  4837. },
  4838. "FunctionDefinition": {
  4839. "properties": {
  4840. "name": {
  4841. "type": "string",
  4842. "title": "Name"
  4843. },
  4844. "description": {
  4845. "anyOf": [
  4846. {
  4847. "type": "string"
  4848. },
  4849. {
  4850. "type": "null"
  4851. }
  4852. ],
  4853. "title": "Description"
  4854. },
  4855. "parameters": {
  4856. "anyOf": [
  4857. {
  4858. "additionalProperties": true,
  4859. "type": "object"
  4860. },
  4861. {
  4862. "type": "null"
  4863. }
  4864. ],
  4865. "title": "Parameters"
  4866. }
  4867. },
  4868. "additionalProperties": true,
  4869. "type": "object",
  4870. "required": [
  4871. "name"
  4872. ],
  4873. "title": "FunctionDefinition"
  4874. },
  4875. "FunctionTool": {
  4876. "properties": {
  4877. "name": {
  4878. "type": "string",
  4879. "title": "Name"
  4880. },
  4881. "parameters": {
  4882. "anyOf": [
  4883. {
  4884. "additionalProperties": true,
  4885. "type": "object"
  4886. },
  4887. {
  4888. "type": "null"
  4889. }
  4890. ],
  4891. "title": "Parameters"
  4892. },
  4893. "strict": {
  4894. "anyOf": [
  4895. {
  4896. "type": "boolean"
  4897. },
  4898. {
  4899. "type": "null"
  4900. }
  4901. ],
  4902. "title": "Strict"
  4903. },
  4904. "type": {
  4905. "type": "string",
  4906. "const": "function",
  4907. "title": "Type"
  4908. },
  4909. "description": {
  4910. "anyOf": [
  4911. {
  4912. "type": "string"
  4913. },
  4914. {
  4915. "type": "null"
  4916. }
  4917. ],
  4918. "title": "Description"
  4919. }
  4920. },
  4921. "additionalProperties": true,
  4922. "type": "object",
  4923. "required": [
  4924. "name",
  4925. "type"
  4926. ],
  4927. "title": "FunctionTool"
  4928. },
  4929. "Grammar": {
  4930. "properties": {
  4931. "definition": {
  4932. "type": "string",
  4933. "title": "Definition"
  4934. },
  4935. "syntax": {
  4936. "type": "string",
  4937. "enum": [
  4938. "lark",
  4939. "regex"
  4940. ],
  4941. "title": "Syntax"
  4942. },
  4943. "type": {
  4944. "type": "string",
  4945. "const": "grammar",
  4946. "title": "Type"
  4947. }
  4948. },
  4949. "additionalProperties": true,
  4950. "type": "object",
  4951. "required": [
  4952. "definition",
  4953. "syntax",
  4954. "type"
  4955. ],
  4956. "title": "Grammar"
  4957. },
  4958. "HTTPValidationError": {
  4959. "properties": {
  4960. "detail": {
  4961. "items": {
  4962. "$ref": "#/components/schemas/ValidationError"
  4963. },
  4964. "type": "array",
  4965. "title": "Detail"
  4966. }
  4967. },
  4968. "type": "object",
  4969. "title": "HTTPValidationError"
  4970. },
  4971. "IOProcessorRequest": {
  4972. "properties": {
  4973. "model": {
  4974. "anyOf": [
  4975. {
  4976. "type": "string"
  4977. },
  4978. {
  4979. "type": "null"
  4980. }
  4981. ],
  4982. "title": "Model"
  4983. },
  4984. "priority": {
  4985. "type": "integer",
  4986. "title": "Priority",
  4987. "default": 0
  4988. },
  4989. "data": {
  4990. "title": "Data"
  4991. },
  4992. "softmax": {
  4993. "type": "boolean",
  4994. "title": "Softmax",
  4995. "default": true
  4996. }
  4997. },
  4998. "additionalProperties": true,
  4999. "type": "object",
  5000. "required": [
  5001. "data"
  5002. ],
  5003. "title": "IOProcessorRequest"
  5004. },
  5005. "ImageGeneration": {
  5006. "properties": {
  5007. "type": {
  5008. "type": "string",
  5009. "const": "image_generation",
  5010. "title": "Type"
  5011. },
  5012. "background": {
  5013. "anyOf": [
  5014. {
  5015. "type": "string",
  5016. "enum": [
  5017. "transparent",
  5018. "opaque",
  5019. "auto"
  5020. ]
  5021. },
  5022. {
  5023. "type": "null"
  5024. }
  5025. ],
  5026. "title": "Background"
  5027. },
  5028. "input_fidelity": {
  5029. "anyOf": [
  5030. {
  5031. "type": "string",
  5032. "enum": [
  5033. "high",
  5034. "low"
  5035. ]
  5036. },
  5037. {
  5038. "type": "null"
  5039. }
  5040. ],
  5041. "title": "Input Fidelity"
  5042. },
  5043. "input_image_mask": {
  5044. "anyOf": [
  5045. {
  5046. "$ref": "#/components/schemas/ImageGenerationInputImageMask"
  5047. },
  5048. {
  5049. "type": "null"
  5050. }
  5051. ]
  5052. },
  5053. "model": {
  5054. "anyOf": [
  5055. {
  5056. "type": "string",
  5057. "const": "gpt-image-1"
  5058. },
  5059. {
  5060. "type": "null"
  5061. }
  5062. ],
  5063. "title": "Model"
  5064. },
  5065. "moderation": {
  5066. "anyOf": [
  5067. {
  5068. "type": "string",
  5069. "enum": [
  5070. "auto",
  5071. "low"
  5072. ]
  5073. },
  5074. {
  5075. "type": "null"
  5076. }
  5077. ],
  5078. "title": "Moderation"
  5079. },
  5080. "output_compression": {
  5081. "anyOf": [
  5082. {
  5083. "type": "integer"
  5084. },
  5085. {
  5086. "type": "null"
  5087. }
  5088. ],
  5089. "title": "Output Compression"
  5090. },
  5091. "output_format": {
  5092. "anyOf": [
  5093. {
  5094. "type": "string",
  5095. "enum": [
  5096. "png",
  5097. "webp",
  5098. "jpeg"
  5099. ]
  5100. },
  5101. {
  5102. "type": "null"
  5103. }
  5104. ],
  5105. "title": "Output Format"
  5106. },
  5107. "partial_images": {
  5108. "anyOf": [
  5109. {
  5110. "type": "integer"
  5111. },
  5112. {
  5113. "type": "null"
  5114. }
  5115. ],
  5116. "title": "Partial Images"
  5117. },
  5118. "quality": {
  5119. "anyOf": [
  5120. {
  5121. "type": "string",
  5122. "enum": [
  5123. "low",
  5124. "medium",
  5125. "high",
  5126. "auto"
  5127. ]
  5128. },
  5129. {
  5130. "type": "null"
  5131. }
  5132. ],
  5133. "title": "Quality"
  5134. },
  5135. "size": {
  5136. "anyOf": [
  5137. {
  5138. "type": "string",
  5139. "enum": [
  5140. "1024x1024",
  5141. "1024x1536",
  5142. "1536x1024",
  5143. "auto"
  5144. ]
  5145. },
  5146. {
  5147. "type": "null"
  5148. }
  5149. ],
  5150. "title": "Size"
  5151. }
  5152. },
  5153. "additionalProperties": true,
  5154. "type": "object",
  5155. "required": [
  5156. "type"
  5157. ],
  5158. "title": "ImageGeneration"
  5159. },
  5160. "ImageGenerationCall": {
  5161. "properties": {
  5162. "id": {
  5163. "type": "string",
  5164. "title": "Id"
  5165. },
  5166. "result": {
  5167. "anyOf": [
  5168. {
  5169. "type": "string"
  5170. },
  5171. {
  5172. "type": "null"
  5173. }
  5174. ],
  5175. "title": "Result"
  5176. },
  5177. "status": {
  5178. "type": "string",
  5179. "enum": [
  5180. "in_progress",
  5181. "completed",
  5182. "generating",
  5183. "failed"
  5184. ],
  5185. "title": "Status"
  5186. },
  5187. "type": {
  5188. "type": "string",
  5189. "const": "image_generation_call",
  5190. "title": "Type"
  5191. }
  5192. },
  5193. "type": "object",
  5194. "required": [
  5195. "id",
  5196. "result",
  5197. "status",
  5198. "type"
  5199. ],
  5200. "title": "ImageGenerationCall"
  5201. },
  5202. "ImageGenerationInputImageMask": {
  5203. "properties": {
  5204. "file_id": {
  5205. "anyOf": [
  5206. {
  5207. "type": "string"
  5208. },
  5209. {
  5210. "type": "null"
  5211. }
  5212. ],
  5213. "title": "File Id"
  5214. },
  5215. "image_url": {
  5216. "anyOf": [
  5217. {
  5218. "type": "string"
  5219. },
  5220. {
  5221. "type": "null"
  5222. }
  5223. ],
  5224. "title": "Image Url"
  5225. }
  5226. },
  5227. "additionalProperties": true,
  5228. "type": "object",
  5229. "title": "ImageGenerationInputImageMask"
  5230. },
  5231. "ImageURL": {
  5232. "properties": {
  5233. "url": {
  5234. "type": "string",
  5235. "title": "Url"
  5236. },
  5237. "detail": {
  5238. "type": "string",
  5239. "enum": [
  5240. "auto",
  5241. "low",
  5242. "high"
  5243. ],
  5244. "title": "Detail"
  5245. }
  5246. },
  5247. "type": "object",
  5248. "required": [
  5249. "url"
  5250. ],
  5251. "title": "ImageURL"
  5252. },
  5253. "ItemReference": {
  5254. "properties": {
  5255. "id": {
  5256. "type": "string",
  5257. "title": "Id"
  5258. },
  5259. "type": {
  5260. "anyOf": [
  5261. {
  5262. "type": "string",
  5263. "const": "item_reference"
  5264. },
  5265. {
  5266. "type": "null"
  5267. }
  5268. ],
  5269. "title": "Type"
  5270. }
  5271. },
  5272. "type": "object",
  5273. "required": [
  5274. "id"
  5275. ],
  5276. "title": "ItemReference"
  5277. },
  5278. "JsonSchemaResponseFormat": {
  5279. "properties": {
  5280. "name": {
  5281. "type": "string",
  5282. "title": "Name"
  5283. },
  5284. "description": {
  5285. "anyOf": [
  5286. {
  5287. "type": "string"
  5288. },
  5289. {
  5290. "type": "null"
  5291. }
  5292. ],
  5293. "title": "Description"
  5294. },
  5295. "schema": {
  5296. "anyOf": [
  5297. {
  5298. "additionalProperties": true,
  5299. "type": "object"
  5300. },
  5301. {
  5302. "type": "null"
  5303. }
  5304. ],
  5305. "title": "Schema"
  5306. },
  5307. "strict": {
  5308. "anyOf": [
  5309. {
  5310. "type": "boolean"
  5311. },
  5312. {
  5313. "type": "null"
  5314. }
  5315. ],
  5316. "title": "Strict"
  5317. }
  5318. },
  5319. "additionalProperties": true,
  5320. "type": "object",
  5321. "required": [
  5322. "name"
  5323. ],
  5324. "title": "JsonSchemaResponseFormat"
  5325. },
  5326. "LocalShell": {
  5327. "properties": {
  5328. "type": {
  5329. "type": "string",
  5330. "const": "local_shell",
  5331. "title": "Type"
  5332. }
  5333. },
  5334. "additionalProperties": true,
  5335. "type": "object",
  5336. "required": [
  5337. "type"
  5338. ],
  5339. "title": "LocalShell"
  5340. },
  5341. "LocalShellCall": {
  5342. "properties": {
  5343. "id": {
  5344. "type": "string",
  5345. "title": "Id"
  5346. },
  5347. "action": {
  5348. "$ref": "#/components/schemas/LocalShellCallAction"
  5349. },
  5350. "call_id": {
  5351. "type": "string",
  5352. "title": "Call Id"
  5353. },
  5354. "status": {
  5355. "type": "string",
  5356. "enum": [
  5357. "in_progress",
  5358. "completed",
  5359. "incomplete"
  5360. ],
  5361. "title": "Status"
  5362. },
  5363. "type": {
  5364. "type": "string",
  5365. "const": "local_shell_call",
  5366. "title": "Type"
  5367. }
  5368. },
  5369. "type": "object",
  5370. "required": [
  5371. "id",
  5372. "action",
  5373. "call_id",
  5374. "status",
  5375. "type"
  5376. ],
  5377. "title": "LocalShellCall"
  5378. },
  5379. "LocalShellCallAction": {
  5380. "properties": {
  5381. "command": {
  5382. "items": {
  5383. "type": "string"
  5384. },
  5385. "type": "array",
  5386. "title": "Command"
  5387. },
  5388. "env": {
  5389. "additionalProperties": {
  5390. "type": "string"
  5391. },
  5392. "type": "object",
  5393. "title": "Env"
  5394. },
  5395. "type": {
  5396. "type": "string",
  5397. "const": "exec",
  5398. "title": "Type"
  5399. },
  5400. "timeout_ms": {
  5401. "anyOf": [
  5402. {
  5403. "type": "integer"
  5404. },
  5405. {
  5406. "type": "null"
  5407. }
  5408. ],
  5409. "title": "Timeout Ms"
  5410. },
  5411. "user": {
  5412. "anyOf": [
  5413. {
  5414. "type": "string"
  5415. },
  5416. {
  5417. "type": "null"
  5418. }
  5419. ],
  5420. "title": "User"
  5421. },
  5422. "working_directory": {
  5423. "anyOf": [
  5424. {
  5425. "type": "string"
  5426. },
  5427. {
  5428. "type": "null"
  5429. }
  5430. ],
  5431. "title": "Working Directory"
  5432. }
  5433. },
  5434. "type": "object",
  5435. "required": [
  5436. "command",
  5437. "env",
  5438. "type"
  5439. ],
  5440. "title": "LocalShellCallAction"
  5441. },
  5442. "LocalShellCallOutput": {
  5443. "properties": {
  5444. "id": {
  5445. "type": "string",
  5446. "title": "Id"
  5447. },
  5448. "output": {
  5449. "type": "string",
  5450. "title": "Output"
  5451. },
  5452. "type": {
  5453. "type": "string",
  5454. "const": "local_shell_call_output",
  5455. "title": "Type"
  5456. },
  5457. "status": {
  5458. "anyOf": [
  5459. {
  5460. "type": "string",
  5461. "enum": [
  5462. "in_progress",
  5463. "completed",
  5464. "incomplete"
  5465. ]
  5466. },
  5467. {
  5468. "type": "null"
  5469. }
  5470. ],
  5471. "title": "Status"
  5472. }
  5473. },
  5474. "type": "object",
  5475. "required": [
  5476. "id",
  5477. "output",
  5478. "type"
  5479. ],
  5480. "title": "LocalShellCallOutput"
  5481. },
  5482. "LogitsProcessorConstructor": {
  5483. "properties": {
  5484. "qualname": {
  5485. "type": "string",
  5486. "title": "Qualname"
  5487. },
  5488. "args": {
  5489. "anyOf": [
  5490. {
  5491. "items": {},
  5492. "type": "array"
  5493. },
  5494. {
  5495. "type": "null"
  5496. }
  5497. ],
  5498. "title": "Args"
  5499. },
  5500. "kwargs": {
  5501. "anyOf": [
  5502. {
  5503. "additionalProperties": true,
  5504. "type": "object"
  5505. },
  5506. {
  5507. "type": "null"
  5508. }
  5509. ],
  5510. "title": "Kwargs"
  5511. }
  5512. },
  5513. "additionalProperties": false,
  5514. "type": "object",
  5515. "required": [
  5516. "qualname"
  5517. ],
  5518. "title": "LogitsProcessorConstructor"
  5519. },
  5520. "Logprob": {
  5521. "properties": {
  5522. "token": {
  5523. "type": "string",
  5524. "title": "Token"
  5525. },
  5526. "bytes": {
  5527. "items": {
  5528. "type": "integer"
  5529. },
  5530. "type": "array",
  5531. "title": "Bytes"
  5532. },
  5533. "logprob": {
  5534. "type": "number",
  5535. "title": "Logprob"
  5536. },
  5537. "top_logprobs": {
  5538. "items": {
  5539. "$ref": "#/components/schemas/LogprobTopLogprob"
  5540. },
  5541. "type": "array",
  5542. "title": "Top Logprobs"
  5543. }
  5544. },
  5545. "type": "object",
  5546. "required": [
  5547. "token",
  5548. "bytes",
  5549. "logprob",
  5550. "top_logprobs"
  5551. ],
  5552. "title": "Logprob"
  5553. },
  5554. "LogprobTopLogprob": {
  5555. "properties": {
  5556. "token": {
  5557. "type": "string",
  5558. "title": "Token"
  5559. },
  5560. "bytes": {
  5561. "items": {
  5562. "type": "integer"
  5563. },
  5564. "type": "array",
  5565. "title": "Bytes"
  5566. },
  5567. "logprob": {
  5568. "type": "number",
  5569. "title": "Logprob"
  5570. }
  5571. },
  5572. "type": "object",
  5573. "required": [
  5574. "token",
  5575. "bytes",
  5576. "logprob"
  5577. ],
  5578. "title": "LogprobTopLogprob"
  5579. },
  5580. "Mcp": {
  5581. "properties": {
  5582. "server_label": {
  5583. "type": "string",
  5584. "title": "Server Label"
  5585. },
  5586. "type": {
  5587. "type": "string",
  5588. "const": "mcp",
  5589. "title": "Type"
  5590. },
  5591. "allowed_tools": {
  5592. "anyOf": [
  5593. {
  5594. "items": {
  5595. "type": "string"
  5596. },
  5597. "type": "array"
  5598. },
  5599. {
  5600. "$ref": "#/components/schemas/McpAllowedToolsMcpToolFilter"
  5601. },
  5602. {
  5603. "type": "null"
  5604. }
  5605. ],
  5606. "title": "Allowed Tools"
  5607. },
  5608. "authorization": {
  5609. "anyOf": [
  5610. {
  5611. "type": "string"
  5612. },
  5613. {
  5614. "type": "null"
  5615. }
  5616. ],
  5617. "title": "Authorization"
  5618. },
  5619. "connector_id": {
  5620. "anyOf": [
  5621. {
  5622. "type": "string",
  5623. "enum": [
  5624. "connector_dropbox",
  5625. "connector_gmail",
  5626. "connector_googlecalendar",
  5627. "connector_googledrive",
  5628. "connector_microsoftteams",
  5629. "connector_outlookcalendar",
  5630. "connector_outlookemail",
  5631. "connector_sharepoint"
  5632. ]
  5633. },
  5634. {
  5635. "type": "null"
  5636. }
  5637. ],
  5638. "title": "Connector Id"
  5639. },
  5640. "headers": {
  5641. "anyOf": [
  5642. {
  5643. "additionalProperties": {
  5644. "type": "string"
  5645. },
  5646. "type": "object"
  5647. },
  5648. {
  5649. "type": "null"
  5650. }
  5651. ],
  5652. "title": "Headers"
  5653. },
  5654. "require_approval": {
  5655. "anyOf": [
  5656. {
  5657. "$ref": "#/components/schemas/McpRequireApprovalMcpToolApprovalFilter"
  5658. },
  5659. {
  5660. "type": "string",
  5661. "enum": [
  5662. "always",
  5663. "never"
  5664. ]
  5665. },
  5666. {
  5667. "type": "null"
  5668. }
  5669. ],
  5670. "title": "Require Approval"
  5671. },
  5672. "server_description": {
  5673. "anyOf": [
  5674. {
  5675. "type": "string"
  5676. },
  5677. {
  5678. "type": "null"
  5679. }
  5680. ],
  5681. "title": "Server Description"
  5682. },
  5683. "server_url": {
  5684. "anyOf": [
  5685. {
  5686. "type": "string"
  5687. },
  5688. {
  5689. "type": "null"
  5690. }
  5691. ],
  5692. "title": "Server Url"
  5693. }
  5694. },
  5695. "additionalProperties": true,
  5696. "type": "object",
  5697. "required": [
  5698. "server_label",
  5699. "type"
  5700. ],
  5701. "title": "Mcp"
  5702. },
  5703. "McpAllowedToolsMcpToolFilter": {
  5704. "properties": {
  5705. "read_only": {
  5706. "anyOf": [
  5707. {
  5708. "type": "boolean"
  5709. },
  5710. {
  5711. "type": "null"
  5712. }
  5713. ],
  5714. "title": "Read Only"
  5715. },
  5716. "tool_names": {
  5717. "anyOf": [
  5718. {
  5719. "items": {
  5720. "type": "string"
  5721. },
  5722. "type": "array"
  5723. },
  5724. {
  5725. "type": "null"
  5726. }
  5727. ],
  5728. "title": "Tool Names"
  5729. }
  5730. },
  5731. "additionalProperties": true,
  5732. "type": "object",
  5733. "title": "McpAllowedToolsMcpToolFilter"
  5734. },
  5735. "McpApprovalRequest": {
  5736. "properties": {
  5737. "id": {
  5738. "type": "string",
  5739. "title": "Id"
  5740. },
  5741. "arguments": {
  5742. "type": "string",
  5743. "title": "Arguments"
  5744. },
  5745. "name": {
  5746. "type": "string",
  5747. "title": "Name"
  5748. },
  5749. "server_label": {
  5750. "type": "string",
  5751. "title": "Server Label"
  5752. },
  5753. "type": {
  5754. "type": "string",
  5755. "const": "mcp_approval_request",
  5756. "title": "Type"
  5757. }
  5758. },
  5759. "type": "object",
  5760. "required": [
  5761. "id",
  5762. "arguments",
  5763. "name",
  5764. "server_label",
  5765. "type"
  5766. ],
  5767. "title": "McpApprovalRequest"
  5768. },
  5769. "McpApprovalResponse": {
  5770. "properties": {
  5771. "approval_request_id": {
  5772. "type": "string",
  5773. "title": "Approval Request Id"
  5774. },
  5775. "approve": {
  5776. "type": "boolean",
  5777. "title": "Approve"
  5778. },
  5779. "type": {
  5780. "type": "string",
  5781. "const": "mcp_approval_response",
  5782. "title": "Type"
  5783. },
  5784. "id": {
  5785. "anyOf": [
  5786. {
  5787. "type": "string"
  5788. },
  5789. {
  5790. "type": "null"
  5791. }
  5792. ],
  5793. "title": "Id"
  5794. },
  5795. "reason": {
  5796. "anyOf": [
  5797. {
  5798. "type": "string"
  5799. },
  5800. {
  5801. "type": "null"
  5802. }
  5803. ],
  5804. "title": "Reason"
  5805. }
  5806. },
  5807. "type": "object",
  5808. "required": [
  5809. "approval_request_id",
  5810. "approve",
  5811. "type"
  5812. ],
  5813. "title": "McpApprovalResponse"
  5814. },
  5815. "McpCall": {
  5816. "properties": {
  5817. "id": {
  5818. "type": "string",
  5819. "title": "Id"
  5820. },
  5821. "arguments": {
  5822. "type": "string",
  5823. "title": "Arguments"
  5824. },
  5825. "name": {
  5826. "type": "string",
  5827. "title": "Name"
  5828. },
  5829. "server_label": {
  5830. "type": "string",
  5831. "title": "Server Label"
  5832. },
  5833. "type": {
  5834. "type": "string",
  5835. "const": "mcp_call",
  5836. "title": "Type"
  5837. },
  5838. "approval_request_id": {
  5839. "anyOf": [
  5840. {
  5841. "type": "string"
  5842. },
  5843. {
  5844. "type": "null"
  5845. }
  5846. ],
  5847. "title": "Approval Request Id"
  5848. },
  5849. "error": {
  5850. "anyOf": [
  5851. {
  5852. "type": "string"
  5853. },
  5854. {
  5855. "type": "null"
  5856. }
  5857. ],
  5858. "title": "Error"
  5859. },
  5860. "output": {
  5861. "anyOf": [
  5862. {
  5863. "type": "string"
  5864. },
  5865. {
  5866. "type": "null"
  5867. }
  5868. ],
  5869. "title": "Output"
  5870. },
  5871. "status": {
  5872. "type": "string",
  5873. "enum": [
  5874. "in_progress",
  5875. "completed",
  5876. "incomplete",
  5877. "calling",
  5878. "failed"
  5879. ],
  5880. "title": "Status"
  5881. }
  5882. },
  5883. "type": "object",
  5884. "required": [
  5885. "id",
  5886. "arguments",
  5887. "name",
  5888. "server_label",
  5889. "type"
  5890. ],
  5891. "title": "McpCall"
  5892. },
  5893. "McpListTools": {
  5894. "properties": {
  5895. "id": {
  5896. "type": "string",
  5897. "title": "Id"
  5898. },
  5899. "server_label": {
  5900. "type": "string",
  5901. "title": "Server Label"
  5902. },
  5903. "tools": {
  5904. "items": {
  5905. "$ref": "#/components/schemas/McpListToolsTool"
  5906. },
  5907. "type": "array",
  5908. "title": "Tools"
  5909. },
  5910. "type": {
  5911. "type": "string",
  5912. "const": "mcp_list_tools",
  5913. "title": "Type"
  5914. },
  5915. "error": {
  5916. "anyOf": [
  5917. {
  5918. "type": "string"
  5919. },
  5920. {
  5921. "type": "null"
  5922. }
  5923. ],
  5924. "title": "Error"
  5925. }
  5926. },
  5927. "type": "object",
  5928. "required": [
  5929. "id",
  5930. "server_label",
  5931. "tools",
  5932. "type"
  5933. ],
  5934. "title": "McpListTools"
  5935. },
  5936. "McpListToolsTool": {
  5937. "properties": {
  5938. "input_schema": {
  5939. "title": "Input Schema"
  5940. },
  5941. "name": {
  5942. "type": "string",
  5943. "title": "Name"
  5944. },
  5945. "annotations": {
  5946. "anyOf": [
  5947. {},
  5948. {
  5949. "type": "null"
  5950. }
  5951. ],
  5952. "title": "Annotations"
  5953. },
  5954. "description": {
  5955. "anyOf": [
  5956. {
  5957. "type": "string"
  5958. },
  5959. {
  5960. "type": "null"
  5961. }
  5962. ],
  5963. "title": "Description"
  5964. }
  5965. },
  5966. "type": "object",
  5967. "required": [
  5968. "input_schema",
  5969. "name"
  5970. ],
  5971. "title": "McpListToolsTool"
  5972. },
  5973. "McpRequireApprovalMcpToolApprovalFilter": {
  5974. "properties": {
  5975. "always": {
  5976. "anyOf": [
  5977. {
  5978. "$ref": "#/components/schemas/McpRequireApprovalMcpToolApprovalFilterAlways"
  5979. },
  5980. {
  5981. "type": "null"
  5982. }
  5983. ]
  5984. },
  5985. "never": {
  5986. "anyOf": [
  5987. {
  5988. "$ref": "#/components/schemas/McpRequireApprovalMcpToolApprovalFilterNever"
  5989. },
  5990. {
  5991. "type": "null"
  5992. }
  5993. ]
  5994. }
  5995. },
  5996. "additionalProperties": true,
  5997. "type": "object",
  5998. "title": "McpRequireApprovalMcpToolApprovalFilter"
  5999. },
  6000. "McpRequireApprovalMcpToolApprovalFilterAlways": {
  6001. "properties": {
  6002. "read_only": {
  6003. "anyOf": [
  6004. {
  6005. "type": "boolean"
  6006. },
  6007. {
  6008. "type": "null"
  6009. }
  6010. ],
  6011. "title": "Read Only"
  6012. },
  6013. "tool_names": {
  6014. "anyOf": [
  6015. {
  6016. "items": {
  6017. "type": "string"
  6018. },
  6019. "type": "array"
  6020. },
  6021. {
  6022. "type": "null"
  6023. }
  6024. ],
  6025. "title": "Tool Names"
  6026. }
  6027. },
  6028. "additionalProperties": true,
  6029. "type": "object",
  6030. "title": "McpRequireApprovalMcpToolApprovalFilterAlways"
  6031. },
  6032. "McpRequireApprovalMcpToolApprovalFilterNever": {
  6033. "properties": {
  6034. "read_only": {
  6035. "anyOf": [
  6036. {
  6037. "type": "boolean"
  6038. },
  6039. {
  6040. "type": "null"
  6041. }
  6042. ],
  6043. "title": "Read Only"
  6044. },
  6045. "tool_names": {
  6046. "anyOf": [
  6047. {
  6048. "items": {
  6049. "type": "string"
  6050. },
  6051. "type": "array"
  6052. },
  6053. {
  6054. "type": "null"
  6055. }
  6056. ],
  6057. "title": "Tool Names"
  6058. }
  6059. },
  6060. "additionalProperties": true,
  6061. "type": "object",
  6062. "title": "McpRequireApprovalMcpToolApprovalFilterNever"
  6063. },
  6064. "OutputImage": {
  6065. "properties": {
  6066. "type": {
  6067. "type": "string",
  6068. "const": "image",
  6069. "title": "Type"
  6070. },
  6071. "url": {
  6072. "type": "string",
  6073. "title": "Url"
  6074. }
  6075. },
  6076. "type": "object",
  6077. "required": [
  6078. "type",
  6079. "url"
  6080. ],
  6081. "title": "OutputImage"
  6082. },
  6083. "OutputLogs": {
  6084. "properties": {
  6085. "logs": {
  6086. "type": "string",
  6087. "title": "Logs"
  6088. },
  6089. "type": {
  6090. "type": "string",
  6091. "const": "logs",
  6092. "title": "Type"
  6093. }
  6094. },
  6095. "type": "object",
  6096. "required": [
  6097. "logs",
  6098. "type"
  6099. ],
  6100. "title": "OutputLogs"
  6101. },
  6102. "PendingSafetyCheck": {
  6103. "properties": {
  6104. "id": {
  6105. "type": "string",
  6106. "title": "Id"
  6107. },
  6108. "code": {
  6109. "type": "string",
  6110. "title": "Code"
  6111. },
  6112. "message": {
  6113. "type": "string",
  6114. "title": "Message"
  6115. }
  6116. },
  6117. "type": "object",
  6118. "required": [
  6119. "id",
  6120. "code",
  6121. "message"
  6122. ],
  6123. "title": "PendingSafetyCheck"
  6124. },
  6125. "RankingOptions": {
  6126. "properties": {
  6127. "ranker": {
  6128. "anyOf": [
  6129. {
  6130. "type": "string",
  6131. "enum": [
  6132. "auto",
  6133. "default-2024-11-15"
  6134. ]
  6135. },
  6136. {
  6137. "type": "null"
  6138. }
  6139. ],
  6140. "title": "Ranker"
  6141. },
  6142. "score_threshold": {
  6143. "anyOf": [
  6144. {
  6145. "type": "number"
  6146. },
  6147. {
  6148. "type": "null"
  6149. }
  6150. ],
  6151. "title": "Score Threshold"
  6152. }
  6153. },
  6154. "additionalProperties": true,
  6155. "type": "object",
  6156. "title": "RankingOptions"
  6157. },
  6158. "Reasoning": {
  6159. "properties": {
  6160. "effort": {
  6161. "anyOf": [
  6162. {
  6163. "type": "string",
  6164. "enum": [
  6165. "minimal",
  6166. "low",
  6167. "medium",
  6168. "high"
  6169. ]
  6170. },
  6171. {
  6172. "type": "null"
  6173. }
  6174. ],
  6175. "title": "Effort"
  6176. },
  6177. "generate_summary": {
  6178. "anyOf": [
  6179. {
  6180. "type": "string",
  6181. "enum": [
  6182. "auto",
  6183. "concise",
  6184. "detailed"
  6185. ]
  6186. },
  6187. {
  6188. "type": "null"
  6189. }
  6190. ],
  6191. "title": "Generate Summary"
  6192. },
  6193. "summary": {
  6194. "anyOf": [
  6195. {
  6196. "type": "string",
  6197. "enum": [
  6198. "auto",
  6199. "concise",
  6200. "detailed"
  6201. ]
  6202. },
  6203. {
  6204. "type": "null"
  6205. }
  6206. ],
  6207. "title": "Summary"
  6208. }
  6209. },
  6210. "additionalProperties": true,
  6211. "type": "object",
  6212. "title": "Reasoning"
  6213. },
  6214. "RerankRequest": {
  6215. "properties": {
  6216. "model": {
  6217. "anyOf": [
  6218. {
  6219. "type": "string"
  6220. },
  6221. {
  6222. "type": "null"
  6223. }
  6224. ],
  6225. "title": "Model"
  6226. },
  6227. "query": {
  6228. "anyOf": [
  6229. {
  6230. "type": "string"
  6231. },
  6232. {
  6233. "$ref": "#/components/schemas/ScoreMultiModalParam"
  6234. }
  6235. ],
  6236. "title": "Query"
  6237. },
  6238. "documents": {
  6239. "anyOf": [
  6240. {
  6241. "items": {
  6242. "type": "string"
  6243. },
  6244. "type": "array"
  6245. },
  6246. {
  6247. "$ref": "#/components/schemas/ScoreMultiModalParam"
  6248. }
  6249. ],
  6250. "title": "Documents"
  6251. },
  6252. "top_n": {
  6253. "type": "integer",
  6254. "title": "Top N"
  6255. },
  6256. "truncate_prompt_tokens": {
  6257. "anyOf": [
  6258. {
  6259. "type": "integer",
  6260. "minimum": -1
  6261. },
  6262. {
  6263. "type": "null"
  6264. }
  6265. ],
  6266. "title": "Truncate Prompt Tokens"
  6267. },
  6268. "mm_processor_kwargs": {
  6269. "anyOf": [
  6270. {
  6271. "additionalProperties": true,
  6272. "type": "object"
  6273. },
  6274. {
  6275. "type": "null"
  6276. }
  6277. ],
  6278. "title": "Mm Processor Kwargs",
  6279. "description": "Additional kwargs to pass to the HF processor."
  6280. },
  6281. "priority": {
  6282. "type": "integer",
  6283. "title": "Priority",
  6284. "description": "The priority of the request (lower means earlier handling; default: 0). Any priority other than 0 will raise an error if the served model does not use priority scheduling.",
  6285. "default": 0
  6286. },
  6287. "activation": {
  6288. "anyOf": [
  6289. {
  6290. "type": "boolean"
  6291. },
  6292. {
  6293. "type": "null"
  6294. }
  6295. ],
  6296. "title": "Activation"
  6297. }
  6298. },
  6299. "additionalProperties": true,
  6300. "type": "object",
  6301. "required": [
  6302. "query",
  6303. "documents"
  6304. ],
  6305. "title": "RerankRequest"
  6306. },
  6307. "ResponseCodeInterpreterToolCallParam": {
  6308. "properties": {
  6309. "id": {
  6310. "type": "string",
  6311. "title": "Id"
  6312. },
  6313. "code": {
  6314. "anyOf": [
  6315. {
  6316. "type": "string"
  6317. },
  6318. {
  6319. "type": "null"
  6320. }
  6321. ],
  6322. "title": "Code"
  6323. },
  6324. "container_id": {
  6325. "type": "string",
  6326. "title": "Container Id"
  6327. },
  6328. "outputs": {
  6329. "anyOf": [
  6330. {
  6331. "items": {
  6332. "anyOf": [
  6333. {
  6334. "$ref": "#/components/schemas/OutputLogs"
  6335. },
  6336. {
  6337. "$ref": "#/components/schemas/OutputImage"
  6338. }
  6339. ]
  6340. },
  6341. "type": "array"
  6342. },
  6343. {
  6344. "type": "null"
  6345. }
  6346. ],
  6347. "title": "Outputs"
  6348. },
  6349. "status": {
  6350. "type": "string",
  6351. "enum": [
  6352. "in_progress",
  6353. "completed",
  6354. "incomplete",
  6355. "interpreting",
  6356. "failed"
  6357. ],
  6358. "title": "Status"
  6359. },
  6360. "type": {
  6361. "type": "string",
  6362. "const": "code_interpreter_call",
  6363. "title": "Type"
  6364. }
  6365. },
  6366. "type": "object",
  6367. "required": [
  6368. "id",
  6369. "code",
  6370. "container_id",
  6371. "outputs",
  6372. "status",
  6373. "type"
  6374. ],
  6375. "title": "ResponseCodeInterpreterToolCallParam"
  6376. },
  6377. "ResponseComputerToolCallOutputScreenshotParam": {
  6378. "properties": {
  6379. "type": {
  6380. "type": "string",
  6381. "const": "computer_screenshot",
  6382. "title": "Type"
  6383. },
  6384. "file_id": {
  6385. "type": "string",
  6386. "title": "File Id"
  6387. },
  6388. "image_url": {
  6389. "type": "string",
  6390. "title": "Image Url"
  6391. }
  6392. },
  6393. "type": "object",
  6394. "required": [
  6395. "type"
  6396. ],
  6397. "title": "ResponseComputerToolCallOutputScreenshotParam"
  6398. },
  6399. "ResponseComputerToolCallParam": {
  6400. "properties": {
  6401. "id": {
  6402. "type": "string",
  6403. "title": "Id"
  6404. },
  6405. "action": {
  6406. "anyOf": [
  6407. {
  6408. "$ref": "#/components/schemas/ActionClick"
  6409. },
  6410. {
  6411. "$ref": "#/components/schemas/ActionDoubleClick"
  6412. },
  6413. {
  6414. "$ref": "#/components/schemas/ActionDrag"
  6415. },
  6416. {
  6417. "$ref": "#/components/schemas/ActionKeypress"
  6418. },
  6419. {
  6420. "$ref": "#/components/schemas/ActionMove"
  6421. },
  6422. {
  6423. "$ref": "#/components/schemas/ActionScreenshot"
  6424. },
  6425. {
  6426. "$ref": "#/components/schemas/ActionScroll"
  6427. },
  6428. {
  6429. "$ref": "#/components/schemas/ActionType"
  6430. },
  6431. {
  6432. "$ref": "#/components/schemas/ActionWait"
  6433. }
  6434. ],
  6435. "title": "Action"
  6436. },
  6437. "call_id": {
  6438. "type": "string",
  6439. "title": "Call Id"
  6440. },
  6441. "pending_safety_checks": {
  6442. "items": {
  6443. "$ref": "#/components/schemas/PendingSafetyCheck"
  6444. },
  6445. "type": "array",
  6446. "title": "Pending Safety Checks"
  6447. },
  6448. "status": {
  6449. "type": "string",
  6450. "enum": [
  6451. "in_progress",
  6452. "completed",
  6453. "incomplete"
  6454. ],
  6455. "title": "Status"
  6456. },
  6457. "type": {
  6458. "type": "string",
  6459. "const": "computer_call",
  6460. "title": "Type"
  6461. }
  6462. },
  6463. "type": "object",
  6464. "required": [
  6465. "id",
  6466. "action",
  6467. "call_id",
  6468. "pending_safety_checks",
  6469. "status",
  6470. "type"
  6471. ],
  6472. "title": "ResponseComputerToolCallParam"
  6473. },
  6474. "ResponseCustomToolCallOutputParam": {
  6475. "properties": {
  6476. "call_id": {
  6477. "type": "string",
  6478. "title": "Call Id"
  6479. },
  6480. "output": {
  6481. "anyOf": [
  6482. {
  6483. "type": "string"
  6484. },
  6485. {
  6486. "items": {
  6487. "anyOf": [
  6488. {
  6489. "$ref": "#/components/schemas/ResponseInputTextParam"
  6490. },
  6491. {
  6492. "$ref": "#/components/schemas/ResponseInputImageParam"
  6493. },
  6494. {
  6495. "$ref": "#/components/schemas/ResponseInputFileParam"
  6496. }
  6497. ]
  6498. },
  6499. "type": "array"
  6500. }
  6501. ],
  6502. "title": "Output"
  6503. },
  6504. "type": {
  6505. "type": "string",
  6506. "const": "custom_tool_call_output",
  6507. "title": "Type"
  6508. },
  6509. "id": {
  6510. "type": "string",
  6511. "title": "Id"
  6512. }
  6513. },
  6514. "type": "object",
  6515. "required": [
  6516. "call_id",
  6517. "output",
  6518. "type"
  6519. ],
  6520. "title": "ResponseCustomToolCallOutputParam"
  6521. },
  6522. "ResponseCustomToolCallParam": {
  6523. "properties": {
  6524. "call_id": {
  6525. "type": "string",
  6526. "title": "Call Id"
  6527. },
  6528. "input": {
  6529. "type": "string",
  6530. "title": "Input"
  6531. },
  6532. "name": {
  6533. "type": "string",
  6534. "title": "Name"
  6535. },
  6536. "type": {
  6537. "type": "string",
  6538. "const": "custom_tool_call",
  6539. "title": "Type"
  6540. },
  6541. "id": {
  6542. "type": "string",
  6543. "title": "Id"
  6544. }
  6545. },
  6546. "type": "object",
  6547. "required": [
  6548. "call_id",
  6549. "input",
  6550. "name",
  6551. "type"
  6552. ],
  6553. "title": "ResponseCustomToolCallParam"
  6554. },
  6555. "ResponseFileSearchToolCallParam": {
  6556. "properties": {
  6557. "id": {
  6558. "type": "string",
  6559. "title": "Id"
  6560. },
  6561. "queries": {
  6562. "items": {
  6563. "type": "string"
  6564. },
  6565. "type": "array",
  6566. "title": "Queries"
  6567. },
  6568. "status": {
  6569. "type": "string",
  6570. "enum": [
  6571. "in_progress",
  6572. "searching",
  6573. "completed",
  6574. "incomplete",
  6575. "failed"
  6576. ],
  6577. "title": "Status"
  6578. },
  6579. "type": {
  6580. "type": "string",
  6581. "const": "file_search_call",
  6582. "title": "Type"
  6583. },
  6584. "results": {
  6585. "anyOf": [
  6586. {
  6587. "items": {
  6588. "$ref": "#/components/schemas/Result"
  6589. },
  6590. "type": "array"
  6591. },
  6592. {
  6593. "type": "null"
  6594. }
  6595. ],
  6596. "title": "Results"
  6597. }
  6598. },
  6599. "type": "object",
  6600. "required": [
  6601. "id",
  6602. "queries",
  6603. "status",
  6604. "type"
  6605. ],
  6606. "title": "ResponseFileSearchToolCallParam"
  6607. },
  6608. "ResponseFormat": {
  6609. "properties": {
  6610. "type": {
  6611. "type": "string",
  6612. "enum": [
  6613. "text",
  6614. "json_object",
  6615. "json_schema"
  6616. ],
  6617. "title": "Type"
  6618. },
  6619. "json_schema": {
  6620. "anyOf": [
  6621. {
  6622. "$ref": "#/components/schemas/JsonSchemaResponseFormat"
  6623. },
  6624. {
  6625. "type": "null"
  6626. }
  6627. ]
  6628. }
  6629. },
  6630. "additionalProperties": true,
  6631. "type": "object",
  6632. "required": [
  6633. "type"
  6634. ],
  6635. "title": "ResponseFormat"
  6636. },
  6637. "ResponseFormatJSONObject": {
  6638. "properties": {
  6639. "type": {
  6640. "type": "string",
  6641. "const": "json_object",
  6642. "title": "Type"
  6643. }
  6644. },
  6645. "additionalProperties": true,
  6646. "type": "object",
  6647. "required": [
  6648. "type"
  6649. ],
  6650. "title": "ResponseFormatJSONObject"
  6651. },
  6652. "ResponseFormatText": {
  6653. "properties": {
  6654. "type": {
  6655. "type": "string",
  6656. "const": "text",
  6657. "title": "Type"
  6658. }
  6659. },
  6660. "additionalProperties": true,
  6661. "type": "object",
  6662. "required": [
  6663. "type"
  6664. ],
  6665. "title": "ResponseFormatText"
  6666. },
  6667. "ResponseFormatTextJSONSchemaConfig": {
  6668. "properties": {
  6669. "name": {
  6670. "type": "string",
  6671. "title": "Name"
  6672. },
  6673. "schema": {
  6674. "additionalProperties": true,
  6675. "type": "object",
  6676. "title": "Schema"
  6677. },
  6678. "type": {
  6679. "type": "string",
  6680. "const": "json_schema",
  6681. "title": "Type"
  6682. },
  6683. "description": {
  6684. "anyOf": [
  6685. {
  6686. "type": "string"
  6687. },
  6688. {
  6689. "type": "null"
  6690. }
  6691. ],
  6692. "title": "Description"
  6693. },
  6694. "strict": {
  6695. "anyOf": [
  6696. {
  6697. "type": "boolean"
  6698. },
  6699. {
  6700. "type": "null"
  6701. }
  6702. ],
  6703. "title": "Strict"
  6704. }
  6705. },
  6706. "additionalProperties": true,
  6707. "type": "object",
  6708. "required": [
  6709. "name",
  6710. "schema",
  6711. "type"
  6712. ],
  6713. "title": "ResponseFormatTextJSONSchemaConfig"
  6714. },
  6715. "ResponseFunctionToolCall": {
  6716. "properties": {
  6717. "arguments": {
  6718. "type": "string",
  6719. "title": "Arguments"
  6720. },
  6721. "call_id": {
  6722. "type": "string",
  6723. "title": "Call Id"
  6724. },
  6725. "name": {
  6726. "type": "string",
  6727. "title": "Name"
  6728. },
  6729. "type": {
  6730. "type": "string",
  6731. "const": "function_call",
  6732. "title": "Type"
  6733. },
  6734. "id": {
  6735. "anyOf": [
  6736. {
  6737. "type": "string"
  6738. },
  6739. {
  6740. "type": "null"
  6741. }
  6742. ],
  6743. "title": "Id"
  6744. },
  6745. "status": {
  6746. "anyOf": [
  6747. {
  6748. "type": "string",
  6749. "enum": [
  6750. "in_progress",
  6751. "completed",
  6752. "incomplete"
  6753. ]
  6754. },
  6755. {
  6756. "type": "null"
  6757. }
  6758. ],
  6759. "title": "Status"
  6760. }
  6761. },
  6762. "additionalProperties": true,
  6763. "type": "object",
  6764. "required": [
  6765. "arguments",
  6766. "call_id",
  6767. "name",
  6768. "type"
  6769. ],
  6770. "title": "ResponseFunctionToolCall"
  6771. },
  6772. "ResponseFunctionToolCallParam": {
  6773. "properties": {
  6774. "arguments": {
  6775. "type": "string",
  6776. "title": "Arguments"
  6777. },
  6778. "call_id": {
  6779. "type": "string",
  6780. "title": "Call Id"
  6781. },
  6782. "name": {
  6783. "type": "string",
  6784. "title": "Name"
  6785. },
  6786. "type": {
  6787. "type": "string",
  6788. "const": "function_call",
  6789. "title": "Type"
  6790. },
  6791. "id": {
  6792. "type": "string",
  6793. "title": "Id"
  6794. },
  6795. "status": {
  6796. "type": "string",
  6797. "enum": [
  6798. "in_progress",
  6799. "completed",
  6800. "incomplete"
  6801. ],
  6802. "title": "Status"
  6803. }
  6804. },
  6805. "type": "object",
  6806. "required": [
  6807. "arguments",
  6808. "call_id",
  6809. "name",
  6810. "type"
  6811. ],
  6812. "title": "ResponseFunctionToolCallParam"
  6813. },
  6814. "ResponseFunctionWebSearchParam": {
  6815. "properties": {
  6816. "id": {
  6817. "type": "string",
  6818. "title": "Id"
  6819. },
  6820. "action": {
  6821. "anyOf": [
  6822. {
  6823. "$ref": "#/components/schemas/ActionSearch"
  6824. },
  6825. {
  6826. "$ref": "#/components/schemas/ActionOpenPage"
  6827. },
  6828. {
  6829. "$ref": "#/components/schemas/ActionFind"
  6830. }
  6831. ],
  6832. "title": "Action"
  6833. },
  6834. "status": {
  6835. "type": "string",
  6836. "enum": [
  6837. "in_progress",
  6838. "searching",
  6839. "completed",
  6840. "failed"
  6841. ],
  6842. "title": "Status"
  6843. },
  6844. "type": {
  6845. "type": "string",
  6846. "const": "web_search_call",
  6847. "title": "Type"
  6848. }
  6849. },
  6850. "type": "object",
  6851. "required": [
  6852. "id",
  6853. "action",
  6854. "status",
  6855. "type"
  6856. ],
  6857. "title": "ResponseFunctionWebSearchParam"
  6858. },
  6859. "ResponseInputAudioParam": {
  6860. "properties": {
  6861. "input_audio": {
  6862. "$ref": "#/components/schemas/openai__types__responses__response_input_audio_param__InputAudio"
  6863. },
  6864. "type": {
  6865. "type": "string",
  6866. "const": "input_audio",
  6867. "title": "Type"
  6868. }
  6869. },
  6870. "type": "object",
  6871. "required": [
  6872. "input_audio",
  6873. "type"
  6874. ],
  6875. "title": "ResponseInputAudioParam"
  6876. },
  6877. "ResponseInputFile": {
  6878. "properties": {
  6879. "type": {
  6880. "type": "string",
  6881. "const": "input_file",
  6882. "title": "Type"
  6883. },
  6884. "file_data": {
  6885. "anyOf": [
  6886. {
  6887. "type": "string"
  6888. },
  6889. {
  6890. "type": "null"
  6891. }
  6892. ],
  6893. "title": "File Data"
  6894. },
  6895. "file_id": {
  6896. "anyOf": [
  6897. {
  6898. "type": "string"
  6899. },
  6900. {
  6901. "type": "null"
  6902. }
  6903. ],
  6904. "title": "File Id"
  6905. },
  6906. "file_url": {
  6907. "anyOf": [
  6908. {
  6909. "type": "string"
  6910. },
  6911. {
  6912. "type": "null"
  6913. }
  6914. ],
  6915. "title": "File Url"
  6916. },
  6917. "filename": {
  6918. "anyOf": [
  6919. {
  6920. "type": "string"
  6921. },
  6922. {
  6923. "type": "null"
  6924. }
  6925. ],
  6926. "title": "Filename"
  6927. }
  6928. },
  6929. "additionalProperties": true,
  6930. "type": "object",
  6931. "required": [
  6932. "type"
  6933. ],
  6934. "title": "ResponseInputFile"
  6935. },
  6936. "ResponseInputFileContentParam": {
  6937. "properties": {
  6938. "type": {
  6939. "type": "string",
  6940. "const": "input_file",
  6941. "title": "Type"
  6942. },
  6943. "file_data": {
  6944. "anyOf": [
  6945. {
  6946. "type": "string"
  6947. },
  6948. {
  6949. "type": "null"
  6950. }
  6951. ],
  6952. "title": "File Data"
  6953. },
  6954. "file_id": {
  6955. "anyOf": [
  6956. {
  6957. "type": "string"
  6958. },
  6959. {
  6960. "type": "null"
  6961. }
  6962. ],
  6963. "title": "File Id"
  6964. },
  6965. "file_url": {
  6966. "anyOf": [
  6967. {
  6968. "type": "string"
  6969. },
  6970. {
  6971. "type": "null"
  6972. }
  6973. ],
  6974. "title": "File Url"
  6975. },
  6976. "filename": {
  6977. "anyOf": [
  6978. {
  6979. "type": "string"
  6980. },
  6981. {
  6982. "type": "null"
  6983. }
  6984. ],
  6985. "title": "Filename"
  6986. }
  6987. },
  6988. "type": "object",
  6989. "required": [
  6990. "type"
  6991. ],
  6992. "title": "ResponseInputFileContentParam"
  6993. },
  6994. "ResponseInputFileParam": {
  6995. "properties": {
  6996. "type": {
  6997. "type": "string",
  6998. "const": "input_file",
  6999. "title": "Type"
  7000. },
  7001. "file_data": {
  7002. "type": "string",
  7003. "title": "File Data"
  7004. },
  7005. "file_id": {
  7006. "anyOf": [
  7007. {
  7008. "type": "string"
  7009. },
  7010. {
  7011. "type": "null"
  7012. }
  7013. ],
  7014. "title": "File Id"
  7015. },
  7016. "file_url": {
  7017. "type": "string",
  7018. "title": "File Url"
  7019. },
  7020. "filename": {
  7021. "type": "string",
  7022. "title": "Filename"
  7023. }
  7024. },
  7025. "type": "object",
  7026. "required": [
  7027. "type"
  7028. ],
  7029. "title": "ResponseInputFileParam"
  7030. },
  7031. "ResponseInputImage": {
  7032. "properties": {
  7033. "detail": {
  7034. "type": "string",
  7035. "enum": [
  7036. "low",
  7037. "high",
  7038. "auto"
  7039. ],
  7040. "title": "Detail"
  7041. },
  7042. "type": {
  7043. "type": "string",
  7044. "const": "input_image",
  7045. "title": "Type"
  7046. },
  7047. "file_id": {
  7048. "anyOf": [
  7049. {
  7050. "type": "string"
  7051. },
  7052. {
  7053. "type": "null"
  7054. }
  7055. ],
  7056. "title": "File Id"
  7057. },
  7058. "image_url": {
  7059. "anyOf": [
  7060. {
  7061. "type": "string"
  7062. },
  7063. {
  7064. "type": "null"
  7065. }
  7066. ],
  7067. "title": "Image Url"
  7068. }
  7069. },
  7070. "additionalProperties": true,
  7071. "type": "object",
  7072. "required": [
  7073. "detail",
  7074. "type"
  7075. ],
  7076. "title": "ResponseInputImage"
  7077. },
  7078. "ResponseInputImageContentParam": {
  7079. "properties": {
  7080. "type": {
  7081. "type": "string",
  7082. "const": "input_image",
  7083. "title": "Type"
  7084. },
  7085. "detail": {
  7086. "anyOf": [
  7087. {
  7088. "type": "string",
  7089. "enum": [
  7090. "low",
  7091. "high",
  7092. "auto"
  7093. ]
  7094. },
  7095. {
  7096. "type": "null"
  7097. }
  7098. ],
  7099. "title": "Detail"
  7100. },
  7101. "file_id": {
  7102. "anyOf": [
  7103. {
  7104. "type": "string"
  7105. },
  7106. {
  7107. "type": "null"
  7108. }
  7109. ],
  7110. "title": "File Id"
  7111. },
  7112. "image_url": {
  7113. "anyOf": [
  7114. {
  7115. "type": "string"
  7116. },
  7117. {
  7118. "type": "null"
  7119. }
  7120. ],
  7121. "title": "Image Url"
  7122. }
  7123. },
  7124. "type": "object",
  7125. "required": [
  7126. "type"
  7127. ],
  7128. "title": "ResponseInputImageContentParam"
  7129. },
  7130. "ResponseInputImageParam": {
  7131. "properties": {
  7132. "detail": {
  7133. "type": "string",
  7134. "enum": [
  7135. "low",
  7136. "high",
  7137. "auto"
  7138. ],
  7139. "title": "Detail"
  7140. },
  7141. "type": {
  7142. "type": "string",
  7143. "const": "input_image",
  7144. "title": "Type"
  7145. },
  7146. "file_id": {
  7147. "anyOf": [
  7148. {
  7149. "type": "string"
  7150. },
  7151. {
  7152. "type": "null"
  7153. }
  7154. ],
  7155. "title": "File Id"
  7156. },
  7157. "image_url": {
  7158. "anyOf": [
  7159. {
  7160. "type": "string"
  7161. },
  7162. {
  7163. "type": "null"
  7164. }
  7165. ],
  7166. "title": "Image Url"
  7167. }
  7168. },
  7169. "type": "object",
  7170. "required": [
  7171. "detail",
  7172. "type"
  7173. ],
  7174. "title": "ResponseInputImageParam"
  7175. },
  7176. "ResponseInputText": {
  7177. "properties": {
  7178. "text": {
  7179. "type": "string",
  7180. "title": "Text"
  7181. },
  7182. "type": {
  7183. "type": "string",
  7184. "const": "input_text",
  7185. "title": "Type"
  7186. }
  7187. },
  7188. "additionalProperties": true,
  7189. "type": "object",
  7190. "required": [
  7191. "text",
  7192. "type"
  7193. ],
  7194. "title": "ResponseInputText"
  7195. },
  7196. "ResponseInputTextContentParam": {
  7197. "properties": {
  7198. "text": {
  7199. "type": "string",
  7200. "title": "Text"
  7201. },
  7202. "type": {
  7203. "type": "string",
  7204. "const": "input_text",
  7205. "title": "Type"
  7206. }
  7207. },
  7208. "type": "object",
  7209. "required": [
  7210. "text",
  7211. "type"
  7212. ],
  7213. "title": "ResponseInputTextContentParam"
  7214. },
  7215. "ResponseInputTextParam": {
  7216. "properties": {
  7217. "text": {
  7218. "type": "string",
  7219. "title": "Text"
  7220. },
  7221. "type": {
  7222. "type": "string",
  7223. "const": "input_text",
  7224. "title": "Type"
  7225. }
  7226. },
  7227. "type": "object",
  7228. "required": [
  7229. "text",
  7230. "type"
  7231. ],
  7232. "title": "ResponseInputTextParam"
  7233. },
  7234. "ResponseOutputMessageParam": {
  7235. "properties": {
  7236. "id": {
  7237. "type": "string",
  7238. "title": "Id"
  7239. },
  7240. "content": {
  7241. "items": {
  7242. "anyOf": [
  7243. {
  7244. "$ref": "#/components/schemas/ResponseOutputTextParam"
  7245. },
  7246. {
  7247. "$ref": "#/components/schemas/ResponseOutputRefusalParam"
  7248. }
  7249. ]
  7250. },
  7251. "type": "array",
  7252. "title": "Content"
  7253. },
  7254. "role": {
  7255. "type": "string",
  7256. "const": "assistant",
  7257. "title": "Role"
  7258. },
  7259. "status": {
  7260. "type": "string",
  7261. "enum": [
  7262. "in_progress",
  7263. "completed",
  7264. "incomplete"
  7265. ],
  7266. "title": "Status"
  7267. },
  7268. "type": {
  7269. "type": "string",
  7270. "const": "message",
  7271. "title": "Type"
  7272. }
  7273. },
  7274. "type": "object",
  7275. "required": [
  7276. "id",
  7277. "content",
  7278. "role",
  7279. "status",
  7280. "type"
  7281. ],
  7282. "title": "ResponseOutputMessageParam"
  7283. },
  7284. "ResponseOutputRefusalParam": {
  7285. "properties": {
  7286. "refusal": {
  7287. "type": "string",
  7288. "title": "Refusal"
  7289. },
  7290. "type": {
  7291. "type": "string",
  7292. "const": "refusal",
  7293. "title": "Type"
  7294. }
  7295. },
  7296. "type": "object",
  7297. "required": [
  7298. "refusal",
  7299. "type"
  7300. ],
  7301. "title": "ResponseOutputRefusalParam"
  7302. },
  7303. "ResponseOutputTextParam": {
  7304. "properties": {
  7305. "annotations": {
  7306. "items": {
  7307. "anyOf": [
  7308. {
  7309. "$ref": "#/components/schemas/AnnotationFileCitation"
  7310. },
  7311. {
  7312. "$ref": "#/components/schemas/AnnotationURLCitation"
  7313. },
  7314. {
  7315. "$ref": "#/components/schemas/AnnotationContainerFileCitation"
  7316. },
  7317. {
  7318. "$ref": "#/components/schemas/AnnotationFilePath"
  7319. }
  7320. ]
  7321. },
  7322. "type": "array",
  7323. "title": "Annotations"
  7324. },
  7325. "text": {
  7326. "type": "string",
  7327. "title": "Text"
  7328. },
  7329. "type": {
  7330. "type": "string",
  7331. "const": "output_text",
  7332. "title": "Type"
  7333. },
  7334. "logprobs": {
  7335. "items": {
  7336. "$ref": "#/components/schemas/Logprob"
  7337. },
  7338. "type": "array",
  7339. "title": "Logprobs"
  7340. }
  7341. },
  7342. "type": "object",
  7343. "required": [
  7344. "annotations",
  7345. "text",
  7346. "type"
  7347. ],
  7348. "title": "ResponseOutputTextParam"
  7349. },
  7350. "ResponsePrompt": {
  7351. "properties": {
  7352. "id": {
  7353. "type": "string",
  7354. "title": "Id"
  7355. },
  7356. "variables": {
  7357. "anyOf": [
  7358. {
  7359. "additionalProperties": {
  7360. "anyOf": [
  7361. {
  7362. "type": "string"
  7363. },
  7364. {
  7365. "$ref": "#/components/schemas/ResponseInputText"
  7366. },
  7367. {
  7368. "$ref": "#/components/schemas/ResponseInputImage"
  7369. },
  7370. {
  7371. "$ref": "#/components/schemas/ResponseInputFile"
  7372. }
  7373. ]
  7374. },
  7375. "type": "object"
  7376. },
  7377. {
  7378. "type": "null"
  7379. }
  7380. ],
  7381. "title": "Variables"
  7382. },
  7383. "version": {
  7384. "anyOf": [
  7385. {
  7386. "type": "string"
  7387. },
  7388. {
  7389. "type": "null"
  7390. }
  7391. ],
  7392. "title": "Version"
  7393. }
  7394. },
  7395. "additionalProperties": true,
  7396. "type": "object",
  7397. "required": [
  7398. "id"
  7399. ],
  7400. "title": "ResponsePrompt"
  7401. },
  7402. "ResponseReasoningItem": {
  7403. "properties": {
  7404. "id": {
  7405. "type": "string",
  7406. "title": "Id"
  7407. },
  7408. "summary": {
  7409. "items": {
  7410. "$ref": "#/components/schemas/openai__types__responses__response_reasoning_item__Summary"
  7411. },
  7412. "type": "array",
  7413. "title": "Summary"
  7414. },
  7415. "type": {
  7416. "type": "string",
  7417. "const": "reasoning",
  7418. "title": "Type"
  7419. },
  7420. "content": {
  7421. "anyOf": [
  7422. {
  7423. "items": {
  7424. "$ref": "#/components/schemas/openai__types__responses__response_reasoning_item__Content"
  7425. },
  7426. "type": "array"
  7427. },
  7428. {
  7429. "type": "null"
  7430. }
  7431. ],
  7432. "title": "Content"
  7433. },
  7434. "encrypted_content": {
  7435. "anyOf": [
  7436. {
  7437. "type": "string"
  7438. },
  7439. {
  7440. "type": "null"
  7441. }
  7442. ],
  7443. "title": "Encrypted Content"
  7444. },
  7445. "status": {
  7446. "anyOf": [
  7447. {
  7448. "type": "string",
  7449. "enum": [
  7450. "in_progress",
  7451. "completed",
  7452. "incomplete"
  7453. ]
  7454. },
  7455. {
  7456. "type": "null"
  7457. }
  7458. ],
  7459. "title": "Status"
  7460. }
  7461. },
  7462. "additionalProperties": true,
  7463. "type": "object",
  7464. "required": [
  7465. "id",
  7466. "summary",
  7467. "type"
  7468. ],
  7469. "title": "ResponseReasoningItem"
  7470. },
  7471. "ResponseReasoningItemParam": {
  7472. "properties": {
  7473. "id": {
  7474. "type": "string",
  7475. "title": "Id"
  7476. },
  7477. "summary": {
  7478. "items": {
  7479. "$ref": "#/components/schemas/openai__types__responses__response_reasoning_item_param__Summary"
  7480. },
  7481. "type": "array",
  7482. "title": "Summary"
  7483. },
  7484. "type": {
  7485. "type": "string",
  7486. "const": "reasoning",
  7487. "title": "Type"
  7488. },
  7489. "content": {
  7490. "items": {
  7491. "$ref": "#/components/schemas/openai__types__responses__response_reasoning_item_param__Content"
  7492. },
  7493. "type": "array",
  7494. "title": "Content"
  7495. },
  7496. "encrypted_content": {
  7497. "anyOf": [
  7498. {
  7499. "type": "string"
  7500. },
  7501. {
  7502. "type": "null"
  7503. }
  7504. ],
  7505. "title": "Encrypted Content"
  7506. },
  7507. "status": {
  7508. "type": "string",
  7509. "enum": [
  7510. "in_progress",
  7511. "completed",
  7512. "incomplete"
  7513. ],
  7514. "title": "Status"
  7515. }
  7516. },
  7517. "type": "object",
  7518. "required": [
  7519. "id",
  7520. "summary",
  7521. "type"
  7522. ],
  7523. "title": "ResponseReasoningItemParam"
  7524. },
  7525. "ResponseTextConfig": {
  7526. "properties": {
  7527. "format": {
  7528. "anyOf": [
  7529. {
  7530. "$ref": "#/components/schemas/ResponseFormatText"
  7531. },
  7532. {
  7533. "$ref": "#/components/schemas/ResponseFormatTextJSONSchemaConfig"
  7534. },
  7535. {
  7536. "$ref": "#/components/schemas/ResponseFormatJSONObject"
  7537. },
  7538. {
  7539. "type": "null"
  7540. }
  7541. ],
  7542. "title": "Format"
  7543. },
  7544. "verbosity": {
  7545. "anyOf": [
  7546. {
  7547. "type": "string",
  7548. "enum": [
  7549. "low",
  7550. "medium",
  7551. "high"
  7552. ]
  7553. },
  7554. {
  7555. "type": "null"
  7556. }
  7557. ],
  7558. "title": "Verbosity"
  7559. }
  7560. },
  7561. "additionalProperties": true,
  7562. "type": "object",
  7563. "title": "ResponseTextConfig"
  7564. },
  7565. "ResponsesRequest": {
  7566. "properties": {
  7567. "background": {
  7568. "anyOf": [
  7569. {
  7570. "type": "boolean"
  7571. },
  7572. {
  7573. "type": "null"
  7574. }
  7575. ],
  7576. "title": "Background",
  7577. "default": false
  7578. },
  7579. "include": {
  7580. "anyOf": [
  7581. {
  7582. "items": {
  7583. "type": "string",
  7584. "enum": [
  7585. "code_interpreter_call.outputs",
  7586. "computer_call_output.output.image_url",
  7587. "file_search_call.results",
  7588. "message.input_image.image_url",
  7589. "message.output_text.logprobs",
  7590. "reasoning.encrypted_content"
  7591. ]
  7592. },
  7593. "type": "array"
  7594. },
  7595. {
  7596. "type": "null"
  7597. }
  7598. ],
  7599. "title": "Include"
  7600. },
  7601. "input": {
  7602. "anyOf": [
  7603. {
  7604. "type": "string"
  7605. },
  7606. {
  7607. "items": {
  7608. "anyOf": [
  7609. {
  7610. "$ref": "#/components/schemas/EasyInputMessageParam"
  7611. },
  7612. {
  7613. "$ref": "#/components/schemas/openai__types__responses__response_input_item_param__Message"
  7614. },
  7615. {
  7616. "$ref": "#/components/schemas/ResponseOutputMessageParam"
  7617. },
  7618. {
  7619. "$ref": "#/components/schemas/ResponseFileSearchToolCallParam"
  7620. },
  7621. {
  7622. "$ref": "#/components/schemas/ResponseComputerToolCallParam"
  7623. },
  7624. {
  7625. "$ref": "#/components/schemas/ComputerCallOutput"
  7626. },
  7627. {
  7628. "$ref": "#/components/schemas/ResponseFunctionWebSearchParam"
  7629. },
  7630. {
  7631. "$ref": "#/components/schemas/ResponseFunctionToolCallParam"
  7632. },
  7633. {
  7634. "$ref": "#/components/schemas/FunctionCallOutput"
  7635. },
  7636. {
  7637. "$ref": "#/components/schemas/ResponseReasoningItemParam"
  7638. },
  7639. {
  7640. "$ref": "#/components/schemas/ImageGenerationCall"
  7641. },
  7642. {
  7643. "$ref": "#/components/schemas/ResponseCodeInterpreterToolCallParam"
  7644. },
  7645. {
  7646. "$ref": "#/components/schemas/LocalShellCall"
  7647. },
  7648. {
  7649. "$ref": "#/components/schemas/LocalShellCallOutput"
  7650. },
  7651. {
  7652. "$ref": "#/components/schemas/McpListTools"
  7653. },
  7654. {
  7655. "$ref": "#/components/schemas/McpApprovalRequest"
  7656. },
  7657. {
  7658. "$ref": "#/components/schemas/McpApprovalResponse"
  7659. },
  7660. {
  7661. "$ref": "#/components/schemas/McpCall"
  7662. },
  7663. {
  7664. "$ref": "#/components/schemas/ResponseCustomToolCallOutputParam"
  7665. },
  7666. {
  7667. "$ref": "#/components/schemas/ResponseCustomToolCallParam"
  7668. },
  7669. {
  7670. "$ref": "#/components/schemas/ItemReference"
  7671. },
  7672. {
  7673. "$ref": "#/components/schemas/ResponseReasoningItem"
  7674. },
  7675. {
  7676. "$ref": "#/components/schemas/ResponseFunctionToolCall"
  7677. }
  7678. ]
  7679. },
  7680. "type": "array"
  7681. }
  7682. ],
  7683. "title": "Input"
  7684. },
  7685. "instructions": {
  7686. "anyOf": [
  7687. {
  7688. "type": "string"
  7689. },
  7690. {
  7691. "type": "null"
  7692. }
  7693. ],
  7694. "title": "Instructions"
  7695. },
  7696. "max_output_tokens": {
  7697. "anyOf": [
  7698. {
  7699. "type": "integer"
  7700. },
  7701. {
  7702. "type": "null"
  7703. }
  7704. ],
  7705. "title": "Max Output Tokens"
  7706. },
  7707. "max_tool_calls": {
  7708. "anyOf": [
  7709. {
  7710. "type": "integer"
  7711. },
  7712. {
  7713. "type": "null"
  7714. }
  7715. ],
  7716. "title": "Max Tool Calls"
  7717. },
  7718. "metadata": {
  7719. "anyOf": [
  7720. {
  7721. "additionalProperties": {
  7722. "type": "string"
  7723. },
  7724. "type": "object"
  7725. },
  7726. {
  7727. "type": "null"
  7728. }
  7729. ],
  7730. "title": "Metadata"
  7731. },
  7732. "model": {
  7733. "anyOf": [
  7734. {
  7735. "type": "string"
  7736. },
  7737. {
  7738. "type": "null"
  7739. }
  7740. ],
  7741. "title": "Model"
  7742. },
  7743. "parallel_tool_calls": {
  7744. "anyOf": [
  7745. {
  7746. "type": "boolean"
  7747. },
  7748. {
  7749. "type": "null"
  7750. }
  7751. ],
  7752. "title": "Parallel Tool Calls",
  7753. "default": true
  7754. },
  7755. "previous_response_id": {
  7756. "anyOf": [
  7757. {
  7758. "type": "string"
  7759. },
  7760. {
  7761. "type": "null"
  7762. }
  7763. ],
  7764. "title": "Previous Response Id"
  7765. },
  7766. "prompt": {
  7767. "anyOf": [
  7768. {
  7769. "$ref": "#/components/schemas/ResponsePrompt"
  7770. },
  7771. {
  7772. "type": "null"
  7773. }
  7774. ]
  7775. },
  7776. "reasoning": {
  7777. "anyOf": [
  7778. {
  7779. "$ref": "#/components/schemas/Reasoning"
  7780. },
  7781. {
  7782. "type": "null"
  7783. }
  7784. ]
  7785. },
  7786. "service_tier": {
  7787. "type": "string",
  7788. "enum": [
  7789. "auto",
  7790. "default",
  7791. "flex",
  7792. "scale",
  7793. "priority"
  7794. ],
  7795. "title": "Service Tier",
  7796. "default": "auto"
  7797. },
  7798. "store": {
  7799. "anyOf": [
  7800. {
  7801. "type": "boolean"
  7802. },
  7803. {
  7804. "type": "null"
  7805. }
  7806. ],
  7807. "title": "Store",
  7808. "default": true
  7809. },
  7810. "stream": {
  7811. "anyOf": [
  7812. {
  7813. "type": "boolean"
  7814. },
  7815. {
  7816. "type": "null"
  7817. }
  7818. ],
  7819. "title": "Stream",
  7820. "default": false
  7821. },
  7822. "temperature": {
  7823. "anyOf": [
  7824. {
  7825. "type": "number"
  7826. },
  7827. {
  7828. "type": "null"
  7829. }
  7830. ],
  7831. "title": "Temperature"
  7832. },
  7833. "text": {
  7834. "anyOf": [
  7835. {
  7836. "$ref": "#/components/schemas/ResponseTextConfig"
  7837. },
  7838. {
  7839. "type": "null"
  7840. }
  7841. ]
  7842. },
  7843. "tool_choice": {
  7844. "anyOf": [
  7845. {
  7846. "type": "string",
  7847. "enum": [
  7848. "none",
  7849. "auto",
  7850. "required"
  7851. ]
  7852. },
  7853. {
  7854. "$ref": "#/components/schemas/ToolChoiceAllowed"
  7855. },
  7856. {
  7857. "$ref": "#/components/schemas/ToolChoiceTypes"
  7858. },
  7859. {
  7860. "$ref": "#/components/schemas/ToolChoiceFunction"
  7861. },
  7862. {
  7863. "$ref": "#/components/schemas/ToolChoiceMcp"
  7864. },
  7865. {
  7866. "$ref": "#/components/schemas/ToolChoiceCustom"
  7867. }
  7868. ],
  7869. "title": "Tool Choice",
  7870. "default": "auto"
  7871. },
  7872. "tools": {
  7873. "items": {
  7874. "anyOf": [
  7875. {
  7876. "$ref": "#/components/schemas/FunctionTool"
  7877. },
  7878. {
  7879. "$ref": "#/components/schemas/FileSearchTool"
  7880. },
  7881. {
  7882. "$ref": "#/components/schemas/ComputerTool"
  7883. },
  7884. {
  7885. "$ref": "#/components/schemas/WebSearchTool"
  7886. },
  7887. {
  7888. "$ref": "#/components/schemas/Mcp"
  7889. },
  7890. {
  7891. "$ref": "#/components/schemas/CodeInterpreter"
  7892. },
  7893. {
  7894. "$ref": "#/components/schemas/ImageGeneration"
  7895. },
  7896. {
  7897. "$ref": "#/components/schemas/LocalShell"
  7898. },
  7899. {
  7900. "$ref": "#/components/schemas/CustomTool"
  7901. },
  7902. {
  7903. "$ref": "#/components/schemas/WebSearchPreviewTool"
  7904. }
  7905. ]
  7906. },
  7907. "type": "array",
  7908. "title": "Tools"
  7909. },
  7910. "top_logprobs": {
  7911. "anyOf": [
  7912. {
  7913. "type": "integer"
  7914. },
  7915. {
  7916. "type": "null"
  7917. }
  7918. ],
  7919. "title": "Top Logprobs",
  7920. "default": 0
  7921. },
  7922. "top_p": {
  7923. "anyOf": [
  7924. {
  7925. "type": "number"
  7926. },
  7927. {
  7928. "type": "null"
  7929. }
  7930. ],
  7931. "title": "Top P"
  7932. },
  7933. "truncation": {
  7934. "anyOf": [
  7935. {
  7936. "type": "string",
  7937. "enum": [
  7938. "auto",
  7939. "disabled"
  7940. ]
  7941. },
  7942. {
  7943. "type": "null"
  7944. }
  7945. ],
  7946. "title": "Truncation",
  7947. "default": "disabled"
  7948. },
  7949. "user": {
  7950. "anyOf": [
  7951. {
  7952. "type": "string"
  7953. },
  7954. {
  7955. "type": "null"
  7956. }
  7957. ],
  7958. "title": "User"
  7959. },
  7960. "request_id": {
  7961. "type": "string",
  7962. "title": "Request Id",
  7963. "description": "The request_id related to this request. If the caller does not set it, a random_uuid will be generated. This id is used through out the inference process and return in response."
  7964. },
  7965. "mm_processor_kwargs": {
  7966. "anyOf": [
  7967. {
  7968. "additionalProperties": true,
  7969. "type": "object"
  7970. },
  7971. {
  7972. "type": "null"
  7973. }
  7974. ],
  7975. "title": "Mm Processor Kwargs",
  7976. "description": "Additional kwargs to pass to the HF processor."
  7977. },
  7978. "priority": {
  7979. "type": "integer",
  7980. "title": "Priority",
  7981. "description": "The priority of the request (lower means earlier handling; default: 0). Any priority other than 0 will raise an error if the served model does not use priority scheduling.",
  7982. "default": 0
  7983. },
  7984. "cache_salt": {
  7985. "anyOf": [
  7986. {
  7987. "type": "string"
  7988. },
  7989. {
  7990. "type": "null"
  7991. }
  7992. ],
  7993. "title": "Cache Salt",
  7994. "description": "If specified, the prefix cache will be salted with the provided string to prevent an attacker to guess prompts in multi-user environments. The salt should be random, protected from access by 3rd parties, and long enough to be unpredictable (e.g., 43 characters base64-encoded, corresponding to 256 bit). Not supported by vLLM engine V0."
  7995. },
  7996. "enable_response_messages": {
  7997. "type": "boolean",
  7998. "title": "Enable Response Messages",
  7999. "description": "Dictates whether or not to return messages as part of the response object. Currently only supported for non-streaming non-background and gpt-oss only. ",
  8000. "default": false
  8001. }
  8002. },
  8003. "additionalProperties": true,
  8004. "type": "object",
  8005. "required": [
  8006. "input"
  8007. ],
  8008. "title": "ResponsesRequest"
  8009. },
  8010. "Result": {
  8011. "properties": {
  8012. "attributes": {
  8013. "anyOf": [
  8014. {
  8015. "additionalProperties": {
  8016. "anyOf": [
  8017. {
  8018. "type": "string"
  8019. },
  8020. {
  8021. "type": "number"
  8022. },
  8023. {
  8024. "type": "boolean"
  8025. }
  8026. ]
  8027. },
  8028. "type": "object"
  8029. },
  8030. {
  8031. "type": "null"
  8032. }
  8033. ],
  8034. "title": "Attributes"
  8035. },
  8036. "file_id": {
  8037. "type": "string",
  8038. "title": "File Id"
  8039. },
  8040. "filename": {
  8041. "type": "string",
  8042. "title": "Filename"
  8043. },
  8044. "score": {
  8045. "type": "number",
  8046. "title": "Score"
  8047. },
  8048. "text": {
  8049. "type": "string",
  8050. "title": "Text"
  8051. }
  8052. },
  8053. "type": "object",
  8054. "title": "Result"
  8055. },
  8056. "Role": {
  8057. "type": "string",
  8058. "enum": [
  8059. "user",
  8060. "assistant",
  8061. "system",
  8062. "developer",
  8063. "tool"
  8064. ],
  8065. "title": "Role",
  8066. "description": "The role of a message author (mirrors ``chat::Role``)."
  8067. },
  8068. "ScoreMultiModalParam": {
  8069. "properties": {
  8070. "content": {
  8071. "items": {
  8072. "anyOf": [
  8073. {
  8074. "$ref": "#/components/schemas/ChatCompletionContentPartImageParam"
  8075. },
  8076. {
  8077. "$ref": "#/components/schemas/ChatCompletionContentPartImageEmbedsParam"
  8078. }
  8079. ]
  8080. },
  8081. "type": "array",
  8082. "title": "Content"
  8083. }
  8084. },
  8085. "type": "object",
  8086. "required": [
  8087. "content"
  8088. ],
  8089. "title": "ScoreMultiModalParam",
  8090. "description": "A specialized parameter type for scoring multimodal content\n\nThe reasons why don't reuse `CustomChatCompletionMessageParam` directly:\n1. Score tasks don't need the 'role' field (user/assistant/system) that's required in chat completions\n2. Including chat-specific fields would confuse users about their purpose in scoring\n3. This is a more focused interface that only exposes what's needed for scoring"
  8091. },
  8092. "ScoreRequest": {
  8093. "properties": {
  8094. "model": {
  8095. "anyOf": [
  8096. {
  8097. "type": "string"
  8098. },
  8099. {
  8100. "type": "null"
  8101. }
  8102. ],
  8103. "title": "Model"
  8104. },
  8105. "text_1": {
  8106. "anyOf": [
  8107. {
  8108. "items": {
  8109. "type": "string"
  8110. },
  8111. "type": "array"
  8112. },
  8113. {
  8114. "type": "string"
  8115. },
  8116. {
  8117. "$ref": "#/components/schemas/ScoreMultiModalParam"
  8118. }
  8119. ],
  8120. "title": "Text 1"
  8121. },
  8122. "text_2": {
  8123. "anyOf": [
  8124. {
  8125. "items": {
  8126. "type": "string"
  8127. },
  8128. "type": "array"
  8129. },
  8130. {
  8131. "type": "string"
  8132. },
  8133. {
  8134. "$ref": "#/components/schemas/ScoreMultiModalParam"
  8135. }
  8136. ],
  8137. "title": "Text 2"
  8138. },
  8139. "truncate_prompt_tokens": {
  8140. "anyOf": [
  8141. {
  8142. "type": "integer",
  8143. "minimum": -1
  8144. },
  8145. {
  8146. "type": "null"
  8147. }
  8148. ],
  8149. "title": "Truncate Prompt Tokens"
  8150. },
  8151. "mm_processor_kwargs": {
  8152. "anyOf": [
  8153. {
  8154. "additionalProperties": true,
  8155. "type": "object"
  8156. },
  8157. {
  8158. "type": "null"
  8159. }
  8160. ],
  8161. "title": "Mm Processor Kwargs",
  8162. "description": "Additional kwargs to pass to the HF processor."
  8163. },
  8164. "priority": {
  8165. "type": "integer",
  8166. "title": "Priority",
  8167. "description": "The priority of the request (lower means earlier handling; default: 0). Any priority other than 0 will raise an error if the served model does not use priority scheduling.",
  8168. "default": 0
  8169. },
  8170. "activation": {
  8171. "anyOf": [
  8172. {
  8173. "type": "boolean"
  8174. },
  8175. {
  8176. "type": "null"
  8177. }
  8178. ],
  8179. "title": "Activation"
  8180. }
  8181. },
  8182. "additionalProperties": true,
  8183. "type": "object",
  8184. "required": [
  8185. "text_1",
  8186. "text_2"
  8187. ],
  8188. "title": "ScoreRequest"
  8189. },
  8190. "StreamOptions": {
  8191. "properties": {
  8192. "include_usage": {
  8193. "anyOf": [
  8194. {
  8195. "type": "boolean"
  8196. },
  8197. {
  8198. "type": "null"
  8199. }
  8200. ],
  8201. "title": "Include Usage",
  8202. "default": true
  8203. },
  8204. "continuous_usage_stats": {
  8205. "anyOf": [
  8206. {
  8207. "type": "boolean"
  8208. },
  8209. {
  8210. "type": "null"
  8211. }
  8212. ],
  8213. "title": "Continuous Usage Stats",
  8214. "default": false
  8215. }
  8216. },
  8217. "additionalProperties": true,
  8218. "type": "object",
  8219. "title": "StreamOptions"
  8220. },
  8221. "StructuralTag": {
  8222. "properties": {
  8223. "begin": {
  8224. "type": "string",
  8225. "title": "Begin"
  8226. },
  8227. "schema": {
  8228. "anyOf": [
  8229. {
  8230. "additionalProperties": true,
  8231. "type": "object"
  8232. },
  8233. {
  8234. "type": "null"
  8235. }
  8236. ],
  8237. "title": "Schema"
  8238. },
  8239. "end": {
  8240. "type": "string",
  8241. "title": "End"
  8242. }
  8243. },
  8244. "additionalProperties": true,
  8245. "type": "object",
  8246. "required": [
  8247. "begin",
  8248. "end"
  8249. ],
  8250. "title": "StructuralTag"
  8251. },
  8252. "StructuralTagResponseFormat": {
  8253. "properties": {
  8254. "type": {
  8255. "type": "string",
  8256. "const": "structural_tag",
  8257. "title": "Type"
  8258. },
  8259. "structures": {
  8260. "items": {
  8261. "$ref": "#/components/schemas/StructuralTag"
  8262. },
  8263. "type": "array",
  8264. "title": "Structures"
  8265. },
  8266. "triggers": {
  8267. "items": {
  8268. "type": "string"
  8269. },
  8270. "type": "array",
  8271. "title": "Triggers"
  8272. }
  8273. },
  8274. "additionalProperties": true,
  8275. "type": "object",
  8276. "required": [
  8277. "type",
  8278. "structures",
  8279. "triggers"
  8280. ],
  8281. "title": "StructuralTagResponseFormat"
  8282. },
  8283. "StructuredOutputsParams": {
  8284. "properties": {
  8285. "json": {
  8286. "anyOf": [
  8287. {
  8288. "type": "string"
  8289. },
  8290. {
  8291. "additionalProperties": true,
  8292. "type": "object"
  8293. },
  8294. {
  8295. "type": "null"
  8296. }
  8297. ],
  8298. "title": "Json"
  8299. },
  8300. "regex": {
  8301. "anyOf": [
  8302. {
  8303. "type": "string"
  8304. },
  8305. {
  8306. "type": "null"
  8307. }
  8308. ],
  8309. "title": "Regex"
  8310. },
  8311. "choice": {
  8312. "anyOf": [
  8313. {
  8314. "items": {
  8315. "type": "string"
  8316. },
  8317. "type": "array"
  8318. },
  8319. {
  8320. "type": "null"
  8321. }
  8322. ],
  8323. "title": "Choice"
  8324. },
  8325. "grammar": {
  8326. "anyOf": [
  8327. {
  8328. "type": "string"
  8329. },
  8330. {
  8331. "type": "null"
  8332. }
  8333. ],
  8334. "title": "Grammar"
  8335. },
  8336. "json_object": {
  8337. "anyOf": [
  8338. {
  8339. "type": "boolean"
  8340. },
  8341. {
  8342. "type": "null"
  8343. }
  8344. ],
  8345. "title": "Json Object"
  8346. },
  8347. "disable_fallback": {
  8348. "type": "boolean",
  8349. "title": "Disable Fallback",
  8350. "default": false
  8351. },
  8352. "disable_any_whitespace": {
  8353. "type": "boolean",
  8354. "title": "Disable Any Whitespace",
  8355. "default": false
  8356. },
  8357. "disable_additional_properties": {
  8358. "type": "boolean",
  8359. "title": "Disable Additional Properties",
  8360. "default": false
  8361. },
  8362. "whitespace_pattern": {
  8363. "anyOf": [
  8364. {
  8365. "type": "string"
  8366. },
  8367. {
  8368. "type": "null"
  8369. }
  8370. ],
  8371. "title": "Whitespace Pattern"
  8372. },
  8373. "structural_tag": {
  8374. "anyOf": [
  8375. {
  8376. "type": "string"
  8377. },
  8378. {
  8379. "type": "null"
  8380. }
  8381. ],
  8382. "title": "Structural Tag"
  8383. },
  8384. "_backend": {
  8385. "anyOf": [
  8386. {
  8387. "type": "string"
  8388. },
  8389. {
  8390. "type": "null"
  8391. }
  8392. ],
  8393. "title": "Backend"
  8394. },
  8395. "_backend_was_auto": {
  8396. "type": "boolean",
  8397. "title": "Backend Was Auto",
  8398. "default": false
  8399. }
  8400. },
  8401. "type": "object",
  8402. "title": "StructuredOutputsParams"
  8403. },
  8404. "Text": {
  8405. "properties": {
  8406. "type": {
  8407. "type": "string",
  8408. "const": "text",
  8409. "title": "Type"
  8410. }
  8411. },
  8412. "additionalProperties": true,
  8413. "type": "object",
  8414. "required": [
  8415. "type"
  8416. ],
  8417. "title": "Text"
  8418. },
  8419. "TokenizeChatRequest": {
  8420. "properties": {
  8421. "model": {
  8422. "anyOf": [
  8423. {
  8424. "type": "string"
  8425. },
  8426. {
  8427. "type": "null"
  8428. }
  8429. ],
  8430. "title": "Model"
  8431. },
  8432. "messages": {
  8433. "items": {
  8434. "anyOf": [
  8435. {
  8436. "$ref": "#/components/schemas/ChatCompletionDeveloperMessageParam"
  8437. },
  8438. {
  8439. "$ref": "#/components/schemas/ChatCompletionSystemMessageParam"
  8440. },
  8441. {
  8442. "$ref": "#/components/schemas/ChatCompletionUserMessageParam"
  8443. },
  8444. {
  8445. "$ref": "#/components/schemas/ChatCompletionAssistantMessageParam"
  8446. },
  8447. {
  8448. "$ref": "#/components/schemas/ChatCompletionToolMessageParam"
  8449. },
  8450. {
  8451. "$ref": "#/components/schemas/ChatCompletionFunctionMessageParam"
  8452. },
  8453. {
  8454. "$ref": "#/components/schemas/CustomChatCompletionMessageParam"
  8455. },
  8456. {
  8457. "$ref": "#/components/schemas/openai_harmony__Message"
  8458. }
  8459. ]
  8460. },
  8461. "type": "array",
  8462. "title": "Messages"
  8463. },
  8464. "add_generation_prompt": {
  8465. "type": "boolean",
  8466. "title": "Add Generation Prompt",
  8467. "description": "If true, the generation prompt will be added to the chat template. This is a parameter used by chat template in tokenizer config of the model.",
  8468. "default": true
  8469. },
  8470. "return_token_strs": {
  8471. "anyOf": [
  8472. {
  8473. "type": "boolean"
  8474. },
  8475. {
  8476. "type": "null"
  8477. }
  8478. ],
  8479. "title": "Return Token Strs",
  8480. "description": "If true, also return the token strings corresponding to the token ids.",
  8481. "default": false
  8482. },
  8483. "continue_final_message": {
  8484. "type": "boolean",
  8485. "title": "Continue Final Message",
  8486. "description": "If this is set, the chat will be formatted so that the final message in the chat is open-ended, without any EOS tokens. The model will continue this message rather than starting a new one. This allows you to \"prefill\" part of the model's response for it. Cannot be used at the same time as `add_generation_prompt`.",
  8487. "default": false
  8488. },
  8489. "add_special_tokens": {
  8490. "type": "boolean",
  8491. "title": "Add Special Tokens",
  8492. "description": "If true, special tokens (e.g. BOS) will be added to the prompt on top of what is added by the chat template. For most models, the chat template takes care of adding the special tokens so this should be set to false (as is the default).",
  8493. "default": false
  8494. },
  8495. "chat_template": {
  8496. "anyOf": [
  8497. {
  8498. "type": "string"
  8499. },
  8500. {
  8501. "type": "null"
  8502. }
  8503. ],
  8504. "title": "Chat Template",
  8505. "description": "A Jinja template to use for this conversion. As of transformers v4.44, default chat template is no longer allowed, so you must provide a chat template if the tokenizer does not define one."
  8506. },
  8507. "chat_template_kwargs": {
  8508. "anyOf": [
  8509. {
  8510. "additionalProperties": true,
  8511. "type": "object"
  8512. },
  8513. {
  8514. "type": "null"
  8515. }
  8516. ],
  8517. "title": "Chat Template Kwargs",
  8518. "description": "Additional keyword args to pass to the template renderer. Will be accessible by the chat template."
  8519. },
  8520. "mm_processor_kwargs": {
  8521. "anyOf": [
  8522. {
  8523. "additionalProperties": true,
  8524. "type": "object"
  8525. },
  8526. {
  8527. "type": "null"
  8528. }
  8529. ],
  8530. "title": "Mm Processor Kwargs",
  8531. "description": "Additional kwargs to pass to the HF processor."
  8532. },
  8533. "tools": {
  8534. "anyOf": [
  8535. {
  8536. "items": {
  8537. "$ref": "#/components/schemas/ChatCompletionToolsParam"
  8538. },
  8539. "type": "array"
  8540. },
  8541. {
  8542. "type": "null"
  8543. }
  8544. ],
  8545. "title": "Tools",
  8546. "description": "A list of tools the model may call."
  8547. }
  8548. },
  8549. "additionalProperties": true,
  8550. "type": "object",
  8551. "required": [
  8552. "messages"
  8553. ],
  8554. "title": "TokenizeChatRequest"
  8555. },
  8556. "TokenizeCompletionRequest": {
  8557. "properties": {
  8558. "model": {
  8559. "anyOf": [
  8560. {
  8561. "type": "string"
  8562. },
  8563. {
  8564. "type": "null"
  8565. }
  8566. ],
  8567. "title": "Model"
  8568. },
  8569. "prompt": {
  8570. "type": "string",
  8571. "title": "Prompt"
  8572. },
  8573. "add_special_tokens": {
  8574. "type": "boolean",
  8575. "title": "Add Special Tokens",
  8576. "description": "If true (the default), special tokens (e.g. BOS) will be added to the prompt.",
  8577. "default": true
  8578. },
  8579. "return_token_strs": {
  8580. "anyOf": [
  8581. {
  8582. "type": "boolean"
  8583. },
  8584. {
  8585. "type": "null"
  8586. }
  8587. ],
  8588. "title": "Return Token Strs",
  8589. "description": "If true, also return the token strings corresponding to the token ids.",
  8590. "default": false
  8591. }
  8592. },
  8593. "additionalProperties": true,
  8594. "type": "object",
  8595. "required": [
  8596. "prompt"
  8597. ],
  8598. "title": "TokenizeCompletionRequest"
  8599. },
  8600. "ToolChoiceAllowed": {
  8601. "properties": {
  8602. "mode": {
  8603. "type": "string",
  8604. "enum": [
  8605. "auto",
  8606. "required"
  8607. ],
  8608. "title": "Mode"
  8609. },
  8610. "tools": {
  8611. "items": {
  8612. "additionalProperties": true,
  8613. "type": "object"
  8614. },
  8615. "type": "array",
  8616. "title": "Tools"
  8617. },
  8618. "type": {
  8619. "type": "string",
  8620. "const": "allowed_tools",
  8621. "title": "Type"
  8622. }
  8623. },
  8624. "additionalProperties": true,
  8625. "type": "object",
  8626. "required": [
  8627. "mode",
  8628. "tools",
  8629. "type"
  8630. ],
  8631. "title": "ToolChoiceAllowed"
  8632. },
  8633. "ToolChoiceCustom": {
  8634. "properties": {
  8635. "name": {
  8636. "type": "string",
  8637. "title": "Name"
  8638. },
  8639. "type": {
  8640. "type": "string",
  8641. "const": "custom",
  8642. "title": "Type"
  8643. }
  8644. },
  8645. "additionalProperties": true,
  8646. "type": "object",
  8647. "required": [
  8648. "name",
  8649. "type"
  8650. ],
  8651. "title": "ToolChoiceCustom"
  8652. },
  8653. "ToolChoiceFunction": {
  8654. "properties": {
  8655. "name": {
  8656. "type": "string",
  8657. "title": "Name"
  8658. },
  8659. "type": {
  8660. "type": "string",
  8661. "const": "function",
  8662. "title": "Type"
  8663. }
  8664. },
  8665. "additionalProperties": true,
  8666. "type": "object",
  8667. "required": [
  8668. "name",
  8669. "type"
  8670. ],
  8671. "title": "ToolChoiceFunction"
  8672. },
  8673. "ToolChoiceMcp": {
  8674. "properties": {
  8675. "server_label": {
  8676. "type": "string",
  8677. "title": "Server Label"
  8678. },
  8679. "type": {
  8680. "type": "string",
  8681. "const": "mcp",
  8682. "title": "Type"
  8683. },
  8684. "name": {
  8685. "anyOf": [
  8686. {
  8687. "type": "string"
  8688. },
  8689. {
  8690. "type": "null"
  8691. }
  8692. ],
  8693. "title": "Name"
  8694. }
  8695. },
  8696. "additionalProperties": true,
  8697. "type": "object",
  8698. "required": [
  8699. "server_label",
  8700. "type"
  8701. ],
  8702. "title": "ToolChoiceMcp"
  8703. },
  8704. "ToolChoiceTypes": {
  8705. "properties": {
  8706. "type": {
  8707. "type": "string",
  8708. "enum": [
  8709. "file_search",
  8710. "web_search_preview",
  8711. "computer_use_preview",
  8712. "web_search_preview_2025_03_11",
  8713. "image_generation",
  8714. "code_interpreter"
  8715. ],
  8716. "title": "Type"
  8717. }
  8718. },
  8719. "additionalProperties": true,
  8720. "type": "object",
  8721. "required": [
  8722. "type"
  8723. ],
  8724. "title": "ToolChoiceTypes"
  8725. },
  8726. "TranscriptionRequest": {
  8727. "properties": {
  8728. "file": {
  8729. "type": "string",
  8730. "format": "binary",
  8731. "title": "File"
  8732. },
  8733. "model": {
  8734. "anyOf": [
  8735. {
  8736. "type": "string"
  8737. },
  8738. {
  8739. "type": "null"
  8740. }
  8741. ],
  8742. "title": "Model"
  8743. },
  8744. "language": {
  8745. "anyOf": [
  8746. {
  8747. "type": "string"
  8748. },
  8749. {
  8750. "type": "null"
  8751. }
  8752. ],
  8753. "title": "Language"
  8754. },
  8755. "prompt": {
  8756. "type": "string",
  8757. "title": "Prompt",
  8758. "default": ""
  8759. },
  8760. "response_format": {
  8761. "type": "string",
  8762. "enum": [
  8763. "json",
  8764. "text",
  8765. "srt",
  8766. "verbose_json",
  8767. "vtt"
  8768. ],
  8769. "title": "Response Format",
  8770. "default": "json"
  8771. },
  8772. "timestamp_granularities[]": {
  8773. "items": {
  8774. "type": "string",
  8775. "enum": [
  8776. "word",
  8777. "segment"
  8778. ]
  8779. },
  8780. "type": "array",
  8781. "title": "Timestamp Granularities[]",
  8782. "default": []
  8783. },
  8784. "stream": {
  8785. "anyOf": [
  8786. {
  8787. "type": "boolean"
  8788. },
  8789. {
  8790. "type": "null"
  8791. }
  8792. ],
  8793. "title": "Stream",
  8794. "default": false
  8795. },
  8796. "stream_include_usage": {
  8797. "anyOf": [
  8798. {
  8799. "type": "boolean"
  8800. },
  8801. {
  8802. "type": "null"
  8803. }
  8804. ],
  8805. "title": "Stream Include Usage",
  8806. "default": false
  8807. },
  8808. "stream_continuous_usage_stats": {
  8809. "anyOf": [
  8810. {
  8811. "type": "boolean"
  8812. },
  8813. {
  8814. "type": "null"
  8815. }
  8816. ],
  8817. "title": "Stream Continuous Usage Stats",
  8818. "default": false
  8819. },
  8820. "vllm_xargs": {
  8821. "anyOf": [
  8822. {
  8823. "additionalProperties": {
  8824. "anyOf": [
  8825. {
  8826. "type": "string"
  8827. },
  8828. {
  8829. "type": "integer"
  8830. },
  8831. {
  8832. "type": "number"
  8833. }
  8834. ]
  8835. },
  8836. "type": "object"
  8837. },
  8838. {
  8839. "type": "null"
  8840. }
  8841. ],
  8842. "title": "Vllm Xargs",
  8843. "description": "Additional request parameters with string or numeric values, used by custom extensions."
  8844. },
  8845. "to_language": {
  8846. "anyOf": [
  8847. {
  8848. "type": "string"
  8849. },
  8850. {
  8851. "type": "null"
  8852. }
  8853. ],
  8854. "title": "To Language"
  8855. },
  8856. "temperature": {
  8857. "type": "number",
  8858. "title": "Temperature",
  8859. "default": 0
  8860. },
  8861. "top_p": {
  8862. "anyOf": [
  8863. {
  8864. "type": "number"
  8865. },
  8866. {
  8867. "type": "null"
  8868. }
  8869. ],
  8870. "title": "Top P"
  8871. },
  8872. "top_k": {
  8873. "anyOf": [
  8874. {
  8875. "type": "integer"
  8876. },
  8877. {
  8878. "type": "null"
  8879. }
  8880. ],
  8881. "title": "Top K"
  8882. },
  8883. "min_p": {
  8884. "anyOf": [
  8885. {
  8886. "type": "number"
  8887. },
  8888. {
  8889. "type": "null"
  8890. }
  8891. ],
  8892. "title": "Min P"
  8893. },
  8894. "seed": {
  8895. "anyOf": [
  8896. {
  8897. "type": "integer",
  8898. "maximum": "9.223372036854776e+18",
  8899. "minimum": -9223372036854776000
  8900. },
  8901. {
  8902. "type": "null"
  8903. }
  8904. ],
  8905. "title": "Seed"
  8906. },
  8907. "frequency_penalty": {
  8908. "anyOf": [
  8909. {
  8910. "type": "number"
  8911. },
  8912. {
  8913. "type": "null"
  8914. }
  8915. ],
  8916. "title": "Frequency Penalty",
  8917. "default": 0
  8918. },
  8919. "repetition_penalty": {
  8920. "anyOf": [
  8921. {
  8922. "type": "number"
  8923. },
  8924. {
  8925. "type": "null"
  8926. }
  8927. ],
  8928. "title": "Repetition Penalty"
  8929. },
  8930. "presence_penalty": {
  8931. "anyOf": [
  8932. {
  8933. "type": "number"
  8934. },
  8935. {
  8936. "type": "null"
  8937. }
  8938. ],
  8939. "title": "Presence Penalty",
  8940. "default": 0
  8941. }
  8942. },
  8943. "additionalProperties": true,
  8944. "type": "object",
  8945. "required": [
  8946. "file"
  8947. ],
  8948. "title": "TranscriptionRequest"
  8949. },
  8950. "TranslationRequest": {
  8951. "properties": {
  8952. "file": {
  8953. "type": "string",
  8954. "format": "binary",
  8955. "title": "File"
  8956. },
  8957. "model": {
  8958. "anyOf": [
  8959. {
  8960. "type": "string"
  8961. },
  8962. {
  8963. "type": "null"
  8964. }
  8965. ],
  8966. "title": "Model"
  8967. },
  8968. "prompt": {
  8969. "type": "string",
  8970. "title": "Prompt",
  8971. "default": ""
  8972. },
  8973. "response_format": {
  8974. "type": "string",
  8975. "enum": [
  8976. "json",
  8977. "text",
  8978. "srt",
  8979. "verbose_json",
  8980. "vtt"
  8981. ],
  8982. "title": "Response Format",
  8983. "default": "json"
  8984. },
  8985. "seed": {
  8986. "anyOf": [
  8987. {
  8988. "type": "integer",
  8989. "maximum": "9.223372036854776e+18",
  8990. "minimum": -9223372036854776000
  8991. },
  8992. {
  8993. "type": "null"
  8994. }
  8995. ],
  8996. "title": "Seed"
  8997. },
  8998. "temperature": {
  8999. "type": "number",
  9000. "title": "Temperature",
  9001. "default": 0
  9002. },
  9003. "language": {
  9004. "anyOf": [
  9005. {
  9006. "type": "string"
  9007. },
  9008. {
  9009. "type": "null"
  9010. }
  9011. ],
  9012. "title": "Language"
  9013. },
  9014. "to_language": {
  9015. "anyOf": [
  9016. {
  9017. "type": "string"
  9018. },
  9019. {
  9020. "type": "null"
  9021. }
  9022. ],
  9023. "title": "To Language"
  9024. },
  9025. "stream": {
  9026. "anyOf": [
  9027. {
  9028. "type": "boolean"
  9029. },
  9030. {
  9031. "type": "null"
  9032. }
  9033. ],
  9034. "title": "Stream",
  9035. "default": false
  9036. },
  9037. "stream_include_usage": {
  9038. "anyOf": [
  9039. {
  9040. "type": "boolean"
  9041. },
  9042. {
  9043. "type": "null"
  9044. }
  9045. ],
  9046. "title": "Stream Include Usage",
  9047. "default": false
  9048. },
  9049. "stream_continuous_usage_stats": {
  9050. "anyOf": [
  9051. {
  9052. "type": "boolean"
  9053. },
  9054. {
  9055. "type": "null"
  9056. }
  9057. ],
  9058. "title": "Stream Continuous Usage Stats",
  9059. "default": false
  9060. }
  9061. },
  9062. "additionalProperties": true,
  9063. "type": "object",
  9064. "required": [
  9065. "file"
  9066. ],
  9067. "title": "TranslationRequest"
  9068. },
  9069. "ValidationError": {
  9070. "properties": {
  9071. "loc": {
  9072. "items": {
  9073. "anyOf": [
  9074. {
  9075. "type": "string"
  9076. },
  9077. {
  9078. "type": "integer"
  9079. }
  9080. ]
  9081. },
  9082. "type": "array",
  9083. "title": "Location"
  9084. },
  9085. "msg": {
  9086. "type": "string",
  9087. "title": "Message"
  9088. },
  9089. "type": {
  9090. "type": "string",
  9091. "title": "Error Type"
  9092. }
  9093. },
  9094. "type": "object",
  9095. "required": [
  9096. "loc",
  9097. "msg",
  9098. "type"
  9099. ],
  9100. "title": "ValidationError"
  9101. },
  9102. "VideoURL": {
  9103. "properties": {
  9104. "url": {
  9105. "type": "string",
  9106. "title": "Url"
  9107. }
  9108. },
  9109. "type": "object",
  9110. "required": [
  9111. "url"
  9112. ],
  9113. "title": "VideoURL"
  9114. },
  9115. "WebSearchPreviewTool": {
  9116. "properties": {
  9117. "type": {
  9118. "type": "string",
  9119. "enum": [
  9120. "web_search_preview",
  9121. "web_search_preview_2025_03_11"
  9122. ],
  9123. "title": "Type"
  9124. },
  9125. "search_context_size": {
  9126. "anyOf": [
  9127. {
  9128. "type": "string",
  9129. "enum": [
  9130. "low",
  9131. "medium",
  9132. "high"
  9133. ]
  9134. },
  9135. {
  9136. "type": "null"
  9137. }
  9138. ],
  9139. "title": "Search Context Size"
  9140. },
  9141. "user_location": {
  9142. "anyOf": [
  9143. {
  9144. "$ref": "#/components/schemas/openai__types__responses__web_search_preview_tool__UserLocation"
  9145. },
  9146. {
  9147. "type": "null"
  9148. }
  9149. ]
  9150. }
  9151. },
  9152. "additionalProperties": true,
  9153. "type": "object",
  9154. "required": [
  9155. "type"
  9156. ],
  9157. "title": "WebSearchPreviewTool"
  9158. },
  9159. "WebSearchTool": {
  9160. "properties": {
  9161. "type": {
  9162. "type": "string",
  9163. "enum": [
  9164. "web_search",
  9165. "web_search_2025_08_26"
  9166. ],
  9167. "title": "Type"
  9168. },
  9169. "filters": {
  9170. "anyOf": [
  9171. {
  9172. "$ref": "#/components/schemas/Filters"
  9173. },
  9174. {
  9175. "type": "null"
  9176. }
  9177. ]
  9178. },
  9179. "search_context_size": {
  9180. "anyOf": [
  9181. {
  9182. "type": "string",
  9183. "enum": [
  9184. "low",
  9185. "medium",
  9186. "high"
  9187. ]
  9188. },
  9189. {
  9190. "type": "null"
  9191. }
  9192. ],
  9193. "title": "Search Context Size"
  9194. },
  9195. "user_location": {
  9196. "anyOf": [
  9197. {
  9198. "$ref": "#/components/schemas/openai__types__responses__web_search_tool__UserLocation"
  9199. },
  9200. {
  9201. "type": "null"
  9202. }
  9203. ]
  9204. }
  9205. },
  9206. "additionalProperties": true,
  9207. "type": "object",
  9208. "required": [
  9209. "type"
  9210. ],
  9211. "title": "WebSearchTool"
  9212. },
  9213. "openai__types__chat__chat_completion_content_part_input_audio_param__InputAudio": {
  9214. "properties": {
  9215. "data": {
  9216. "type": "string",
  9217. "title": "Data"
  9218. },
  9219. "format": {
  9220. "type": "string",
  9221. "enum": [
  9222. "wav",
  9223. "mp3"
  9224. ],
  9225. "title": "Format"
  9226. }
  9227. },
  9228. "type": "object",
  9229. "required": [
  9230. "data",
  9231. "format"
  9232. ],
  9233. "title": "InputAudio"
  9234. },
  9235. "openai__types__responses__response_input_audio_param__InputAudio": {
  9236. "properties": {
  9237. "data": {
  9238. "type": "string",
  9239. "title": "Data"
  9240. },
  9241. "format": {
  9242. "type": "string",
  9243. "enum": [
  9244. "mp3",
  9245. "wav"
  9246. ],
  9247. "title": "Format"
  9248. }
  9249. },
  9250. "type": "object",
  9251. "required": [
  9252. "data",
  9253. "format"
  9254. ],
  9255. "title": "InputAudio"
  9256. },
  9257. "openai__types__responses__response_input_item_param__Message": {
  9258. "properties": {
  9259. "content": {
  9260. "items": {
  9261. "anyOf": [
  9262. {
  9263. "$ref": "#/components/schemas/ResponseInputTextParam"
  9264. },
  9265. {
  9266. "$ref": "#/components/schemas/ResponseInputImageParam"
  9267. },
  9268. {
  9269. "$ref": "#/components/schemas/ResponseInputFileParam"
  9270. },
  9271. {
  9272. "$ref": "#/components/schemas/ResponseInputAudioParam"
  9273. }
  9274. ]
  9275. },
  9276. "type": "array",
  9277. "title": "Content"
  9278. },
  9279. "role": {
  9280. "type": "string",
  9281. "enum": [
  9282. "user",
  9283. "system",
  9284. "developer"
  9285. ],
  9286. "title": "Role"
  9287. },
  9288. "status": {
  9289. "type": "string",
  9290. "enum": [
  9291. "in_progress",
  9292. "completed",
  9293. "incomplete"
  9294. ],
  9295. "title": "Status"
  9296. },
  9297. "type": {
  9298. "type": "string",
  9299. "const": "message",
  9300. "title": "Type"
  9301. }
  9302. },
  9303. "type": "object",
  9304. "required": [
  9305. "content",
  9306. "role"
  9307. ],
  9308. "title": "Message"
  9309. },
  9310. "openai__types__responses__response_reasoning_item__Content": {
  9311. "properties": {
  9312. "text": {
  9313. "type": "string",
  9314. "title": "Text"
  9315. },
  9316. "type": {
  9317. "type": "string",
  9318. "const": "reasoning_text",
  9319. "title": "Type"
  9320. }
  9321. },
  9322. "additionalProperties": true,
  9323. "type": "object",
  9324. "required": [
  9325. "text",
  9326. "type"
  9327. ],
  9328. "title": "Content"
  9329. },
  9330. "openai__types__responses__response_reasoning_item__Summary": {
  9331. "properties": {
  9332. "text": {
  9333. "type": "string",
  9334. "title": "Text"
  9335. },
  9336. "type": {
  9337. "type": "string",
  9338. "const": "summary_text",
  9339. "title": "Type"
  9340. }
  9341. },
  9342. "additionalProperties": true,
  9343. "type": "object",
  9344. "required": [
  9345. "text",
  9346. "type"
  9347. ],
  9348. "title": "Summary"
  9349. },
  9350. "openai__types__responses__response_reasoning_item_param__Content": {
  9351. "properties": {
  9352. "text": {
  9353. "type": "string",
  9354. "title": "Text"
  9355. },
  9356. "type": {
  9357. "type": "string",
  9358. "const": "reasoning_text",
  9359. "title": "Type"
  9360. }
  9361. },
  9362. "type": "object",
  9363. "required": [
  9364. "text",
  9365. "type"
  9366. ],
  9367. "title": "Content"
  9368. },
  9369. "openai__types__responses__response_reasoning_item_param__Summary": {
  9370. "properties": {
  9371. "text": {
  9372. "type": "string",
  9373. "title": "Text"
  9374. },
  9375. "type": {
  9376. "type": "string",
  9377. "const": "summary_text",
  9378. "title": "Type"
  9379. }
  9380. },
  9381. "type": "object",
  9382. "required": [
  9383. "text",
  9384. "type"
  9385. ],
  9386. "title": "Summary"
  9387. },
  9388. "openai__types__responses__web_search_preview_tool__UserLocation": {
  9389. "properties": {
  9390. "type": {
  9391. "type": "string",
  9392. "const": "approximate",
  9393. "title": "Type"
  9394. },
  9395. "city": {
  9396. "anyOf": [
  9397. {
  9398. "type": "string"
  9399. },
  9400. {
  9401. "type": "null"
  9402. }
  9403. ],
  9404. "title": "City"
  9405. },
  9406. "country": {
  9407. "anyOf": [
  9408. {
  9409. "type": "string"
  9410. },
  9411. {
  9412. "type": "null"
  9413. }
  9414. ],
  9415. "title": "Country"
  9416. },
  9417. "region": {
  9418. "anyOf": [
  9419. {
  9420. "type": "string"
  9421. },
  9422. {
  9423. "type": "null"
  9424. }
  9425. ],
  9426. "title": "Region"
  9427. },
  9428. "timezone": {
  9429. "anyOf": [
  9430. {
  9431. "type": "string"
  9432. },
  9433. {
  9434. "type": "null"
  9435. }
  9436. ],
  9437. "title": "Timezone"
  9438. }
  9439. },
  9440. "additionalProperties": true,
  9441. "type": "object",
  9442. "required": [
  9443. "type"
  9444. ],
  9445. "title": "UserLocation"
  9446. },
  9447. "openai__types__responses__web_search_tool__UserLocation": {
  9448. "properties": {
  9449. "city": {
  9450. "anyOf": [
  9451. {
  9452. "type": "string"
  9453. },
  9454. {
  9455. "type": "null"
  9456. }
  9457. ],
  9458. "title": "City"
  9459. },
  9460. "country": {
  9461. "anyOf": [
  9462. {
  9463. "type": "string"
  9464. },
  9465. {
  9466. "type": "null"
  9467. }
  9468. ],
  9469. "title": "Country"
  9470. },
  9471. "region": {
  9472. "anyOf": [
  9473. {
  9474. "type": "string"
  9475. },
  9476. {
  9477. "type": "null"
  9478. }
  9479. ],
  9480. "title": "Region"
  9481. },
  9482. "timezone": {
  9483. "anyOf": [
  9484. {
  9485. "type": "string"
  9486. },
  9487. {
  9488. "type": "null"
  9489. }
  9490. ],
  9491. "title": "Timezone"
  9492. },
  9493. "type": {
  9494. "anyOf": [
  9495. {
  9496. "type": "string",
  9497. "const": "approximate"
  9498. },
  9499. {
  9500. "type": "null"
  9501. }
  9502. ],
  9503. "title": "Type"
  9504. }
  9505. },
  9506. "additionalProperties": true,
  9507. "type": "object",
  9508. "title": "UserLocation"
  9509. },
  9510. "openai_harmony__Content": {
  9511. "properties": {},
  9512. "type": "object",
  9513. "title": "Content"
  9514. },
  9515. "openai_harmony__Message": {
  9516. "properties": {
  9517. "author": {
  9518. "$ref": "#/components/schemas/Author"
  9519. },
  9520. "content": {
  9521. "items": {
  9522. "$ref": "#/components/schemas/openai_harmony__Content"
  9523. },
  9524. "type": "array",
  9525. "title": "Content"
  9526. },
  9527. "channel": {
  9528. "anyOf": [
  9529. {
  9530. "type": "string"
  9531. },
  9532. {
  9533. "type": "null"
  9534. }
  9535. ],
  9536. "title": "Channel"
  9537. },
  9538. "recipient": {
  9539. "anyOf": [
  9540. {
  9541. "type": "string"
  9542. },
  9543. {
  9544. "type": "null"
  9545. }
  9546. ],
  9547. "title": "Recipient"
  9548. },
  9549. "content_type": {
  9550. "anyOf": [
  9551. {
  9552. "type": "string"
  9553. },
  9554. {
  9555. "type": "null"
  9556. }
  9557. ],
  9558. "title": "Content Type"
  9559. }
  9560. },
  9561. "type": "object",
  9562. "required": [
  9563. "author"
  9564. ],
  9565. "title": "Message"
  9566. }
  9567. }
  9568. }
  9569. }