Create model
POST/api/v1/lhc/models/add
Registers a new provider or custom model configuration.
Requires Builder or Administrator role. Only administrators can
create Provider Models (configurations with a provider_type and no
base_model_id) — builders may only create Custom Models.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 500
Model created successfully
Invalid model data or creation failed
Authentication required — provide a valid Bearer token
Builder/Administrator role required, or only administrators may create Provider Models
Model ID already exists
An unexpected error occurred