Genbase
ApiEmbedding

Set Default Embedding Model

POST
/embedding/set

Authorization

AuthorizationRequiredBearer <token>

JWT Token for authenticated users (obtained via /auth/jwt/login).

In: header

Request Body

application/jsonRequired
model_nameRequiredstring
curl -X POST "http://localhost:8000/embedding/set" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "model_name": "string"
  }'

Response containing a model name

{
  "model_name": "string"
}