Skip to main content
Question

graphql mutation for creating a monitoring project in Ataccama

  • December 30, 2025
  • 1 reply
  • 24 views

what is the graphql mutation for creating a monitoring project in Ataccama

 

Unable to open playground so need help with a direct graphql mutation query for creating Monitoring project

1 reply

anna.spakova
Ataccamer
Forum|alt.badge.img+3
  • Ataccamer
  • January 5, 2026

Hi ​@a.arora ,

although it is technically possible (to create a monitoring project through API), it is quite a complex object that requires several other entities to be created as a part of it (configuration → catalogItemInstances → rule mappings, ….). A mutation to just create the project (with nothing inside) should be feasible using this:

mutation CreateEntity_monitoringProject(
$parentNode: String!
$parentGid: GID!
$parentProperty: String!
$new: monitoringProjectNew!
) {
monitoringProjectCreate(
parentNode: $parentNode
parentGid: $parentGid
parentProperty: $parentProperty
new: $new
) {
aliasMapping {
gid
alias
__typename
}
result {
gid
__typename
}
__typename
}
}

With variables:

{
"parentNode": "metadata",
"parentGid": "00000000-0000-0000-0000-000000000001",
"parentProperty": "monitoringProjects",
"new": {
"name": "GraphQLTest",
"description": null,
"configuration": {
"drillthrough": {
"enabled": true,
"sampleSize": 100,
"_alias": "alias-0",
"_type": "drillThroughConfiguration"
},
"dqParallelism": null,
"_alias": "alias-1",
"_type": "monitoringProjectConfiguration"
},
"dataInstances": [],
"_alias": "alias-2",
"_type": "monitoringProject"
}

That creates a draft of an empty project. If you are unable to use Playground, you can always investigate the APIs using developer tools: 

Besides the pure API, you can also use ONE Metadata writer steps in the ONE Desktop to create the project. But it also requires multiple steps to populate it with the required configuration.

Kind regards,

Anna