Download
client.models.download(stringmodelID, ModelDownloadParams { modelEpoch } body, RequestOptionsoptions?): ModelDownloadResponse { jobId }
POST/models/{modelId}/download
Download
import Scenario from '@scenario-labs/sdk';
const client = new Scenario({
apiKey: process.env['SCENARIO_SDK_API_KEY'], // This is the default and can be omitted
apiSecret: process.env['SCENARIO_SDK_API_SECRET'], // This is the default and can be omitted
});
const response = await client.models.download('modelId');
console.log(response.jobId);{
"jobId": "jobId"
}Returns Examples
{
"jobId": "jobId"
}