Create AI Model
Creates a bare AI Model. No target_models are accepted here — create the version separately with POST /ai-models/{aiModelId}/versions.
Request body
Example request
{
"name": "my-ai-model",
"display_name": "My AI Model",
"description": "Customer support triage model",
"labels": {
"env": "test"
}
}Response
The created AI Model
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "my-ai-model",
"display_name": "My AI Model",
"description": "Customer support triage model",
"labels": {
"env": "test"
},
"managed_by": {
"owner": "terraform"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
Changed in 3 of the 55 revisions of this API.3325
- ●
added the new
400.00enum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
403.00enum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
409.00enum value to theresponse property for the response statusresponse-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the response's body type changed from no type to
objectfor statusresponse-body-type-changed
- ▲
the response's body type changed from no type to
objectfor statusresponse-body-type-changed
- ▲
the response's body type changed from no type to
objectfor statusresponse-body-type-changed
- ○
removed
subschema #2from the response bodyallOflist for the response statusresponse-body-all-of-removed
- ○
removed
subschema #2from the response bodyallOflist for the response statusresponse-body-all-of-removed
- ○
removed
subschema #2from the response bodyallOflist for the response statusresponse-body-all-of-removed
- ○
removed
subschema #2from the response bodyallOflist for the response statusresponse-body-all-of-removed
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○