v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01251238661.6 KB
v1
protected
model-instances

Validate Model Instance

Test a model instance configuration before creating it.

post/v1/model-instances/test

Request body

model_spec_idstring uuid required
provider_config_idstring uuid required
test_messagestring nullable

Response

Successful Response

costnumber nullable
error_typestring nullable
messagestring required
model_namestring nullable
provider_typestring nullable
response_contentstring nullable
successboolean required
tokens_usedinteger nullable