Skip to main content
POST
/
api
/
v1
/
models
/
{id}
/
test
Test Model
curl --request POST \
  --url https://api.example.com/api/v1/models/{id}/test \
  --header 'Authorization: Bearer <token>'
{
  "model_id": "claude-opus-4-6",
  "status": "ok",
  "error_message": "<string>"
}

Authorizations

Authorization
string
header
required

Raw dev token passed as Authorization: Bearer fabro_dev_... when server.auth.methods includes dev-token.

Path Parameters

id
string
required

The model identifier.

Query Parameters

mode
enum<string>

Test mode for the single-model test endpoint. Defaults to basic. Single-model test mode.

Available options:
basic,
deep

Response

Test result

Result of testing a model in basic or deep mode.

model_id
string
required

The model identifier that was tested.

Example:

"claude-opus-4-6"

status
enum<string>
required

Whether the model responded successfully, failed, or was skipped because its provider is not configured.

Available options:
ok,
error,
skip
error_message
string | null

Error details when status is "error".