API reference · schema
GovernancePolicyCreate
8 fields · used by 1 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
name required | string | min length 1 · max length 255 |
description | string | default "" |
scope | object or null | |
constraints | array of object or null | |
exceptions | array of object or null | |
parent_policy_id | string or null | |
linked_policy_id | string or null | |
priority | integer | min 1.0 · max 1000.0 · default 100 |
Smallest valid example
{
"name": "name",
"description": "",
"priority": 100
}Used by 1 operation
| POST | /fabric/governance/policies | Create Policy |
JSON Schema
Show the raw definition
{
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"title": "Name"
},
"description": {
"type": "string",
"title": "Description",
"default": ""
},
"scope": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Scope"
},
"constraints": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Constraints"
},
"exceptions": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Exceptions"
},
"parent_policy_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Policy Id"
},
"linked_policy_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Linked Policy Id"
},
"priority": {
"type": "integer",
"maximum": 1000.0,
"minimum": 1.0,
"title": "Priority",
"default": 100
}
},
"type": "object",
"required": [
"name"
],
"title": "GovernancePolicyCreate"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem