Create model
Create a private model repository owned by a user or organization. The caller
must be allowed to create repositories for owner.
/v1/modelsAuthorization
Send a Modaic bearer token in the Authorization header.
Parameters
The user or organization slug.
The model slug. It must start with an alphanumeric character and may contain
letters, digits, ., _, and -, up to 100 characters.
A description up to 1,000 characters.
The initial default branch.
Up to 20 initial files. Each item has operation: "upsert", a path up to
512 characters, and string contents up to 1,000,000 characters.
Response
The modelId used by model-scoped API routes.
Public metadata for the owning user or organization.
Model repositories are private.
After creation, call Update model to
set the root model and typed questions, or include a valid model.json in
initialFiles.