@orq-ai/node 4.14.0-rc.44 → 4.14.0-rc.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -35
- package/funcs/mcpGatewaysCreate.d.ts +17 -0
- package/funcs/mcpGatewaysCreate.d.ts.map +1 -0
- package/funcs/mcpGatewaysCreate.js +115 -0
- package/funcs/mcpGatewaysCreate.js.map +1 -0
- package/funcs/mcpGatewaysDelete.d.ts +18 -0
- package/funcs/mcpGatewaysDelete.d.ts.map +1 -0
- package/funcs/mcpGatewaysDelete.js +121 -0
- package/funcs/mcpGatewaysDelete.js.map +1 -0
- package/funcs/mcpGatewaysList.d.ts +18 -0
- package/funcs/mcpGatewaysList.d.ts.map +1 -0
- package/funcs/mcpGatewaysList.js +123 -0
- package/funcs/mcpGatewaysList.js.map +1 -0
- package/funcs/mcpGatewaysListTools.d.ts +18 -0
- package/funcs/mcpGatewaysListTools.d.ts.map +1 -0
- package/funcs/mcpGatewaysListTools.js +128 -0
- package/funcs/mcpGatewaysListTools.js.map +1 -0
- package/funcs/mcpGatewaysRetrieve.d.ts +18 -0
- package/funcs/mcpGatewaysRetrieve.d.ts.map +1 -0
- package/funcs/mcpGatewaysRetrieve.js +121 -0
- package/funcs/mcpGatewaysRetrieve.js.map +1 -0
- package/funcs/mcpGatewaysUpdate.d.ts +18 -0
- package/funcs/mcpGatewaysUpdate.d.ts.map +1 -0
- package/funcs/mcpGatewaysUpdate.js +124 -0
- package/funcs/mcpGatewaysUpdate.js.map +1 -0
- package/funcs/mcpServersCreate.d.ts +17 -0
- package/funcs/mcpServersCreate.d.ts.map +1 -0
- package/funcs/mcpServersCreate.js +115 -0
- package/funcs/mcpServersCreate.js.map +1 -0
- package/funcs/mcpServersDelete.d.ts +18 -0
- package/funcs/mcpServersDelete.d.ts.map +1 -0
- package/funcs/mcpServersDelete.js +121 -0
- package/funcs/mcpServersDelete.js.map +1 -0
- package/funcs/mcpServersList.d.ts +18 -0
- package/funcs/mcpServersList.d.ts.map +1 -0
- package/funcs/mcpServersList.js +122 -0
- package/funcs/mcpServersList.js.map +1 -0
- package/funcs/mcpServersRetrieve.d.ts +18 -0
- package/funcs/mcpServersRetrieve.d.ts.map +1 -0
- package/funcs/mcpServersRetrieve.js +121 -0
- package/funcs/mcpServersRetrieve.js.map +1 -0
- package/funcs/mcpServersSync.d.ts +18 -0
- package/funcs/mcpServersSync.d.ts.map +1 -0
- package/funcs/mcpServersSync.js +124 -0
- package/funcs/mcpServersSync.js.map +1 -0
- package/funcs/mcpServersTest.d.ts +17 -0
- package/funcs/mcpServersTest.d.ts.map +1 -0
- package/funcs/mcpServersTest.js +115 -0
- package/funcs/mcpServersTest.js.map +1 -0
- package/funcs/mcpServersTestTool.d.ts +18 -0
- package/funcs/mcpServersTestTool.d.ts.map +1 -0
- package/funcs/mcpServersTestTool.js +124 -0
- package/funcs/mcpServersTestTool.js.map +1 -0
- package/funcs/mcpServersUpdate.d.ts +18 -0
- package/funcs/mcpServersUpdate.d.ts.map +1 -0
- package/funcs/mcpServersUpdate.js +124 -0
- package/funcs/mcpServersUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/apikeybudgetscope.d.ts +1 -1
- package/models/components/apikeybudgetscoperestresponse.d.ts +1 -1
- package/models/components/apikeyowner.d.ts +1 -1
- package/models/components/budgetrestresponse.d.ts +3 -7
- package/models/components/budgetrestresponse.d.ts.map +1 -1
- package/models/components/budgetrestresponse.js.map +1 -1
- package/models/components/budgetscope.d.ts +4 -4
- package/models/components/budgetscoperestresponse.d.ts +4 -4
- package/models/components/budgetusage.d.ts +2 -2
- package/models/components/createmcpgatewayrequest.d.ts +43 -0
- package/models/components/createmcpgatewayrequest.d.ts.map +1 -0
- package/models/components/createmcpgatewayrequest.js +66 -0
- package/models/components/createmcpgatewayrequest.js.map +1 -0
- package/models/components/createmcpgatewayresponse.d.ts +11 -0
- package/models/components/createmcpgatewayresponse.d.ts.map +1 -0
- package/models/components/createmcpgatewayresponse.js +56 -0
- package/models/components/createmcpgatewayresponse.js.map +1 -0
- package/models/components/createmcpserverrequest.d.ts +49 -0
- package/models/components/createmcpserverrequest.d.ts.map +1 -0
- package/models/components/createmcpserverrequest.js +65 -0
- package/models/components/createmcpserverrequest.js.map +1 -0
- package/models/components/createmcpserverresponse.d.ts +11 -0
- package/models/components/createmcpserverresponse.d.ts.map +1 -0
- package/models/components/createmcpserverresponse.js +56 -0
- package/models/components/createmcpserverresponse.js.map +1 -0
- package/models/components/deletemcpgatewayresponse.d.ts +11 -0
- package/models/components/deletemcpgatewayresponse.d.ts.map +1 -0
- package/models/components/deletemcpgatewayresponse.js +48 -0
- package/models/components/deletemcpgatewayresponse.js.map +1 -0
- package/models/components/deletemcpserverresponse.d.ts +11 -0
- package/models/components/deletemcpserverresponse.d.ts.map +1 -0
- package/models/components/deletemcpserverresponse.js +48 -0
- package/models/components/deletemcpserverresponse.js.map +1 -0
- package/models/components/embeddingdimensionsupport.d.ts +21 -0
- package/models/components/embeddingdimensionsupport.d.ts.map +1 -0
- package/models/components/embeddingdimensionsupport.js +62 -0
- package/models/components/embeddingdimensionsupport.js.map +1 -0
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/getmcpgatewayresponse.d.ts +11 -0
- package/models/components/getmcpgatewayresponse.d.ts.map +1 -0
- package/models/components/getmcpgatewayresponse.js +56 -0
- package/models/components/getmcpgatewayresponse.js.map +1 -0
- package/models/components/getmcpserverresponse.d.ts +11 -0
- package/models/components/getmcpserverresponse.d.ts.map +1 -0
- package/models/components/getmcpserverresponse.js +56 -0
- package/models/components/getmcpserverresponse.js.map +1 -0
- package/models/components/identity.d.ts +2 -2
- package/models/components/identitybudgetscope.d.ts +2 -2
- package/models/components/identitybudgetscoperestresponse.d.ts +2 -2
- package/models/components/index.d.ts +49 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +49 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +10 -0
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +4 -0
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/listmcpgatewaysresponse.d.ts +22 -0
- package/models/components/listmcpgatewaysresponse.d.ts.map +1 -0
- package/models/components/listmcpgatewaysresponse.js +58 -0
- package/models/components/listmcpgatewaysresponse.js.map +1 -0
- package/models/components/listmcpgatewaytoolsresponse.d.ts +22 -0
- package/models/components/listmcpgatewaytoolsresponse.d.ts.map +1 -0
- package/models/components/listmcpgatewaytoolsresponse.js +58 -0
- package/models/components/listmcpgatewaytoolsresponse.js.map +1 -0
- package/models/components/listmcpserversresponse.d.ts +22 -0
- package/models/components/listmcpserversresponse.d.ts.map +1 -0
- package/models/components/listmcpserversresponse.js +58 -0
- package/models/components/listmcpserversresponse.js.map +1 -0
- package/models/components/managementkey.d.ts +2 -3
- package/models/components/managementkey.d.ts.map +1 -1
- package/models/components/managementkey.js.map +1 -1
- package/models/components/mcpauthconfig.d.ts +25 -0
- package/models/components/mcpauthconfig.d.ts.map +1 -0
- package/models/components/mcpauthconfig.js +59 -0
- package/models/components/mcpauthconfig.js.map +1 -0
- package/models/components/mcpauthconfigoutput.d.ts +21 -0
- package/models/components/mcpauthconfigoutput.d.ts.map +1 -0
- package/models/components/mcpauthconfigoutput.js +60 -0
- package/models/components/mcpauthconfigoutput.js.map +1 -0
- package/models/components/mcpauthtype.d.ts +15 -0
- package/models/components/mcpauthtype.d.ts.map +1 -0
- package/models/components/mcpauthtype.js +53 -0
- package/models/components/mcpauthtype.js.map +1 -0
- package/models/components/mcpconnection.d.ts +23 -0
- package/models/components/mcpconnection.d.ts.map +1 -0
- package/models/components/mcpconnection.js +61 -0
- package/models/components/mcpconnection.js.map +1 -0
- package/models/components/mcpconnectiontype.d.ts +14 -0
- package/models/components/mcpconnectiontype.d.ts.map +1 -0
- package/models/components/mcpconnectiontype.js +51 -0
- package/models/components/mcpconnectiontype.js.map +1 -0
- package/models/components/mcpgateway.d.ts +57 -0
- package/models/components/mcpgateway.d.ts.map +1 -0
- package/models/components/mcpgateway.js +76 -0
- package/models/components/mcpgateway.js.map +1 -0
- package/models/components/mcpgatewaymode.d.ts +13 -0
- package/models/components/mcpgatewaymode.d.ts.map +1 -0
- package/models/components/mcpgatewaymode.js +50 -0
- package/models/components/mcpgatewaymode.js.map +1 -0
- package/models/components/mcpgatewayserverlink.d.ts +36 -0
- package/models/components/mcpgatewayserverlink.d.ts.map +1 -0
- package/models/components/mcpgatewayserverlink.js +76 -0
- package/models/components/mcpgatewayserverlink.js.map +1 -0
- package/models/components/mcpgatewaystatus.d.ts +13 -0
- package/models/components/mcpgatewaystatus.d.ts.map +1 -0
- package/models/components/mcpgatewaystatus.js +50 -0
- package/models/components/mcpgatewaystatus.js.map +1 -0
- package/models/components/mcpgatewaytool.d.ts +53 -0
- package/models/components/mcpgatewaytool.d.ts.map +1 -0
- package/models/components/mcpgatewaytool.js +74 -0
- package/models/components/mcpgatewaytool.js.map +1 -0
- package/models/components/mcpgatewaytooltestresult.d.ts +36 -0
- package/models/components/mcpgatewaytooltestresult.d.ts.map +1 -0
- package/models/components/mcpgatewaytooltestresult.js +67 -0
- package/models/components/mcpgatewaytooltestresult.js.map +1 -0
- package/models/components/mcpheadersecret.d.ts +25 -0
- package/models/components/mcpheadersecret.d.ts.map +1 -0
- package/models/components/mcpheadersecret.js +56 -0
- package/models/components/mcpheadersecret.js.map +1 -0
- package/models/components/mcpheadersecretoutput.d.ts +17 -0
- package/models/components/mcpheadersecretoutput.d.ts.map +1 -0
- package/models/components/mcpheadersecretoutput.js +56 -0
- package/models/components/mcpheadersecretoutput.js.map +1 -0
- package/models/components/mcpoauthconfig.d.ts +35 -0
- package/models/components/mcpoauthconfig.d.ts.map +1 -0
- package/models/components/mcpoauthconfig.js +61 -0
- package/models/components/mcpoauthconfig.js.map +1 -0
- package/models/components/mcpoauthconfigoutput.d.ts +25 -0
- package/models/components/mcpoauthconfigoutput.d.ts.map +1 -0
- package/models/components/mcpoauthconfigoutput.js +60 -0
- package/models/components/mcpoauthconfigoutput.js.map +1 -0
- package/models/components/mcpserver.d.ts +67 -0
- package/models/components/mcpserver.d.ts.map +1 -0
- package/models/components/mcpserver.js +76 -0
- package/models/components/mcpserver.js.map +1 -0
- package/models/components/mcpsyncstate.d.ts +31 -0
- package/models/components/mcpsyncstate.d.ts.map +1 -0
- package/models/components/mcpsyncstate.js +64 -0
- package/models/components/mcpsyncstate.js.map +1 -0
- package/models/components/mcptestresult.d.ts +30 -0
- package/models/components/mcptestresult.d.ts.map +1 -0
- package/models/components/mcptestresult.js +61 -0
- package/models/components/mcptestresult.js.map +1 -0
- package/models/components/mcptool.d.ts +45 -0
- package/models/components/mcptool.d.ts.map +1 -0
- package/models/components/mcptool.js +68 -0
- package/models/components/mcptool.js.map +1 -0
- package/models/components/mcptoolannotations.d.ts +28 -0
- package/models/components/mcptoolannotations.d.ts.map +1 -0
- package/models/components/mcptoolannotations.js +59 -0
- package/models/components/mcptoolannotations.js.map +1 -0
- package/models/components/mcptoolexposure.d.ts +28 -0
- package/models/components/mcptoolexposure.d.ts.map +1 -0
- package/models/components/mcptoolexposure.js +74 -0
- package/models/components/mcptoolexposure.js.map +1 -0
- package/models/components/mcptoolexposuremode.d.ts +14 -0
- package/models/components/mcptoolexposuremode.d.ts.map +1 -0
- package/models/components/mcptoolexposuremode.js +51 -0
- package/models/components/mcptoolexposuremode.js.map +1 -0
- package/models/components/mcptoolnaming.d.ts +13 -0
- package/models/components/mcptoolnaming.d.ts.map +1 -0
- package/models/components/mcptoolnaming.js +50 -0
- package/models/components/mcptoolnaming.js.map +1 -0
- package/models/components/modelbudgetscope.d.ts +1 -1
- package/models/components/modelbudgetscoperestresponse.d.ts +1 -1
- package/models/components/modelmetadata.d.ts +15 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +31 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/publicschedule.d.ts +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/sharing.d.ts +58 -0
- package/models/components/sharing.d.ts.map +1 -0
- package/models/components/sharing.js +83 -0
- package/models/components/sharing.js.map +1 -0
- package/models/components/sharingallprojects.d.ts +13 -0
- package/models/components/sharingallprojects.d.ts.map +1 -0
- package/models/components/sharingallprojects.js +54 -0
- package/models/components/sharingallprojects.js.map +1 -0
- package/models/components/sharingselectedprojects.d.ts +20 -0
- package/models/components/sharingselectedprojects.d.ts.map +1 -0
- package/models/components/sharingselectedprojects.js +67 -0
- package/models/components/sharingselectedprojects.js.map +1 -0
- package/models/components/syncmcpserverrequest.d.ts +19 -0
- package/models/components/syncmcpserverrequest.d.ts.map +1 -0
- package/models/components/syncmcpserverrequest.js +54 -0
- package/models/components/syncmcpserverrequest.js.map +1 -0
- package/models/components/syncmcpserverresponse.d.ts +11 -0
- package/models/components/syncmcpserverresponse.d.ts.map +1 -0
- package/models/components/syncmcpserverresponse.js +56 -0
- package/models/components/syncmcpserverresponse.js.map +1 -0
- package/models/components/syncstatus.d.ts +12 -0
- package/models/components/syncstatus.d.ts.map +1 -0
- package/models/components/syncstatus.js +50 -0
- package/models/components/syncstatus.js.map +1 -0
- package/models/components/testmcpserverrequest.d.ts +36 -0
- package/models/components/testmcpserverrequest.d.ts.map +1 -0
- package/models/components/testmcpserverrequest.js +59 -0
- package/models/components/testmcpserverrequest.js.map +1 -0
- package/models/components/testmcpserverresponse.d.ts +11 -0
- package/models/components/testmcpserverresponse.d.ts.map +1 -0
- package/models/components/testmcpserverresponse.js +51 -0
- package/models/components/testmcpserverresponse.js.map +1 -0
- package/models/components/testmcpservertoolrequest.d.ts +38 -0
- package/models/components/testmcpservertoolrequest.d.ts.map +1 -0
- package/models/components/testmcpservertoolrequest.js +63 -0
- package/models/components/testmcpservertoolrequest.js.map +1 -0
- package/models/components/testmcpservertoolresponse.d.ts +11 -0
- package/models/components/testmcpservertoolresponse.d.ts.map +1 -0
- package/models/components/testmcpservertoolresponse.js +51 -0
- package/models/components/testmcpservertoolresponse.js.map +1 -0
- package/models/components/updatemcpgatewayrequest.d.ts +55 -0
- package/models/components/updatemcpgatewayrequest.d.ts.map +1 -0
- package/models/components/updatemcpgatewayrequest.js +70 -0
- package/models/components/updatemcpgatewayrequest.js.map +1 -0
- package/models/components/updatemcpgatewayresponse.d.ts +11 -0
- package/models/components/updatemcpgatewayresponse.d.ts.map +1 -0
- package/models/components/updatemcpgatewayresponse.js +56 -0
- package/models/components/updatemcpgatewayresponse.js.map +1 -0
- package/models/components/updatemcpserverrequest.d.ts +53 -0
- package/models/components/updatemcpserverrequest.d.ts.map +1 -0
- package/models/components/updatemcpserverrequest.js +65 -0
- package/models/components/updatemcpserverrequest.js.map +1 -0
- package/models/components/updatemcpserverresponse.d.ts +11 -0
- package/models/components/updatemcpserverresponse.d.ts.map +1 -0
- package/models/components/updatemcpserverresponse.js +56 -0
- package/models/components/updatemcpserverresponse.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +28 -24
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +12 -8
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentschedule.d.ts +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createchatcompletion.d.ts +12 -6
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +5 -2
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.d.ts +9 -0
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +9 -5
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createprompt.d.ts +23 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +10 -4
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/deploymentgetconfig.d.ts +10 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +4 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +10 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +4 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +11 -6
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +5 -2
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/geteval.js +16 -16
- package/models/operations/getoneprompt.d.ts +11 -6
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +5 -2
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +11 -6
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +5 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +11 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +11 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +14 -12
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +6 -4
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.d.ts +4 -0
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +7 -5
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listpromptversions.d.ts +11 -6
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +5 -2
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/mcpgatewaydelete.d.ts +15 -0
- package/models/operations/mcpgatewaydelete.d.ts.map +1 -0
- package/models/operations/mcpgatewaydelete.js +49 -0
- package/models/operations/mcpgatewaydelete.js.map +1 -0
- package/models/operations/mcpgatewayget.d.ts +15 -0
- package/models/operations/mcpgatewayget.d.ts.map +1 -0
- package/models/operations/mcpgatewayget.js +49 -0
- package/models/operations/mcpgatewayget.js.map +1 -0
- package/models/operations/mcpgatewaylist.d.ts +36 -0
- package/models/operations/mcpgatewaylist.d.ts.map +1 -0
- package/models/operations/mcpgatewaylist.js +60 -0
- package/models/operations/mcpgatewaylist.js.map +1 -0
- package/models/operations/mcpgatewaylisttools.d.ts +35 -0
- package/models/operations/mcpgatewaylisttools.d.ts.map +1 -0
- package/models/operations/mcpgatewaylisttools.js +61 -0
- package/models/operations/mcpgatewaylisttools.js.map +1 -0
- package/models/operations/mcpgatewayupdate.d.ts +18 -0
- package/models/operations/mcpgatewayupdate.d.ts.map +1 -0
- package/models/operations/mcpgatewayupdate.js +56 -0
- package/models/operations/mcpgatewayupdate.js.map +1 -0
- package/models/operations/mcpserverdelete.d.ts +15 -0
- package/models/operations/mcpserverdelete.d.ts.map +1 -0
- package/models/operations/mcpserverdelete.js +49 -0
- package/models/operations/mcpserverdelete.js.map +1 -0
- package/models/operations/mcpserverget.d.ts +15 -0
- package/models/operations/mcpserverget.d.ts.map +1 -0
- package/models/operations/mcpserverget.js +49 -0
- package/models/operations/mcpserverget.js.map +1 -0
- package/models/operations/mcpserverlist.d.ts +30 -0
- package/models/operations/mcpserverlist.d.ts.map +1 -0
- package/models/operations/mcpserverlist.js +58 -0
- package/models/operations/mcpserverlist.js.map +1 -0
- package/models/operations/mcpserversync.d.ts +18 -0
- package/models/operations/mcpserversync.d.ts.map +1 -0
- package/models/operations/mcpserversync.js +56 -0
- package/models/operations/mcpserversync.js.map +1 -0
- package/models/operations/mcpservertesttool.d.ts +18 -0
- package/models/operations/mcpservertesttool.d.ts.map +1 -0
- package/models/operations/mcpservertesttool.js +56 -0
- package/models/operations/mcpservertesttool.js.map +1 -0
- package/models/operations/mcpserverupdate.d.ts +18 -0
- package/models/operations/mcpserverupdate.d.ts.map +1 -0
- package/models/operations/mcpserverupdate.js +56 -0
- package/models/operations/mcpserverupdate.js.map +1 -0
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +14 -12
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +6 -4
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrieveagentschedule.d.ts +1 -1
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrievedatapoint.d.ts +4 -0
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +7 -5
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.d.ts +14 -12
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +7 -5
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +14 -12
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +7 -5
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +28 -24
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +12 -8
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updateagentschedule.d.ts +5 -5
- package/models/operations/updateagentschedule.js +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.d.ts +9 -0
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +9 -5
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateprompt.d.ts +23 -12
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +10 -4
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +3 -3
- package/sdk/mcpgateways.d.ts +48 -0
- package/sdk/mcpgateways.d.ts.map +1 -0
- package/sdk/mcpgateways.js +72 -0
- package/sdk/mcpgateways.js.map +1 -0
- package/sdk/mcpservers.d.ts +62 -0
- package/sdk/mcpservers.d.ts.map +1 -0
- package/sdk/mcpservers.js +92 -0
- package/sdk/mcpservers.js.map +1 -0
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/mcpGatewaysCreate.ts +162 -0
- package/src/funcs/mcpGatewaysDelete.ts +168 -0
- package/src/funcs/mcpGatewaysList.ts +172 -0
- package/src/funcs/mcpGatewaysListTools.ts +177 -0
- package/src/funcs/mcpGatewaysRetrieve.ts +168 -0
- package/src/funcs/mcpGatewaysUpdate.ts +171 -0
- package/src/funcs/mcpServersCreate.ts +162 -0
- package/src/funcs/mcpServersDelete.ts +168 -0
- package/src/funcs/mcpServersList.ts +171 -0
- package/src/funcs/mcpServersRetrieve.ts +168 -0
- package/src/funcs/mcpServersSync.ts +171 -0
- package/src/funcs/mcpServersTest.ts +162 -0
- package/src/funcs/mcpServersTestTool.ts +171 -0
- package/src/funcs/mcpServersUpdate.ts +171 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/apikeybudgetscope.ts +1 -1
- package/src/models/components/apikeybudgetscoperestresponse.ts +1 -1
- package/src/models/components/apikeyowner.ts +1 -1
- package/src/models/components/budgetrestresponse.ts +3 -7
- package/src/models/components/budgetscope.ts +4 -4
- package/src/models/components/budgetscoperestresponse.ts +4 -4
- package/src/models/components/budgetusage.ts +2 -2
- package/src/models/components/createmcpgatewayrequest.ts +89 -0
- package/src/models/components/createmcpgatewayresponse.ts +37 -0
- package/src/models/components/createmcpserverrequest.ts +96 -0
- package/src/models/components/createmcpserverresponse.ts +37 -0
- package/src/models/components/deletemcpgatewayresponse.ts +30 -0
- package/src/models/components/deletemcpserverresponse.ts +30 -0
- package/src/models/components/embeddingdimensionsupport.ts +59 -0
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/getmcpgatewayresponse.ts +37 -0
- package/src/models/components/getmcpserverresponse.ts +37 -0
- package/src/models/components/identity.ts +2 -2
- package/src/models/components/identitybudgetscope.ts +2 -2
- package/src/models/components/identitybudgetscoperestresponse.ts +2 -2
- package/src/models/components/index.ts +49 -0
- package/src/models/components/invokedeploymentrequest.ts +14 -0
- package/src/models/components/listmcpgatewaysresponse.ts +50 -0
- package/src/models/components/listmcpgatewaytoolsresponse.ts +53 -0
- package/src/models/components/listmcpserversresponse.ts +50 -0
- package/src/models/components/managementkey.ts +2 -3
- package/src/models/components/mcpauthconfig.ts +55 -0
- package/src/models/components/mcpauthconfigoutput.ts +55 -0
- package/src/models/components/mcpauthtype.ts +22 -0
- package/src/models/components/mcpconnection.ts +59 -0
- package/src/models/components/mcpconnectiontype.ts +23 -0
- package/src/models/components/mcpgateway.ts +108 -0
- package/src/models/components/mcpgatewaymode.ts +22 -0
- package/src/models/components/mcpgatewayserverlink.ts +92 -0
- package/src/models/components/mcpgatewaystatus.ts +22 -0
- package/src/models/components/mcpgatewaytool.ts +109 -0
- package/src/models/components/mcpgatewaytooltestresult.ts +79 -0
- package/src/models/components/mcpheadersecret.ts +49 -0
- package/src/models/components/mcpheadersecretoutput.ts +44 -0
- package/src/models/components/mcpoauthconfig.ts +62 -0
- package/src/models/components/mcpoauthconfigoutput.ts +56 -0
- package/src/models/components/mcpserver.ts +114 -0
- package/src/models/components/mcpsyncstate.ts +65 -0
- package/src/models/components/mcptestresult.ts +61 -0
- package/src/models/components/mcptool.ts +92 -0
- package/src/models/components/mcptoolannotations.ts +58 -0
- package/src/models/components/mcptoolexposure.ts +79 -0
- package/src/models/components/mcptoolexposuremode.ts +23 -0
- package/src/models/components/mcptoolnaming.ts +22 -0
- package/src/models/components/modelbudgetscope.ts +1 -1
- package/src/models/components/modelbudgetscoperestresponse.ts +1 -1
- package/src/models/components/modelmetadata.ts +52 -0
- package/src/models/components/publicschedule.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/sharing.ts +118 -0
- package/src/models/components/sharingallprojects.ts +43 -0
- package/src/models/components/sharingselectedprojects.ts +63 -0
- package/src/models/components/syncmcpserverrequest.ts +39 -0
- package/src/models/components/syncmcpserverresponse.ts +37 -0
- package/src/models/components/syncstatus.ts +18 -0
- package/src/models/components/testmcpserverrequest.ts +67 -0
- package/src/models/components/testmcpserverresponse.ts +32 -0
- package/src/models/components/testmcpservertoolrequest.ts +71 -0
- package/src/models/components/testmcpservertoolresponse.ts +35 -0
- package/src/models/components/updatemcpgatewayrequest.ts +107 -0
- package/src/models/components/updatemcpgatewayresponse.ts +37 -0
- package/src/models/components/updatemcpserverrequest.ts +100 -0
- package/src/models/components/updatemcpserverresponse.ts +37 -0
- package/src/models/operations/createagentrequest.ts +28 -24
- package/src/models/operations/createagentschedule.ts +1 -1
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createchatcompletion.ts +14 -6
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +18 -5
- package/src/models/operations/createprompt.ts +27 -12
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deploymentgetconfig.ts +14 -0
- package/src/models/operations/deploymentstream.ts +14 -0
- package/src/models/operations/getallprompts.ts +13 -6
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getoneprompt.ts +13 -6
- package/src/models/operations/getpromptversion.ts +13 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +11 -0
- package/src/models/operations/listagents.ts +14 -12
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +11 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listpromptversions.ts +13 -6
- package/src/models/operations/mcpgatewaydelete.ts +34 -0
- package/src/models/operations/mcpgatewayget.ts +34 -0
- package/src/models/operations/mcpgatewaylist.ts +65 -0
- package/src/models/operations/mcpgatewaylisttools.ts +66 -0
- package/src/models/operations/mcpgatewayupdate.ts +43 -0
- package/src/models/operations/mcpserverdelete.ts +34 -0
- package/src/models/operations/mcpserverget.ts +34 -0
- package/src/models/operations/mcpserverlist.ts +58 -0
- package/src/models/operations/mcpserversync.ts +43 -0
- package/src/models/operations/mcpservertesttool.ts +43 -0
- package/src/models/operations/mcpserverupdate.ts +43 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +14 -12
- package/src/models/operations/retrieveagentschedule.ts +1 -1
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrievedatapoint.ts +11 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +15 -13
- package/src/models/operations/streamrunagent.ts +15 -13
- package/src/models/operations/updateagent.ts +28 -24
- package/src/models/operations/updateagentschedule.ts +5 -5
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +18 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateprompt.ts +27 -12
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/mcpgateways.ts +118 -0
- package/src/sdk/mcpservers.ts +154 -0
- package/src/sdk/sdk.ts +12 -0
|
@@ -165,6 +165,10 @@ export type CreateChatCompletionMessagesToolCalls = {
|
|
|
165
165
|
};
|
|
166
166
|
|
|
167
167
|
export type CreateChatCompletionMessagesAssistantMessage = {
|
|
168
|
+
/**
|
|
169
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
170
|
+
*/
|
|
171
|
+
reasoningContent?: string | undefined;
|
|
168
172
|
/**
|
|
169
173
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
170
174
|
*/
|
|
@@ -471,7 +475,7 @@ export type CreateChatCompletionResponseFormat =
|
|
|
471
475
|
| CreateChatCompletionResponseFormatJSONSchema;
|
|
472
476
|
|
|
473
477
|
/**
|
|
474
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
478
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
475
479
|
*
|
|
476
480
|
* @remarks
|
|
477
481
|
*
|
|
@@ -480,7 +484,7 @@ export type CreateChatCompletionResponseFormat =
|
|
|
480
484
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
481
485
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
482
486
|
*
|
|
483
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
487
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
484
488
|
*/
|
|
485
489
|
export const CreateChatCompletionReasoningEffort = {
|
|
486
490
|
None: "none",
|
|
@@ -489,9 +493,10 @@ export const CreateChatCompletionReasoningEffort = {
|
|
|
489
493
|
Medium: "medium",
|
|
490
494
|
High: "high",
|
|
491
495
|
Xhigh: "xhigh",
|
|
496
|
+
Max: "max",
|
|
492
497
|
} as const;
|
|
493
498
|
/**
|
|
494
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
499
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
495
500
|
*
|
|
496
501
|
* @remarks
|
|
497
502
|
*
|
|
@@ -500,7 +505,7 @@ export const CreateChatCompletionReasoningEffort = {
|
|
|
500
505
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
501
506
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
502
507
|
*
|
|
503
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
508
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
504
509
|
*/
|
|
505
510
|
export type CreateChatCompletionReasoningEffort = ClosedEnum<
|
|
506
511
|
typeof CreateChatCompletionReasoningEffort
|
|
@@ -1502,7 +1507,7 @@ export type CreateChatCompletionRequestBody = {
|
|
|
1502
1507
|
| CreateChatCompletionResponseFormatJSONSchema
|
|
1503
1508
|
| undefined;
|
|
1504
1509
|
/**
|
|
1505
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1510
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1506
1511
|
*
|
|
1507
1512
|
* @remarks
|
|
1508
1513
|
*
|
|
@@ -1511,7 +1516,7 @@ export type CreateChatCompletionRequestBody = {
|
|
|
1511
1516
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1512
1517
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1513
1518
|
*
|
|
1514
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1519
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1515
1520
|
*/
|
|
1516
1521
|
reasoningEffort?: CreateChatCompletionReasoningEffort | undefined;
|
|
1517
1522
|
/**
|
|
@@ -2502,6 +2507,7 @@ export function createChatCompletionMessagesToolCallsToJSON(
|
|
|
2502
2507
|
|
|
2503
2508
|
/** @internal */
|
|
2504
2509
|
export type CreateChatCompletionMessagesAssistantMessage$Outbound = {
|
|
2510
|
+
reasoning_content?: string | undefined;
|
|
2505
2511
|
content?:
|
|
2506
2512
|
| string
|
|
2507
2513
|
| Array<
|
|
@@ -2528,6 +2534,7 @@ export const CreateChatCompletionMessagesAssistantMessage$outboundSchema:
|
|
|
2528
2534
|
z.ZodTypeDef,
|
|
2529
2535
|
CreateChatCompletionMessagesAssistantMessage
|
|
2530
2536
|
> = z.object({
|
|
2537
|
+
reasoningContent: z.string().optional(),
|
|
2531
2538
|
content: z.nullable(
|
|
2532
2539
|
z.union([
|
|
2533
2540
|
z.string(),
|
|
@@ -2554,6 +2561,7 @@ export const CreateChatCompletionMessagesAssistantMessage$outboundSchema:
|
|
|
2554
2561
|
).optional(),
|
|
2555
2562
|
}).transform((v) => {
|
|
2556
2563
|
return remap$(v, {
|
|
2564
|
+
reasoningContent: "reasoning_content",
|
|
2557
2565
|
toolCalls: "tool_calls",
|
|
2558
2566
|
});
|
|
2559
2567
|
});
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-08-
|
|
141
|
+
"2026-08-24T01:56:57.966Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -166,6 +166,10 @@ export type CreateDatasetItemMessagesToolCalls = {
|
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
export type CreateDatasetItemMessagesAssistantMessage = {
|
|
169
|
+
/**
|
|
170
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
171
|
+
*/
|
|
172
|
+
reasoningContent?: string | undefined;
|
|
169
173
|
/**
|
|
170
174
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
171
175
|
*/
|
|
@@ -546,6 +550,10 @@ export type CreateDatasetItemMessagesDatasetsToolCalls = {
|
|
|
546
550
|
};
|
|
547
551
|
|
|
548
552
|
export type CreateDatasetItemMessagesDatasetsAssistantMessage = {
|
|
553
|
+
/**
|
|
554
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
555
|
+
*/
|
|
556
|
+
reasoningContent?: string | undefined;
|
|
549
557
|
/**
|
|
550
558
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
551
559
|
*/
|
|
@@ -1558,6 +1566,7 @@ export function createDatasetItemMessagesToolCallsToJSON(
|
|
|
1558
1566
|
|
|
1559
1567
|
/** @internal */
|
|
1560
1568
|
export type CreateDatasetItemMessagesAssistantMessage$Outbound = {
|
|
1569
|
+
reasoning_content?: string | undefined;
|
|
1561
1570
|
content?:
|
|
1562
1571
|
| string
|
|
1563
1572
|
| Array<
|
|
@@ -1582,6 +1591,7 @@ export const CreateDatasetItemMessagesAssistantMessage$outboundSchema:
|
|
|
1582
1591
|
z.ZodTypeDef,
|
|
1583
1592
|
CreateDatasetItemMessagesAssistantMessage
|
|
1584
1593
|
> = z.object({
|
|
1594
|
+
reasoningContent: z.string().optional(),
|
|
1585
1595
|
content: z.nullable(
|
|
1586
1596
|
z.union([
|
|
1587
1597
|
z.string(),
|
|
@@ -1608,6 +1618,7 @@ export const CreateDatasetItemMessagesAssistantMessage$outboundSchema:
|
|
|
1608
1618
|
).optional(),
|
|
1609
1619
|
}).transform((v) => {
|
|
1610
1620
|
return remap$(v, {
|
|
1621
|
+
reasoningContent: "reasoning_content",
|
|
1611
1622
|
toolCalls: "tool_calls",
|
|
1612
1623
|
});
|
|
1613
1624
|
});
|
|
@@ -2306,6 +2317,7 @@ export const CreateDatasetItemMessagesDatasetsAssistantMessage$inboundSchema:
|
|
|
2306
2317
|
z.ZodTypeDef,
|
|
2307
2318
|
unknown
|
|
2308
2319
|
> = z.object({
|
|
2320
|
+
reasoning_content: z.string().optional(),
|
|
2309
2321
|
content: z.nullable(
|
|
2310
2322
|
z.union([
|
|
2311
2323
|
z.string(),
|
|
@@ -2332,6 +2344,7 @@ export const CreateDatasetItemMessagesDatasetsAssistantMessage$inboundSchema:
|
|
|
2332
2344
|
).optional(),
|
|
2333
2345
|
}).transform((v) => {
|
|
2334
2346
|
return remap$(v, {
|
|
2347
|
+
"reasoning_content": "reasoningContent",
|
|
2335
2348
|
"tool_calls": "toolCalls",
|
|
2336
2349
|
});
|
|
2337
2350
|
});
|
|
@@ -2726,7 +2739,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
|
|
|
2726
2739
|
explanation: z.string().optional(),
|
|
2727
2740
|
reviewed_by_id: z.string(),
|
|
2728
2741
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2729
|
-
"2026-08-
|
|
2742
|
+
"2026-08-24T01:57:07.856Z",
|
|
2730
2743
|
).transform(v => new Date(v)),
|
|
2731
2744
|
type: z.literal("string_array"),
|
|
2732
2745
|
values: z.array(z.string()),
|
|
@@ -2816,7 +2829,7 @@ export const CreateDatasetItemEvaluations3$inboundSchema: z.ZodType<
|
|
|
2816
2829
|
explanation: z.string().optional(),
|
|
2817
2830
|
reviewed_by_id: z.string(),
|
|
2818
2831
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2819
|
-
"2026-08-
|
|
2832
|
+
"2026-08-24T01:57:07.856Z",
|
|
2820
2833
|
).transform(v => new Date(v)),
|
|
2821
2834
|
type: z.literal("boolean"),
|
|
2822
2835
|
value: z.boolean(),
|
|
@@ -2901,7 +2914,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2901
2914
|
explanation: z.string().optional(),
|
|
2902
2915
|
reviewed_by_id: z.string(),
|
|
2903
2916
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2904
|
-
"2026-08-
|
|
2917
|
+
"2026-08-24T01:57:07.855Z",
|
|
2905
2918
|
).transform(v => new Date(v)),
|
|
2906
2919
|
type: z.literal("number"),
|
|
2907
2920
|
value: z.number(),
|
|
@@ -2987,7 +3000,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2987
3000
|
explanation: z.string().optional(),
|
|
2988
3001
|
reviewed_by_id: z.string(),
|
|
2989
3002
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2990
|
-
"2026-08-
|
|
3003
|
+
"2026-08-24T01:57:07.855Z",
|
|
2991
3004
|
).transform(v => new Date(v)),
|
|
2992
3005
|
type: z.literal("string"),
|
|
2993
3006
|
value: z.string(),
|
|
@@ -3074,7 +3087,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
3074
3087
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3075
3088
|
.optional(),
|
|
3076
3089
|
updated: z.string().datetime({ offset: true }).default(
|
|
3077
|
-
"2026-08-
|
|
3090
|
+
"2026-08-24T01:56:57.966Z",
|
|
3078
3091
|
).transform(v => new Date(v)),
|
|
3079
3092
|
}).transform((v) => {
|
|
3080
3093
|
return remap$(v, {
|
|
@@ -216,6 +216,10 @@ export type CreatePromptMessagesToolCalls = {
|
|
|
216
216
|
};
|
|
217
217
|
|
|
218
218
|
export type CreatePromptMessagesAssistantMessage = {
|
|
219
|
+
/**
|
|
220
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
221
|
+
*/
|
|
222
|
+
reasoningContent?: string | undefined;
|
|
219
223
|
/**
|
|
220
224
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
221
225
|
*/
|
|
@@ -492,7 +496,7 @@ export type CreatePromptResponseFormat =
|
|
|
492
496
|
| CreatePromptResponseFormatJSONSchema;
|
|
493
497
|
|
|
494
498
|
/**
|
|
495
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
499
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
496
500
|
*
|
|
497
501
|
* @remarks
|
|
498
502
|
*
|
|
@@ -501,7 +505,7 @@ export type CreatePromptResponseFormat =
|
|
|
501
505
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
502
506
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
503
507
|
*
|
|
504
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
508
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
505
509
|
*/
|
|
506
510
|
export const CreatePromptReasoningEffort = {
|
|
507
511
|
None: "none",
|
|
@@ -510,9 +514,10 @@ export const CreatePromptReasoningEffort = {
|
|
|
510
514
|
Medium: "medium",
|
|
511
515
|
High: "high",
|
|
512
516
|
Xhigh: "xhigh",
|
|
517
|
+
Max: "max",
|
|
513
518
|
} as const;
|
|
514
519
|
/**
|
|
515
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
520
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
516
521
|
*
|
|
517
522
|
* @remarks
|
|
518
523
|
*
|
|
@@ -521,7 +526,7 @@ export const CreatePromptReasoningEffort = {
|
|
|
521
526
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
522
527
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
523
528
|
*
|
|
524
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
529
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
525
530
|
*/
|
|
526
531
|
export type CreatePromptReasoningEffort = ClosedEnum<
|
|
527
532
|
typeof CreatePromptReasoningEffort
|
|
@@ -841,7 +846,7 @@ export type PromptInput = {
|
|
|
841
846
|
| CreatePromptResponseFormatJSONSchema
|
|
842
847
|
| undefined;
|
|
843
848
|
/**
|
|
844
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
849
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
845
850
|
*
|
|
846
851
|
* @remarks
|
|
847
852
|
*
|
|
@@ -850,7 +855,7 @@ export type PromptInput = {
|
|
|
850
855
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
851
856
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
852
857
|
*
|
|
853
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
858
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
854
859
|
*/
|
|
855
860
|
reasoningEffort?: CreatePromptReasoningEffort | undefined;
|
|
856
861
|
/**
|
|
@@ -1662,7 +1667,7 @@ export type CreatePromptPromptsResponseFormat =
|
|
|
1662
1667
|
| CreatePromptResponseFormatPromptsResponse200JSONSchema;
|
|
1663
1668
|
|
|
1664
1669
|
/**
|
|
1665
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1670
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1666
1671
|
*
|
|
1667
1672
|
* @remarks
|
|
1668
1673
|
*
|
|
@@ -1671,7 +1676,7 @@ export type CreatePromptPromptsResponseFormat =
|
|
|
1671
1676
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1672
1677
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1673
1678
|
*
|
|
1674
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1679
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1675
1680
|
*/
|
|
1676
1681
|
export const CreatePromptPromptsReasoningEffort = {
|
|
1677
1682
|
None: "none",
|
|
@@ -1680,9 +1685,10 @@ export const CreatePromptPromptsReasoningEffort = {
|
|
|
1680
1685
|
Medium: "medium",
|
|
1681
1686
|
High: "high",
|
|
1682
1687
|
Xhigh: "xhigh",
|
|
1688
|
+
Max: "max",
|
|
1683
1689
|
} as const;
|
|
1684
1690
|
/**
|
|
1685
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1691
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1686
1692
|
*
|
|
1687
1693
|
* @remarks
|
|
1688
1694
|
*
|
|
@@ -1691,7 +1697,7 @@ export const CreatePromptPromptsReasoningEffort = {
|
|
|
1691
1697
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1692
1698
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1693
1699
|
*
|
|
1694
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1700
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1695
1701
|
*/
|
|
1696
1702
|
export type CreatePromptPromptsReasoningEffort = ClosedEnum<
|
|
1697
1703
|
typeof CreatePromptPromptsReasoningEffort
|
|
@@ -2105,6 +2111,10 @@ export type CreatePromptMessagesPromptsToolCalls = {
|
|
|
2105
2111
|
};
|
|
2106
2112
|
|
|
2107
2113
|
export type CreatePromptMessagesPromptsAssistantMessage = {
|
|
2114
|
+
/**
|
|
2115
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
2116
|
+
*/
|
|
2117
|
+
reasoningContent?: string | undefined;
|
|
2108
2118
|
/**
|
|
2109
2119
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
2110
2120
|
*/
|
|
@@ -2337,7 +2347,7 @@ export type PromptField = {
|
|
|
2337
2347
|
| CreatePromptResponseFormatPromptsResponse200JSONSchema
|
|
2338
2348
|
| undefined;
|
|
2339
2349
|
/**
|
|
2340
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
2350
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
2341
2351
|
*
|
|
2342
2352
|
* @remarks
|
|
2343
2353
|
*
|
|
@@ -2346,7 +2356,7 @@ export type PromptField = {
|
|
|
2346
2356
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
2347
2357
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
2348
2358
|
*
|
|
2349
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
2359
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
2350
2360
|
*/
|
|
2351
2361
|
reasoningEffort?: CreatePromptPromptsReasoningEffort | undefined;
|
|
2352
2362
|
/**
|
|
@@ -2867,6 +2877,7 @@ export function createPromptMessagesToolCallsToJSON(
|
|
|
2867
2877
|
|
|
2868
2878
|
/** @internal */
|
|
2869
2879
|
export type CreatePromptMessagesAssistantMessage$Outbound = {
|
|
2880
|
+
reasoning_content?: string | undefined;
|
|
2870
2881
|
content?:
|
|
2871
2882
|
| string
|
|
2872
2883
|
| Array<
|
|
@@ -2890,6 +2901,7 @@ export const CreatePromptMessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
2890
2901
|
z.ZodTypeDef,
|
|
2891
2902
|
CreatePromptMessagesAssistantMessage
|
|
2892
2903
|
> = z.object({
|
|
2904
|
+
reasoningContent: z.string().optional(),
|
|
2893
2905
|
content: z.nullable(
|
|
2894
2906
|
z.union([
|
|
2895
2907
|
z.string(),
|
|
@@ -2914,6 +2926,7 @@ export const CreatePromptMessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
2914
2926
|
.optional(),
|
|
2915
2927
|
}).transform((v) => {
|
|
2916
2928
|
return remap$(v, {
|
|
2929
|
+
reasoningContent: "reasoning_content",
|
|
2917
2930
|
toolCalls: "tool_calls",
|
|
2918
2931
|
});
|
|
2919
2932
|
});
|
|
@@ -5408,6 +5421,7 @@ export const CreatePromptMessagesPromptsAssistantMessage$inboundSchema:
|
|
|
5408
5421
|
z.ZodTypeDef,
|
|
5409
5422
|
unknown
|
|
5410
5423
|
> = z.object({
|
|
5424
|
+
reasoning_content: z.string().optional(),
|
|
5411
5425
|
content: z.nullable(
|
|
5412
5426
|
z.union([
|
|
5413
5427
|
z.string(),
|
|
@@ -5434,6 +5448,7 @@ export const CreatePromptMessagesPromptsAssistantMessage$inboundSchema:
|
|
|
5434
5448
|
).optional(),
|
|
5435
5449
|
}).transform((v) => {
|
|
5436
5450
|
return remap$(v, {
|
|
5451
|
+
"reasoning_content": "reasoningContent",
|
|
5437
5452
|
"tool_calls": "toolCalls",
|
|
5438
5453
|
});
|
|
5439
5454
|
});
|
|
@@ -1573,7 +1573,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1573
1573
|
z.ZodTypeDef,
|
|
1574
1574
|
unknown
|
|
1575
1575
|
> = z.object({
|
|
1576
|
-
_id: z.string().default("
|
|
1576
|
+
_id: z.string().default("tool_01M0RQRP2WF7HAHWQ2G0VJG2RW"),
|
|
1577
1577
|
path: z.string(),
|
|
1578
1578
|
key: z.string(),
|
|
1579
1579
|
display_name: z.string().optional(),
|
|
@@ -1760,7 +1760,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1760
1760
|
z.ZodTypeDef,
|
|
1761
1761
|
unknown
|
|
1762
1762
|
> = z.object({
|
|
1763
|
-
_id: z.string().default("
|
|
1763
|
+
_id: z.string().default("tool_01M0RQRP2VS5G3T221STBCGAVP"),
|
|
1764
1764
|
path: z.string(),
|
|
1765
1765
|
key: z.string(),
|
|
1766
1766
|
display_name: z.string().optional(),
|
|
@@ -1853,7 +1853,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1853
1853
|
z.ZodTypeDef,
|
|
1854
1854
|
unknown
|
|
1855
1855
|
> = z.object({
|
|
1856
|
-
_id: z.string().default("
|
|
1856
|
+
_id: z.string().default("tool_01M0RQRP2TH2QB8FZHNCA9JFZP"),
|
|
1857
1857
|
path: z.string(),
|
|
1858
1858
|
key: z.string(),
|
|
1859
1859
|
display_name: z.string().optional(),
|
|
@@ -1954,7 +1954,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1954
1954
|
z.ZodTypeDef,
|
|
1955
1955
|
unknown
|
|
1956
1956
|
> = z.object({
|
|
1957
|
-
_id: z.string().default("
|
|
1957
|
+
_id: z.string().default("tool_01M0RQRP2SMJSJZRXVYRM8J1JQ"),
|
|
1958
1958
|
path: z.string(),
|
|
1959
1959
|
key: z.string(),
|
|
1960
1960
|
display_name: z.string().optional(),
|
|
@@ -159,6 +159,10 @@ export type ToolCalls = {
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
export type AssistantMessage = {
|
|
162
|
+
/**
|
|
163
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
164
|
+
*/
|
|
165
|
+
reasoningContent?: string | undefined;
|
|
162
166
|
/**
|
|
163
167
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
164
168
|
*/
|
|
@@ -503,6 +507,10 @@ export type MessagesToolCalls = {
|
|
|
503
507
|
};
|
|
504
508
|
|
|
505
509
|
export type MessagesAssistantMessage = {
|
|
510
|
+
/**
|
|
511
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
512
|
+
*/
|
|
513
|
+
reasoningContent?: string | undefined;
|
|
506
514
|
/**
|
|
507
515
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
508
516
|
*/
|
|
@@ -1880,6 +1888,7 @@ export function toolCallsToJSON(toolCalls: ToolCalls): string {
|
|
|
1880
1888
|
|
|
1881
1889
|
/** @internal */
|
|
1882
1890
|
export type AssistantMessage$Outbound = {
|
|
1891
|
+
reasoning_content?: string | undefined;
|
|
1883
1892
|
content?:
|
|
1884
1893
|
| string
|
|
1885
1894
|
| Array<
|
|
@@ -1903,6 +1912,7 @@ export const AssistantMessage$outboundSchema: z.ZodType<
|
|
|
1903
1912
|
z.ZodTypeDef,
|
|
1904
1913
|
AssistantMessage
|
|
1905
1914
|
> = z.object({
|
|
1915
|
+
reasoningContent: z.string().optional(),
|
|
1906
1916
|
content: z.nullable(
|
|
1907
1917
|
z.union([
|
|
1908
1918
|
z.string(),
|
|
@@ -1925,6 +1935,7 @@ export const AssistantMessage$outboundSchema: z.ZodType<
|
|
|
1925
1935
|
toolCalls: z.array(z.lazy(() => ToolCalls$outboundSchema)).optional(),
|
|
1926
1936
|
}).transform((v) => {
|
|
1927
1937
|
return remap$(v, {
|
|
1938
|
+
reasoningContent: "reasoning_content",
|
|
1928
1939
|
toolCalls: "tool_calls",
|
|
1929
1940
|
});
|
|
1930
1941
|
});
|
|
@@ -2484,6 +2495,7 @@ export function messagesToolCallsToJSON(
|
|
|
2484
2495
|
|
|
2485
2496
|
/** @internal */
|
|
2486
2497
|
export type MessagesAssistantMessage$Outbound = {
|
|
2498
|
+
reasoning_content?: string | undefined;
|
|
2487
2499
|
content?:
|
|
2488
2500
|
| string
|
|
2489
2501
|
| Array<
|
|
@@ -2507,6 +2519,7 @@ export const MessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
2507
2519
|
z.ZodTypeDef,
|
|
2508
2520
|
MessagesAssistantMessage
|
|
2509
2521
|
> = z.object({
|
|
2522
|
+
reasoningContent: z.string().optional(),
|
|
2510
2523
|
content: z.nullable(
|
|
2511
2524
|
z.union([
|
|
2512
2525
|
z.string(),
|
|
@@ -2529,6 +2542,7 @@ export const MessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
2529
2542
|
toolCalls: z.array(z.lazy(() => MessagesToolCalls$outboundSchema)).optional(),
|
|
2530
2543
|
}).transform((v) => {
|
|
2531
2544
|
return remap$(v, {
|
|
2545
|
+
reasoningContent: "reasoning_content",
|
|
2532
2546
|
toolCalls: "tool_calls",
|
|
2533
2547
|
});
|
|
2534
2548
|
});
|
|
@@ -164,6 +164,10 @@ export type PrefixMessagesToolCalls = {
|
|
|
164
164
|
};
|
|
165
165
|
|
|
166
166
|
export type PrefixMessagesAssistantMessage = {
|
|
167
|
+
/**
|
|
168
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
169
|
+
*/
|
|
170
|
+
reasoningContent?: string | undefined;
|
|
167
171
|
/**
|
|
168
172
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
169
173
|
*/
|
|
@@ -516,6 +520,10 @@ export type DeploymentStreamMessagesToolCalls = {
|
|
|
516
520
|
};
|
|
517
521
|
|
|
518
522
|
export type DeploymentStreamMessagesAssistantMessage = {
|
|
523
|
+
/**
|
|
524
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
525
|
+
*/
|
|
526
|
+
reasoningContent?: string | undefined;
|
|
519
527
|
/**
|
|
520
528
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
521
529
|
*/
|
|
@@ -1764,6 +1772,7 @@ export function prefixMessagesToolCallsToJSON(
|
|
|
1764
1772
|
|
|
1765
1773
|
/** @internal */
|
|
1766
1774
|
export type PrefixMessagesAssistantMessage$Outbound = {
|
|
1775
|
+
reasoning_content?: string | undefined;
|
|
1767
1776
|
content?:
|
|
1768
1777
|
| string
|
|
1769
1778
|
| Array<
|
|
@@ -1787,6 +1796,7 @@ export const PrefixMessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
1787
1796
|
z.ZodTypeDef,
|
|
1788
1797
|
PrefixMessagesAssistantMessage
|
|
1789
1798
|
> = z.object({
|
|
1799
|
+
reasoningContent: z.string().optional(),
|
|
1790
1800
|
content: z.nullable(
|
|
1791
1801
|
z.union([
|
|
1792
1802
|
z.string(),
|
|
@@ -1811,6 +1821,7 @@ export const PrefixMessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
1811
1821
|
.optional(),
|
|
1812
1822
|
}).transform((v) => {
|
|
1813
1823
|
return remap$(v, {
|
|
1824
|
+
reasoningContent: "reasoning_content",
|
|
1814
1825
|
toolCalls: "tool_calls",
|
|
1815
1826
|
});
|
|
1816
1827
|
});
|
|
@@ -2438,6 +2449,7 @@ export function deploymentStreamMessagesToolCallsToJSON(
|
|
|
2438
2449
|
|
|
2439
2450
|
/** @internal */
|
|
2440
2451
|
export type DeploymentStreamMessagesAssistantMessage$Outbound = {
|
|
2452
|
+
reasoning_content?: string | undefined;
|
|
2441
2453
|
content?:
|
|
2442
2454
|
| string
|
|
2443
2455
|
| Array<
|
|
@@ -2461,6 +2473,7 @@ export const DeploymentStreamMessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
2461
2473
|
z.ZodTypeDef,
|
|
2462
2474
|
DeploymentStreamMessagesAssistantMessage
|
|
2463
2475
|
> = z.object({
|
|
2476
|
+
reasoningContent: z.string().optional(),
|
|
2464
2477
|
content: z.nullable(
|
|
2465
2478
|
z.union([
|
|
2466
2479
|
z.string(),
|
|
@@ -2486,6 +2499,7 @@ export const DeploymentStreamMessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
2486
2499
|
).optional(),
|
|
2487
2500
|
}).transform((v) => {
|
|
2488
2501
|
return remap$(v, {
|
|
2502
|
+
reasoningContent: "reasoning_content",
|
|
2489
2503
|
toolCalls: "tool_calls",
|
|
2490
2504
|
});
|
|
2491
2505
|
});
|
|
@@ -707,7 +707,7 @@ export type GetAllPromptsResponseFormat =
|
|
|
707
707
|
| GetAllPromptsResponseFormatPromptsJSONSchema;
|
|
708
708
|
|
|
709
709
|
/**
|
|
710
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
710
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
711
711
|
*
|
|
712
712
|
* @remarks
|
|
713
713
|
*
|
|
@@ -716,7 +716,7 @@ export type GetAllPromptsResponseFormat =
|
|
|
716
716
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
717
717
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
718
718
|
*
|
|
719
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
719
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
720
720
|
*/
|
|
721
721
|
export const GetAllPromptsReasoningEffort = {
|
|
722
722
|
None: "none",
|
|
@@ -725,9 +725,10 @@ export const GetAllPromptsReasoningEffort = {
|
|
|
725
725
|
Medium: "medium",
|
|
726
726
|
High: "high",
|
|
727
727
|
Xhigh: "xhigh",
|
|
728
|
+
Max: "max",
|
|
728
729
|
} as const;
|
|
729
730
|
/**
|
|
730
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
731
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
731
732
|
*
|
|
732
733
|
* @remarks
|
|
733
734
|
*
|
|
@@ -736,7 +737,7 @@ export const GetAllPromptsReasoningEffort = {
|
|
|
736
737
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
737
738
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
738
739
|
*
|
|
739
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
740
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
740
741
|
*/
|
|
741
742
|
export type GetAllPromptsReasoningEffort = ClosedEnum<
|
|
742
743
|
typeof GetAllPromptsReasoningEffort
|
|
@@ -1148,6 +1149,10 @@ export type GetAllPromptsMessagesToolCalls = {
|
|
|
1148
1149
|
};
|
|
1149
1150
|
|
|
1150
1151
|
export type GetAllPromptsMessagesAssistantMessage = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
|
|
1154
|
+
*/
|
|
1155
|
+
reasoningContent?: string | undefined;
|
|
1151
1156
|
/**
|
|
1152
1157
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
1153
1158
|
*/
|
|
@@ -1376,7 +1381,7 @@ export type GetAllPromptsPromptField = {
|
|
|
1376
1381
|
| GetAllPromptsResponseFormatPromptsJSONSchema
|
|
1377
1382
|
| undefined;
|
|
1378
1383
|
/**
|
|
1379
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `
|
|
1384
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1380
1385
|
*
|
|
1381
1386
|
* @remarks
|
|
1382
1387
|
*
|
|
@@ -1385,7 +1390,7 @@ export type GetAllPromptsPromptField = {
|
|
|
1385
1390
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1386
1391
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1387
1392
|
*
|
|
1388
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1393
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1389
1394
|
*/
|
|
1390
1395
|
reasoningEffort?: GetAllPromptsReasoningEffort | undefined;
|
|
1391
1396
|
/**
|
|
@@ -2982,6 +2987,7 @@ export const GetAllPromptsMessagesAssistantMessage$inboundSchema: z.ZodType<
|
|
|
2982
2987
|
z.ZodTypeDef,
|
|
2983
2988
|
unknown
|
|
2984
2989
|
> = z.object({
|
|
2990
|
+
reasoning_content: z.string().optional(),
|
|
2985
2991
|
content: z.nullable(
|
|
2986
2992
|
z.union([
|
|
2987
2993
|
z.string(),
|
|
@@ -3007,6 +3013,7 @@ export const GetAllPromptsMessagesAssistantMessage$inboundSchema: z.ZodType<
|
|
|
3007
3013
|
).optional(),
|
|
3008
3014
|
}).transform((v) => {
|
|
3009
3015
|
return remap$(v, {
|
|
3016
|
+
"reasoning_content": "reasoningContent",
|
|
3010
3017
|
"tool_calls": "toolCalls",
|
|
3011
3018
|
});
|
|
3012
3019
|
});
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M0RQRP2KJHV9XS1RFRVRC7Q0"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M0RQRP2J1X5M8EWGSVJPDEY0"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M0RQRP2HDRSF2NHX80GC42EA"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M0RQRP2GM8W2AMMECGZ1DJXJ"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|