Skip to main content

Create an AI 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.

  • modelName must be unique within the organization and 1 to 255 characters long. Allowed characters are English letters (a-z, A-Z), digits (0-9), hyphen (-), and underscore (_). Any other character, including whitespace, control characters, and symbols such as . / \ : * ? " < > |, is rejected.

  • Returns 201 with the created model record (including the generated modelId).

  • Returns 400 for an invalid name (WEDA.AiModelUpload.InvalidNameFormat), or ValidationError when modelName is missing or longer than 255 characters. Returns 403 if the caller cannot access the organization (WEDA.CommonOrganization.IdPermissionDenied), and 409 if the name already exists in the organization (WEDA.Common.AlreadyExists).

Request​

Responses​

Created model record.