Create Model
POST/api/v1/orgs/{orgId}/ai-models
Create a new AI model under the organization. The model holds no file yet — editions are registered and uploaded separately.
-
modelNamemust pass name-format validation and be unique within the organization. -
Returns 201 with the created model record (including the generated modelId).
-
Returns 400 for a missing orgId (MissingOrgId) or an invalid name (InvalidNameFormat), 403 if the org is not accessible to the caller's tenant (OrgNotInTenant), and 409 if the name already exists (ModelNameExists).
Request
Responses
- 201
- 400
- 409
Created
Bad Request
Conflict