Skip to main content
Base URL: https://rl-gym-api.collinear.ai Validate a model configuration by sending a test completion request.
POST /test-model-config
Request body: A ModelConfig object (same schema as in Launch Runs). Response: 200 OK
{
  "success": true,
  "message": "Model responded successfully",
  "error_type": null
}
FieldTypeDescription
successboolWhether the test completion succeeded
messagestringHuman-readable result summary or error description
error_typestringError classification: authentication_error, connection_error, timeout, invalid_model, rate_limit, bad_request, or unknown