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

Authorizations

Authorization
string
header
required

JWT bearer token issued by fabro-web. See the Authentication guide for details.

Path Parameters

id
string
required

The model identifier.

Response

Test result

Result of testing a model with a simple prompt.

model_id
string
required

The model identifier that was tested.

Example:

"claude-opus-4-6"

status
enum<string>
required

Whether the model responded successfully.

Available options:
ok,
error
error_message
string | null

Error details when status is "error".