Get model
Gets a DMM model either via a unique model identifier or via a unique combination of workbench model id and workbench model version id
curl --request GET \
--url https://mycluster.domino.tech/model-monitor/v2/api/model \
--header 'X-Domino-Api-Key: <api-key>'import requests
url = "https://mycluster.domino.tech/model-monitor/v2/api/model"
headers = {"X-Domino-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Domino-Api-Key': '<api-key>'}};
fetch('https://mycluster.domino.tech/model-monitor/v2/api/model', 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/v2/api/model",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Domino-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/model-monitor/v2/api/model"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Domino-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mycluster.domino.tech/model-monitor/v2/api/model")
.header("X-Domino-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/model-monitor/v2/api/model")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Domino-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"name": "<string>",
"modelType": "classification",
"version": "<string>",
"id": "<string>",
"createdAt": 123,
"updatedAt": 123,
"userId": "<string>",
"ingestionStatus": "created",
"registrationStatus": "draft",
"isDeleted": true,
"description": "<string>",
"author": "<string>",
"dateCreated": 123,
"sourceType": "domino_workbench",
"sourceDetails": {
"workbenchModelId": "<string>",
"workbenchModelVersionId": "<string>"
},
"ownerUsername": "<string>",
"ownerEmail": "<string>",
"ownerName": "<string>",
"tags": [
{
"id": "<string>",
"tagName": "<string>"
}
],
"visibility": "public",
"collaborators": [
{
"userId": "<string>",
"collaboratorLevel": "editor"
}
],
"permissions": {
"canRegisterDataset": true,
"canUpdateMonitoringSettings": true,
"canEditPermissions": true
}
}Authorizations
Response
Successfully fetched the Model.
Model Config to be used to register a model with DMM.
Name of the Model.
Type of the Model.
classification, regression Version of the Model.
Model Identifier.
Creation timestamp of the Model.
Last update timestamp for the Model.
Id of the model owner, who created the model.
Dataset Ingestion status for a model.
created, training, prediction, ground_truth Registration status of a model.
draft, created, deleted Whether the model is deleted or not.
Description for the Model.
Author of the Model.
The creation date of the model.
Source for the model registration.
domino_workbench, standalone Model details associated with a Domino workbench model.
Show child attributes
Show child attributes
username of the model owner, who created the model.
email of the model owner, who created the model.
name of the model owner, who created the model.
List of tags associated with the model
Show child attributes
Show child attributes
Model visibility
public, private Show child attributes
Show child attributes
Permission metadata required for a model response
Show child attributes
Show child attributes
Was this page helpful?
curl --request GET \
--url https://mycluster.domino.tech/model-monitor/v2/api/model \
--header 'X-Domino-Api-Key: <api-key>'import requests
url = "https://mycluster.domino.tech/model-monitor/v2/api/model"
headers = {"X-Domino-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Domino-Api-Key': '<api-key>'}};
fetch('https://mycluster.domino.tech/model-monitor/v2/api/model', 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/v2/api/model",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Domino-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/model-monitor/v2/api/model"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Domino-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mycluster.domino.tech/model-monitor/v2/api/model")
.header("X-Domino-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/model-monitor/v2/api/model")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Domino-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"name": "<string>",
"modelType": "classification",
"version": "<string>",
"id": "<string>",
"createdAt": 123,
"updatedAt": 123,
"userId": "<string>",
"ingestionStatus": "created",
"registrationStatus": "draft",
"isDeleted": true,
"description": "<string>",
"author": "<string>",
"dateCreated": 123,
"sourceType": "domino_workbench",
"sourceDetails": {
"workbenchModelId": "<string>",
"workbenchModelVersionId": "<string>"
},
"ownerUsername": "<string>",
"ownerEmail": "<string>",
"ownerName": "<string>",
"tags": [
{
"id": "<string>",
"tagName": "<string>"
}
],
"visibility": "public",
"collaborators": [
{
"userId": "<string>",
"collaboratorLevel": "editor"
}
],
"permissions": {
"canRegisterDataset": true,
"canUpdateMonitoringSettings": true,
"canEditPermissions": true
}
}