[Deprecated] Use /ai-optimizer/v1beta/organizations/{organization_id}/playground-chat-completions instead.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Defines the request for creating chat completions in playground.

Defines the request for creating chat completions in playground.

selectedPlaygroundProviders
array of objects
required
selectedPlaygroundProviders*
selectedRegisteredProviders
array of objects
required
selectedRegisteredProviders*
routerChatCompletion
object
required

Defines the request for chat completion. It supports a subset of OpenAI API (https://platform.openai.com/docs/api-reference/chat/create) spec.

proxyChatCompletion
object
required

Defines the request for chat completion. It supports a subset of OpenAI API (https://platform.openai.com/docs/api-reference/chat/create) spec.

double | null

This weight determines the importance of the quality over cost when comparing models. Default is 0.5.
E.g.:
0.5 means that the quality of the model is as important as the cost.
1 means that only the quality will be considered.
0 means that only the cost will be considered.

Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json