curl --request PUT \
--url https://api.example.com/api/v1/secrets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chat_config": {
"api_key": "<string>",
"model": "<string>"
},
"inference_config": {
"api_key": "<string>",
"model": "<string>"
}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request PUT \
--url https://api.example.com/api/v1/secrets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chat_config": {
"api_key": "<string>",
"model": "<string>"
},
"inference_config": {
"api_key": "<string>",
"model": "<string>"
}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}