Publish models

post/models
Internal-Use Only

Publish one or more models to a CAS server, Hadoop, SAS Micro Analytic Service, or Teradata, as well as Azure Machine Learning (AML), and container destinations such as Amazon Web Services (AWS), Azure, Google Cloud Platform (GCP), and Private Docker.

Request Samples

1

Response Samples

1{
2 "name": "string",
3 "start": -9223372036854776000,
4 "limit": 0,
5 "count": -9223372036854776000,
6 "accept": "string",
7 "links": [
8 {
9 "method": "string",
10 "rel": "string",
11 "uri": "string",
12 "href": "string",
13 "title": "string",
14 "type": "string",
15 "itemType": "string",
16 "responseType": "string",
17 "responseItemType": "string"
18 }
19 ],
20 "version": 0
21}

Query Parameters

NameTypeRequiredDescription
promoteModelTable
boolean
false

Indicates whether to promote the destination table.

reuseExistingModules
boolean
false

Reuse the published modules.

Header Parameters

NameTypeRequiredDescription
Authorization
string
true

Authorization

Request Body

pReq

Contains information about a publishing model request.

NameTypeRequiredDescription
description
string
false

The description for the published model.

modelContents
array [Publishing Model Content]
true

A list of models.

name
string
true

The published name of a model.

note
string
false

The description for the published model.

destinationName
string
true

The name of the publishing destination.

verified
boolean
false

Indicates whether the model is verified.

Example:
false
version
integer
false

The API representation version.

Default:
1

Responses

StatusMeaningDescription
201CreatedThe models were published.HeadersSchema
400Bad RequestThe request was invalid.Schema