Describes the properties and structure of a custom model object.
The model import API is currently available only in Singapore. For other regions, import your model through the Model Studio console.
A custom model object contains the complete information for an import job. You create it with the Create Import Job API and retrieve it with the Get Import Job Details and List Import Jobs APIs. After the import is complete, you can deploy the model using the Create Deployment API. The following table describes the fields of a custom model object.
Object fields
|
Parameter |
Type |
Description |
|
request_id |
String |
The request ID. |
|
output.job_id |
String |
The ID of the import job. Use this ID to query the job status or delete the job. |
|
output.model_name |
String |
The system-generated model name. The format is the base model name followed by a timestamp suffix. |
|
output.display_name |
String |
The display name of the imported model. |
|
output.source |
String |
The import source. The returned value is |
|
output.weight_type |
String |
The fine-tuning type. |
|
output.storage_info |
Object |
The storage location of the import source. This object contains the |
|
output.status |
String |
The job status. For more information, see Job status. |
|
output.gmt_create |
String |
The creation time of the job, in ISO 8601 format. Example: |
Job status
An import job can have one of the following statuses during its lifecycle:
|
Status |
Description |
|
PENDING |
The job is in the queue for processing. |
|
RUNNING |
The system is validating and importing the model files. |
|
SUCCEEDED |
The job succeeded. The model is imported and can be deployed using the Create Deployment API. |
|
FAILED |
The job failed. You can query the job details to get the |