Scheduler
Creates a schedule check for a model drift
POST
/
model-monitor
/
api
/
scheduler
/
create_drift_schedule_check
Creates a schedule check for a model drift
curl --request POST \
--url https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"modelId": "<string>",
"cronExpression": "<string>",
"dataSinceLastCheck": true,
"dataSince": 123,
"calendarType": "<string>",
"timezone": "<string>",
"datasetId": "<string>"
}
'import requests
url = "https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check"
payload = {
"name": "<string>",
"modelId": "<string>",
"cronExpression": "<string>",
"dataSinceLastCheck": True,
"dataSince": 123,
"calendarType": "<string>",
"timezone": "<string>",
"datasetId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
modelId: '<string>',
cronExpression: '<string>',
dataSinceLastCheck: true,
dataSince: 123,
calendarType: '<string>',
timezone: '<string>',
datasetId: '<string>'
})
};
fetch('https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'modelId' => '<string>',
'cronExpression' => '<string>',
'dataSinceLastCheck' => true,
'dataSince' => 123,
'calendarType' => '<string>',
'timezone' => '<string>',
'datasetId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"modelId\": \"<string>\",\n \"cronExpression\": \"<string>\",\n \"dataSinceLastCheck\": true,\n \"dataSince\": 123,\n \"calendarType\": \"<string>\",\n \"timezone\": \"<string>\",\n \"datasetId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"modelId\": \"<string>\",\n \"cronExpression\": \"<string>\",\n \"dataSinceLastCheck\": true,\n \"dataSince\": 123,\n \"calendarType\": \"<string>\",\n \"timezone\": \"<string>\",\n \"datasetId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"modelId\": \"<string>\",\n \"cronExpression\": \"<string>\",\n \"dataSinceLastCheck\": true,\n \"dataSince\": 123,\n \"calendarType\": \"<string>\",\n \"timezone\": \"<string>\",\n \"datasetId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"modelId": "<string>",
"cronExpression": "<string>",
"timezone": "<string>",
"isPaused": true,
"dataSinceLastCheck": true,
"datasetId": "<string>",
"dataSince": 123,
"calendarType": "<string>"
}Body
application/json
Last modified on August 27, 2026
Related topics
Gets schedule check job for model drift.Get model monitorv2apimodel drift schedule checks historyGet model monitorv2apimodel scheduled check drift dataCreates a schedule check for model quality.Was this page helpful?
⌘I
Creates a schedule check for a model drift
curl --request POST \
--url https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"modelId": "<string>",
"cronExpression": "<string>",
"dataSinceLastCheck": true,
"dataSince": 123,
"calendarType": "<string>",
"timezone": "<string>",
"datasetId": "<string>"
}
'import requests
url = "https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check"
payload = {
"name": "<string>",
"modelId": "<string>",
"cronExpression": "<string>",
"dataSinceLastCheck": True,
"dataSince": 123,
"calendarType": "<string>",
"timezone": "<string>",
"datasetId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
modelId: '<string>',
cronExpression: '<string>',
dataSinceLastCheck: true,
dataSince: 123,
calendarType: '<string>',
timezone: '<string>',
datasetId: '<string>'
})
};
fetch('https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'modelId' => '<string>',
'cronExpression' => '<string>',
'dataSinceLastCheck' => true,
'dataSince' => 123,
'calendarType' => '<string>',
'timezone' => '<string>',
'datasetId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"modelId\": \"<string>\",\n \"cronExpression\": \"<string>\",\n \"dataSinceLastCheck\": true,\n \"dataSince\": 123,\n \"calendarType\": \"<string>\",\n \"timezone\": \"<string>\",\n \"datasetId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"modelId\": \"<string>\",\n \"cronExpression\": \"<string>\",\n \"dataSinceLastCheck\": true,\n \"dataSince\": 123,\n \"calendarType\": \"<string>\",\n \"timezone\": \"<string>\",\n \"datasetId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/model-monitor/api/scheduler/create_drift_schedule_check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"modelId\": \"<string>\",\n \"cronExpression\": \"<string>\",\n \"dataSinceLastCheck\": true,\n \"dataSince\": 123,\n \"calendarType\": \"<string>\",\n \"timezone\": \"<string>\",\n \"datasetId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"modelId": "<string>",
"cronExpression": "<string>",
"timezone": "<string>",
"isPaused": true,
"dataSinceLastCheck": true,
"datasetId": "<string>",
"dataSince": 123,
"calendarType": "<string>"
}