> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Put model monitorv2apimodel register dataset



## OpenAPI

````yaml /api-specs/6.3/public-api.json put /model-monitor/v2/api/model/{model_id}/register-dataset/{dataset_type}
openapi: 3.0.3
info:
  title: Domino Public API
  description: Reference for Domino's public REST API endpoints.
  version: 6.3.0
  x-catalog-key: nucleus
servers:
  - url: https://mycluster.domino.tech
    description: >-
      Replace 'mycluster.domino.tech' with your Domino cluster hostname. For
      Domino Cloud customers, that is `your-subdomain`.domino.tech (e.g.,
      acme.domino.tech). For self-hosted deployments, it is the hostname you
      reach the Domino UI at.
security: []
tags:
  - name: AIGateway
    x-displayName: AIGateway
  - name: AppInstances
    x-displayName: AppInstances
  - name: AppVersions
    x-displayName: AppVersions
  - name: Apps
    x-displayName: Apps
  - name: AsyncPredictions
    x-displayName: AsyncPredictions
  - name: AuditTrail
    x-displayName: AuditTrail
  - name: BillingTag
    x-displayName: BillingTag
  - name: BillingTagSettings
    x-displayName: BillingTagSettings
  - name: Cost
    x-displayName: Cost
  - name: CustomMetrics
    x-displayName: CustomMetrics
  - name: DataSource
    x-displayName: DataSource
  - name: DatasetRw
    x-displayName: DatasetRw
  - name: DeploymentTargets
    x-displayName: DeploymentTargets
  - name: Environments
    x-displayName: Environments
  - name: Extensions
    x-displayName: Extensions
  - name: GenAI
    x-displayName: GenAI
  - name: HPC Jobs
    x-displayName: HPC Jobs
  - name: HardwareTier
    x-displayName: HardwareTier
  - name: Jobs
    x-displayName: Jobs
  - name: ModelAPI
    x-displayName: ModelAPI
  - name: ModelAPIVersion
    x-displayName: ModelAPIVersion
  - name: ModelDeployment
    x-displayName: ModelDeployment
  - name: Organizations
    x-displayName: Organizations
  - name: PPM
    x-displayName: PPM
  - name: PersonalAccessToken
    x-displayName: PersonalAccessToken
  - name: ProjectSharedDatasets
    x-displayName: ProjectSharedDatasets
  - name: ProjectTemplates
    x-displayName: ProjectTemplates
  - name: Projects
    x-displayName: Projects
  - name: ProjectsCommits
    x-displayName: ProjectsCommits
  - name: ProjectsFiles
    x-displayName: ProjectsFiles
  - name: RegisteredModels
    x-displayName: RegisteredModels
  - name: ServiceAccounts
    x-displayName: ServiceAccounts
  - name: Users
    x-displayName: Users
  - name: Workspaces
    x-displayName: Workspaces
  - name: nucleus_other
    x-displayName: other
  - name: PersonalAccessTokenAdmin
    x-displayName: PersonalAccessTokenAdmin
  - name: Git Credentials
    x-displayName: Git Credentials
  - name: Activity
    x-displayName: Activity
  - name: Admin
    x-displayName: Admin
  - name: Notifications
    x-displayName: Notifications
  - name: Adminnotifications
    x-displayName: Adminnotifications
  - name: UserManagement
    x-displayName: UserManagement
  - name: WhiteLabel
    x-displayName: WhiteLabel
  - name: Authentication and Authorization
    x-displayName: Authentication and Authorization
  - name: Code
    x-displayName: Code
  - name: ComputeCluster
    x-displayName: ComputeCluster
  - name: Control Center
    x-displayName: Control Center
  - name: controlcenter
    x-displayName: controlcenter
  - name: DataSourceCredential
    x-displayName: DataSourceCredential
  - name: DataMount
    x-displayName: DataMount
  - name: DataPlane
    x-displayName: DataPlane
  - name: dataset
    x-displayName: dataset
  - name: Datasets
    x-displayName: Datasets
  - name: datasetrw.api
    x-displayName: datasetrw.api
  - name: DatasetObjectStore
    x-displayName: DatasetObjectStore
  - name: DevelopV1ProjectTemplates
    x-displayName: DevelopV1ProjectTemplates
  - name: DevelopV1Projects
    x-displayName: DevelopV1Projects
  - name: Execution Events
    x-displayName: Execution Events
  - name: Files
    x-displayName: Files
  - name: Frontend
    x-displayName: Frontend
  - name: Gateway
    x-displayName: Gateway
  - name: Runs
    x-displayName: Runs
  - name: Search
    x-displayName: Search
  - name: Git
    x-displayName: Git
  - name: Metadata
    x-displayName: Metadata
  - name: Gruz
    x-displayName: Gruz
  - name: Guardrails
    x-displayName: Guardrails
  - name: Hardware Tier
    x-displayName: Hardware Tier
  - name: ActionableInsights
    x-displayName: ActionableInsights
  - name: Socket
    x-displayName: Socket
  - name: Job
    x-displayName: Job
  - name: Tags
    x-displayName: Tags
  - name: JobComments
    x-displayName: JobComments
  - name: LogsWithProblemSuggestion
    x-displayName: LogsWithProblemSuggestion
  - name: JobResults
    x-displayName: JobResults
  - name: Layout
    x-displayName: Layout
  - name: Metrics
    x-displayName: Metrics
  - name: MLFlow
    x-displayName: MLFlow
  - name: ModelManager
    x-displayName: ModelManager
  - name: Model Products
    x-displayName: Model Products
  - name: Project Goals
    x-displayName: Project Goals
  - name: ProjectManagement
    x-displayName: ProjectManagement
  - name: Templates
    x-displayName: Templates
  - name: Project
    x-displayName: Project
  - name: Launchers
    x-displayName: Launchers
  - name: Scheduled Jobs
    x-displayName: Scheduled Jobs
  - name: Quota
    x-displayName: Quota
  - name: RemoteFileSystem
    x-displayName: RemoteFileSystem
  - name: Scheduled Runs
    x-displayName: Scheduled Runs
  - name: Workspace
    x-displayName: Workspace
  - name: Logs
    x-displayName: Logs
  - name: WorkspaceComments
    x-displayName: WorkspaceComments
  - name: WorkspaceResults
    x-displayName: WorkspaceResults
  - name: Resource
    description: The Data Plane Resource API
    x-displayName: Resource
  - name: authz
    x-displayName: authz
  - name: volumes
    x-displayName: volumes
  - name: data transfers
    x-displayName: data transfers
  - name: downloads
    x-displayName: downloads
  - name: filesystems
    x-displayName: filesystems
  - name: snapshots
    x-displayName: snapshots
  - name: tasks
    x-displayName: tasks
  - description: Manage taxonomy namespaces.
    name: Tagging - Namespaces
    x-displayName: Tagging - Namespaces
  - description: Manage tags within namespaces.
    name: Tagging - Tags
    x-displayName: Tagging - Tags
  - description: Assign, remove, and list tag assignments on entities.
    name: Tagging - Entity Tags
    x-displayName: Tagging - Entity Tags
  - description: Look up entities by tag.
    name: Tagging - Entities
    x-displayName: Tagging - Entities
  - description: Fetch the full namespace + tag hierarchy.
    name: Tagging - Taxonomy Tree
    x-displayName: Tagging - Taxonomy Tree
  - description: Validate and import taxonomy data from a file.
    name: Tagging - Import
    x-displayName: Tagging - Import
  - description: Export the current taxonomy to a file.
    name: Tagging - Export
    x-displayName: Tagging - Export
  - description: Internal-only endpoints for service-account callers.
    name: Tagging - Internal
    x-displayName: Tagging - Internal
  - description: Manage property definitions and their groups.
    name: Properties - Definitions
    x-displayName: Properties - Definitions
  - description: Read and update an entity's property values.
    name: Properties - Values
    x-displayName: Properties - Values
  - description: Internal-only endpoints for service-account callers (properties).
    name: Properties - Internal
    x-displayName: Properties - Internal
  - name: config
    x-displayName: config
  - name: Workloads
    description: Everything related to deploying and managingDomino Workloads
    x-displayName: Workloads
  - name: Executor
    description: Executor-related commands
    x-displayName: Executor
  - name: HPC
    description: HPC workload management
    x-displayName: HPC
  - name: Endpoints
    x-displayName: Endpoints
  - name: mlflow-proxy_other
    x-displayName: other
  - name: attachments
    x-displayName: attachments
  - name: bundle-stages
    x-displayName: bundle-stages
  - name: bundles
    x-displayName: bundles
  - name: findings
    x-displayName: findings
  - name: drafts
    x-displayName: drafts
  - name: evidence-templates
    x-displayName: evidence-templates
  - name: policies
    x-displayName: policies
  - name: policy-versions
    x-displayName: policy-versions
  - name: policy-enforcers
    x-displayName: policy-enforcers
  - name: results
    x-displayName: results
  - name: rpc
    x-displayName: rpc
  - name: approvals
    x-displayName: approvals
  - description: >-
      Create, query, bulk-update, and evaluate priority-based access control
      rules.
    name: rules
    x-displayName: rules
  - name: DatasetJob
    description: All Dataset Job related operations.
    x-displayName: DatasetJob
  - name: Model
    description: All Model related operations.
    x-displayName: Model
  - name: ModelTag
    description: Operations related to the management of model tags.
    x-displayName: ModelTag
  - name: ModelDrift
    description: All Model drift related operations.
    x-displayName: ModelDrift
  - name: ModelQuality
    description: All Model quality related operations.
    x-displayName: ModelQuality
  - name: Workbench
    description: All Workbench related operations.
    x-displayName: Workbench
  - name: DefaultSettings
    description: Operations related to drift and model quality defaults setting in DMM.
    x-displayName: DefaultSettings
  - name: UserSettings
    description: Operations related to configuring user related settings for DMM.
    x-displayName: UserSettings
  - name: Notification
    description: >-
      Operations related to configuring notification channel config and alert
      recipients for the model.
    x-displayName: Notification
  - name: Other
    description: Other miscellaneous operations.
    x-displayName: Other
  - name: Scheduler
    description: All scheduler related operations
    x-displayName: Scheduler
  - name: GlobalSettings
    x-displayName: GlobalSettings
  - name: domino-connect_other
    x-displayName: other
  - name: events
    x-displayName: events
  - name: curated-central-configs
    x-displayName: curated-central-configs
  - name: nodepools
    x-displayName: nodepools
  - name: ip-allowlist
    x-displayName: ip-allowlist
externalDocs:
  description: OpenAPI
  url: https://swagger.io/resources/open-api/
paths:
  /model-monitor/v2/api/model/{model_id}/register-dataset/{dataset_type}:
    summary: Dataset registration to a model.
    put:
      tags:
        - Model
      operationId: registerDatasetConfig
      parameters:
        - in: path
          name: model_id
          required: true
          schema:
            type: string
        - in: path
          name: dataset_type
          required: true
          schema:
            type: string
            enum:
              - prediction
              - ground_truth
      requestBody:
        required: true
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dmm-plier_datasetRegistrationConfigRequest'
      responses:
        '200':
          description: Successfully registered dataset to the Model.
        '400':
          description: Bad request input data.
        '403':
          description: Forbidden. The endpoint enforces permissions.
        '405':
          description: Method not allowed.
        '500':
          description: Internal server error, check server logs.
      security:
        - dmm-plier_DominoApiKeyAuth: []
        - dmm-plier_DmmApiKeyAuth: []
        - dmm-plier_cookieAuth: []
        - dmm-plier_BearerAuth: []
components:
  schemas:
    dmm-plier_datasetRegistrationConfigRequest:
      title: Model Registration Config
      description: Config to be used to register a model with DMM.
      type: object
      required:
        - datasetDetails
      properties:
        variables:
          type: array
          items:
            $ref: '#/components/schemas/dmm-plier_variableConfigRegistrationRequest'
        datasetDetails:
          $ref: '#/components/schemas/dmm-plier_datasetConfigRegistrationRequest'
        run_cohort_analysis:
          type: boolean
    dmm-plier_variableConfigRegistrationRequest:
      title: Variable Config Registration
      description: Variable config to configure a variable of a model.
      type: object
      required:
        - name
        - valueType
        - variableType
      properties:
        name:
          description: Name of the variable.
          type: string
        valueType:
          $ref: '#/components/schemas/dmm-plier_valueType'
        variableType:
          $ref: '#/components/schemas/dmm-plier_variableType'
        binsCategories:
          description: Bin categories to be used for a categorical typed variable.
          type: array
          items:
            type: string
        binsEdges:
          description: Bin Edges to be used for a numerical typed variable.
          type: array
          items:
            type: number
        binsNum:
          $ref: '#/components/schemas/dmm-plier_binCount'
        binsEstimatorMethod:
          $ref: '#/components/schemas/dmm-plier_binsEstimatorMethod'
        featureImportance:
          description: Feature Importance for a feature variable.
          type: number
        precomputedBinCounts:
          description: Precomputed counts for bins.
          type: array
          items:
            type: integer
        predictionProbabilityLabels:
          description: Labels for the prediction probabilities.
          type: array
          items:
            type: string
        forPredictionOutput:
          description: Corresponding prediction variable name, for the given variable.
          type: string
    dmm-plier_datasetConfigRegistrationRequest:
      title: Dataset Config Registration
      description: Config for the dataset to be registered with the model.
      type: object
      required:
        - name
        - datasetType
        - datasetConfig
        - datasourceName
        - datasourceType
      properties:
        name:
          description: Name of the dataset.
          type: string
        datasetType:
          description: Type of the dataset.
          type: string
          enum:
            - file
        datasetConfig:
          $ref: '#/components/schemas/dmm-plier_datasetConfig'
        datasourceName:
          description: Name of the datasource to which the dataset belongs.
          type: string
        datasourceType:
          $ref: '#/components/schemas/dmm-plier_datasourceType'
        featureSetId:
          description: The version id for the current feature set version.
          type: string
        featureSetVersionId:
          description: >-
            The feature set id of the feature set to which the current feature
            set version belongs to.
          type: string
    dmm-plier_valueType:
      description: Type of data the variable has.
      type: string
      enum:
        - categorical
        - numerical
        - string
        - datetime
    dmm-plier_variableType:
      description: Variable type.
      type: string
      enum:
        - feature
        - prediction
        - row_identifier
        - timestamp
        - ground_truth
        - sample_weight
        - prediction_probability
    dmm-plier_binCount:
      description: Number of bins to be determined (for training datasets)
      type: integer
    dmm-plier_binsEstimatorMethod:
      description: Estimator method to be used to determine the number of bins.
      type: string
      enum:
        - auto
        - doane
        - fd
        - rice
        - scott
        - sqrt
        - sturges
    dmm-plier_datasetConfig:
      type: object
      description: Config for the dataset.
      required:
        - path
        - fileFormat
      properties:
        path:
          description: Path to the dataset in the datasource.
          type: string
        fileFormat:
          $ref: '#/components/schemas/dmm-plier_fileFormat'
    dmm-plier_datasourceType:
      description: Type of the datasource to which the dataset belongs.
      type: string
      enum:
        - s3
        - generic_s3
        - azure_blob
        - azure_data_lake_gen_2
        - google_cloud_storage
        - azure_data_lake_gen_1
        - hdfs
        - nfs
        - snowflake
    dmm-plier_fileFormat:
      description: Format of the file.
      type: string
      enum:
        - csv
        - parquet
        - snowflake
  securitySchemes:
    dmm-plier_DominoApiKeyAuth:
      type: apiKey
      in: header
      name: X-Domino-Api-Key
    dmm-plier_DmmApiKeyAuth:
      type: apiKey
      in: header
      name: X-DMM-API-KEY
    dmm-plier_cookieAuth:
      type: apiKey
      in: cookie
      name: PLAY_SESSION
    dmm-plier_BearerAuth:
      type: http
      scheme: bearer

````

## Related topics

- [Put model monitorv2apimodel](/6.3/api-reference/model/put-model-monitorv2apimodel.md)
- [Put model monitorv2apimodel visibility](/6.3/api-reference/model/put-model-monitorv2apimodel-visibility.md)
- [Put model monitorv2apimodel collaborators](/6.3/api-reference/model/put-model-monitorv2apimodel-collaborators.md)
- [Get model monitorv2apimodel dataset timeline](/6.3/api-reference/datasetjob/get-model-monitorv2apimodel-dataset-timeline.md)
