Weavz · Schema
ApprovalPolicyInput
Artificial IntelligenceIntegrationPlatformSoftware-as-a-ServiceAutomationCompany
Properties
| Name | Type | Description |
|---|---|---|
| workspaceId | string | Optional workspace scope. Omit for an org-wide policy. |
| name | string | |
| description | string | |
| enabled | boolean | |
| priority | integer | |
| sources | array | |
| mcpServerIds | array | |
| workspaceIntegrationIds | array | |
| integrationAliases | array | |
| integrationNames | array | |
| actionNames | array | |
| connectionStrategies | array | |
| endUserMode | string | |
| decision | string | |
| riskMode | string | |
| rules | object | |
| approvers | array | Reviewer specification. Use `{ "type": "webhook", "webhookUrl": "https://..." }` to receive approval lifecycle events. |
| timeoutSeconds | integer | |
| defaultOnTimeout | string | |
| reuseWindowSeconds | integer | |
| approvalAccessMode | string | Controls whether reviewers can approve through Weavz review views, hosted bearer links, or both. |
| metadata | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/weavz-io/json-schema/weavz-io-approval-policy-input-schema.json",
"title": "ApprovalPolicyInput",
"x-generated": "2026-11-28",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/weavz-io-openapi.json#/components/schemas/ApprovalPolicyInput",
"type": "object",
"required": [
"name"
],
"properties": {
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace scope. Omit for an org-wide policy."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"description": {
"type": "string",
"maxLength": 1000
},
"enabled": {
"type": "boolean",
"default": true
},
"priority": {
"type": "integer",
"default": 100
},
"sources": {
"type": "array",
"default": [
"rest",
"sdk",
"mcp_tools",
"mcp_code"
],
"items": {
"type": "string",
"enum": [
"rest",
"sdk",
"mcp_tools",
"mcp_code",
"playground",
"trigger"
]
}
},
"mcpServerIds": {
"type": "array",
"items": {
"type": "string"
}
},
"workspaceIntegrationIds": {
"type": "array",
"items": {
"type": "string"
}
},
"integrationAliases": {
"type": "array",
"items": {
"type": "string"
}
},
"integrationNames": {
"type": "array",
"items": {
"type": "string"
}
},
"actionNames": {
"type": "array",
"items": {
"type": "string"
}
},
"connectionStrategies": {
"type": "array",
"items": {
"type": "string",
"enum": [
"fixed",
"per_user",
"per_user_with_fallback"
]
}
},
"endUserMode": {
"type": "string",
"enum": [
"any",
"end_user_present",
"no_end_user"
],
"default": "any"
},
"decision": {
"type": "string",
"enum": [
"require_approval",
"notify_only",
"block",
"auto_approve"
],
"default": "require_approval"
},
"riskMode": {
"type": "string",
"enum": [
"always",
"rules",
"model_assisted"
],
"default": "rules"
},
"rules": {
"type": "object",
"additionalProperties": true
},
"approvers": {
"type": "array",
"description": "Reviewer specification. Use `{ \"type\": \"webhook\", \"webhookUrl\": \"https://...\" }` to receive approval lifecycle events.",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"org_role",
"dashboard_user",
"end_user",
"webhook"
]
},
"roles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"owner",
"admin",
"member"
]
}
},
"userIds": {
"type": "array",
"items": {
"type": "string"
}
},
"webhookUrl": {
"type": "string",
"format": "uri",
"description": "Public HTTPS webhook URL for webhook approvers."
}
},
"additionalProperties": true
}
},
"timeoutSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 2592000,
"default": 3600
},
"defaultOnTimeout": {
"type": "string",
"enum": [
"reject",
"expire"
],
"default": "reject"
},
"reuseWindowSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 604800
},
"approvalAccessMode": {
"type": "string",
"enum": [
"dashboard_only",
"dashboard_and_hosted_link",
"hosted_link_only"
],
"default": "dashboard_and_hosted_link",
"description": "Controls whether reviewers can approve through Weavz review views, hosted bearer links, or both."
},
"metadata": {
"type": "object",
"additionalProperties": true
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/weavz-io-approval-policy-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.