Skip to main content
POST
/
api
/
v1
/
provider
/
models
/
embedding
/
{model_uuid}
/
test
Test an embedding model
curl --request POST \
  --url http://localhost:5300/api/v1/provider/models/embedding/{model_uuid}/test \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{}'
{
  "code": 0,
  "msg": "ok",
  "data": {}
}

Authorizations

X-API-Key
string
header
required

API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here

Path Parameters

model_uuid
string<uuid>
required

Model UUID

Body

application/json

The body is of type object.

Response

Model test successful

code
integer
Example:

0

msg
string
Example:

"ok"

data
object