Skip to main content

Make Permanent Cached Model Permanent

To use runner trained model need to be saved permanently. Use this endpoint to make cached models permanent.

Method: POST Authorization: API Key
https://engine.raccoon-ai.io/api/v1/trainer/ml/permanent/<cached_model_id>

Important: <cached_model_id> will be available after you trained the model with trainer. Refer trainer to find <cached_model_id>.

Authorization

TypeKeyValue
API KeyX-Api-Keyrae_##########

Request Body

KeyData TypeRequiredDescription
model_namestringtrueName for the trained model
short_descstringtrueShort description to explain about the model
long_descstringtrueLong description to explain deeply about model (Supports Markdown (MD)).

Types

{
"model_name": <string>,
"short_desc": <sting>,
"long_desc": <string>
}

Sample

{
"model_name": "My Model",
"short_desc": "This is my model short description",
"long_desc": "This is my model long description. This support **MARKDOWN**"
}

Reponse Body

KeyData TypeDescription
successbooleanIndicate the success of the request
msgstringMessage indicators
error_codeintError code information, only set if success is false
resultjsonResult, only set if success is true
gen_atdatetimeGenerated datetime

Types

{
"success": <bool>,
"msg": <string>,
"error": <null> or <string>,
"result": <json>,
"score": <json>,
"generated_ts": <timestamp>
}

Sample