Skip to Content
veriom

Auto approval recommendation

GET
/v1/workspaces/{workspace_id}/policy/auto-approval/recommendation

Authorization

workspaceToken
headerAuthorizationBearer <vat_<opaque-token>>

Expiring, hashed workspace token with explicit scopes.

Path Parameters

workspace_id*Workspace Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
already_applied*Already Applied
auto_approval*

Workspace rules that let agents finish low-risk work without a reviewer.

Merging into customer repositories, accepted risk, compliance exceptions, library or taxonomy publication, model qualification, and production promotion are not configurable here: they always require a person.

config*

The saved policy with the proposed auto_approval section. Accept it by sending {config} to PUT /workspaces/{id}/policy (Admin, recent step-up).

generated_at*Generated At
Formatdate-time
human_controls*array<>

Decisions no policy can automate; they always stay with a person.

policy_version*Policy Version

The saved policy version the proposal builds on.

reasons*array<>
workspace_id*Workspace Id
Formatuuid
Example Request
curl -X GET 'https://api.veriom.ai/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/policy/auto-approval/recommendation'
Example Response
{  "already_applied": true,  "auto_approval": {    "continuous_audit_triggers": {      "branch_patterns": [        "string"      ],      "enabled": false,      "max_auto_approvals_per_day": 10,      "trusted_actors": [        "string"      ]    },    "discovery_suggestions": {      "accept_boundary_suggestions": true,      "accept_ownership_fields": true,      "enabled": false,      "minimum_confidence": 0.9    },    "enabled": false,    "remediation": {      "allowed_paths": [        "string"      ],      "allowed_sensitive_categories": [        "ci_workflow"      ],      "enabled": false,      "max_changed_files": 3,      "max_changed_lines": 40,      "max_severity": "low",      "publish_delay_seconds": 1800    },    "remediation_auto_prepare": {      "enabled": false,      "max_per_audit": 3,      "minimum_severity": "high"    },    "schema_version": "auto-approval-v1"  },  "config": {    "auto_approval": {      "continuous_audit_triggers": {        "branch_patterns": [          "string"        ],        "enabled": false,        "max_auto_approvals_per_day": 10,        "trusted_actors": [          "string"        ]      },      "discovery_suggestions": {        "accept_boundary_suggestions": true,        "accept_ownership_fields": true,        "enabled": false,        "minimum_confidence": 0.9      },      "enabled": false,      "remediation": {        "allowed_paths": [          "string"        ],        "allowed_sensitive_categories": [          "ci_workflow"        ],        "enabled": false,        "max_changed_files": 3,        "max_changed_lines": 40,        "max_severity": "low",        "publish_delay_seconds": 1800      },      "remediation_auto_prepare": {        "enabled": false,        "max_per_audit": 3,        "minimum_severity": "high"      },      "schema_version": "auto-approval-v1"    },    "change_gate": {      "block_new_relationship_kinds": [        "string"      ],      "block_on_entity_removal": false,      "block_on_relationship_removal": false,      "enabled": true,      "minimum_source_coverage": 0.6,      "require_comparable_sources": true,      "require_review_on_changes": true    },    "evidence_freshness": {      "cicd_seconds": 86400,      "cloud_seconds": 86400,      "mcp_seconds": 604800,      "repository_seconds": 86400,      "upload_seconds": 2592000    },    "exclude_paths": [      "string"    ],    "include_paths": [      "string"    ],    "mandatory_scanners": [      "string"    ],    "max_compressed_bytes": 1073741824,    "max_decompression_ratio": 100,    "max_file_count": 250000,    "max_unpacked_bytes": 5368709120,    "model_routing": {      "allow_fallback": false,      "allowed_regions": [        "string"      ],      "approved_providers": [        "string"      ],      "checkpoint_resume_enabled": false,      "circuit_failure_threshold": 3,      "circuit_recovery_seconds": 300,      "luna": {        "capabilities": [          "string"        ],        "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c",        "model_id": "string",        "provider_id": "openai",        "reasoning_effort": "minimal",        "region": "global",        "transport": "llmgateway"      },      "luna_fallbacks": [        {          "capabilities": [            "string"          ],          "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c",          "model_id": "string",          "provider_id": "openai",          "reasoning_effort": "minimal",          "region": "global",          "transport": "llmgateway"        }      ],      "max_p95_latency_ms": 120000,      "max_route_cost_usd": "25",      "shadow_enabled": false,      "shadow_route": {        "capabilities": [          "string"        ],        "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c",        "model_id": "string",        "provider_id": "openai",        "reasoning_effort": "minimal",        "region": "global",        "transport": "llmgateway"      },      "sol": {        "capabilities": [          "string"        ],        "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c",        "model_id": "string",        "provider_id": "openai",        "reasoning_effort": "minimal",        "region": "global",        "transport": "llmgateway"      },      "sol_fallbacks": [        {          "capabilities": [            "string"          ],          "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c",          "model_id": "string",          "provider_id": "openai",          "reasoning_effort": "minimal",          "region": "global",          "transport": "llmgateway"        }      ],      "strategy": "balanced",      "terra": {        "capabilities": [          "string"        ],        "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c",        "model_id": "string",        "provider_id": "openai",        "reasoning_effort": "minimal",        "region": "global",        "transport": "llmgateway"      },      "terra_fallbacks": [        {          "capabilities": [            "string"          ],          "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c",          "model_id": "string",          "provider_id": "openai",          "reasoning_effort": "minimal",          "region": "global",          "transport": "llmgateway"        }      ]    },    "raw_artifact_retention_days": 30,    "secret_scan_history": true,    "source_retention_days": 30,    "vector_retention_days": 30  },  "generated_at": "2019-08-24T14:15:22Z",  "human_controls": [    {      "description": "string",      "key": "string"    }  ],  "policy_version": 0,  "reasons": [    {      "evidence": [        "string"      ],      "field": "string",      "rationale": "string"    }  ],  "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"}