This document provides an overview of the OpenAI API compatible endpoints provided by amberSearch.
amberSearch
and webSearch
, to enhance your application’s capabilities.
The base URL for the API is:
Authorization
header of your request. The API key should be prefixed with Bearer
.
GET /models
to list all available models.GET /models/{model}
to get details about a specific model.amberai
version of the model. To do this, simply append -amberai
to the model identifier. For example, if you want to use the gpt-4o
model with amberSearch, you would use gpt-4o-amberai
. The amberai
version of the model is optimized with our custom instructions, providing a better experience for your applications if you just want to use it without any modifications.
list
str
bool
float
dict
list
role
and content
. The roles can be one of the following:
system
user
assistant
amberSearch
and webSearch
. The amberSearch
tool is enabled by default unless you pass an empty array to the tools parameter.
To specify which tool to be used, simply pass it in the request body as follows:
language
parameter in the metadata of the request body as follows:
language
parameter is de
(German). If you don’t specify it, the system will assume that the messages are in German. If you want to use English, you need to explicitly set the language
parameter to en
.