Router Select

View as Markdown
Resolve the Auto Router's model choice for a prompt without running inference.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
messageslist of objectsRequired
api_typeenumOptionalDefaults to completions
exclude_modelslist of strings or nullOptional

Response

Successful Response
modelstring
auto_routerobject
reasoning_effortenum or null

Errors

422
Unprocessable Entity Error