Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Security / Google / Organization Policy API
Organization Policy API logo

Google Organization Policy API

Browse all Google APIs
41
AI ReadinessFoundational (D-)41/100
See full scorecard
Official vendor OpenAPI document · agent-readySecurityComplianceoauth29 EndpointsREST

For Agents

Apply and inspect Google Cloud organisation policies - boolean, list, and custom constraints - that govern what resource configurations are allowed across the hierarchy.

Use for: List all available constraints on a Google Cloud project, Apply a policy that restricts VM creation to specific regions, Get the effective organisation policy for a project, Create a custom constraint for a Compute Engine instance label

Not supported: Does not grant IAM permissions, evaluate runtime requests, or manage hierarchy nodes - use for declaring and inspecting organisation policy resources only.

The Organization Policy API configures governance constraints across the Google Cloud resource hierarchy - organisations, folders, and projects. It exposes built-in constraints (boolean, list, custom) and lets administrators author and apply policies that allow or deny specific resource configurations, such as restricting which regions VMs can run in or which service accounts can be created. The API also supports custom constraints for resource fields not covered by built-ins. The spec exposes 9 endpoints.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Organization Policy API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Organization Policy API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Forgpolicy" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Forgpolicy" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Organization Policy API.

List the built-in constraints available on a folder, project, or organisation

Apply policies that enforce or restrict specific resource configurations

Author custom constraints for resource fields not covered by built-ins

Read the effective policy for a resource after hierarchy inheritance

Audit which policies override or inherit from a parent in the hierarchy

Remove or update a policy when governance requirements change

Use Cases

Patterns agents use Organization Policy API for, with concrete tasks.

★ Region restriction for data residency

Apply the gcp.resourceLocations boolean/list constraint to a folder or organisation so that all VMs, GKE clusters, and storage buckets in scope can only be created in approved regions. The Organization Policy API lets compliance teams roll this constraint out hierarchy-wide and read back the effective policy from any project to verify enforcement. Suitable for organisations with data residency obligations.

Apply a policy to folder folders/123456 that sets the gcp.resourceLocations constraint to allow only europe-west1 and europe-west4, then read the effective policy on a child project to confirm.

Custom constraints for label compliance

Author a custom constraint that requires every Compute Engine instance to carry a specific label such as cost-center or owner. Custom constraints declare a CEL condition over the resource and apply it at create or update time. This catches misconfigurations at admission instead of relying on after-the-fact remediation.

Create a custom constraint that requires every compute.googleapis.com/Instance to carry a labels.cost-center value, attach it to organisation 7777777, and verify creation by listing custom constraints.

Audit drift across the hierarchy

Walk the resource hierarchy and read the effective policy on each project to detect drift between intended governance and what is actually enforced. The API's getEffectivePolicy endpoint returns the inherited result, so an audit script can flag projects where a child policy overrides a tighter parent. Helpful before security reviews or audits.

For every project under organisation 7777777, GET /v2/{+name}:getEffectivePolicy for constraint constraints/iam.allowedPolicyMemberDomains and write any project whose effective policy disagrees with the org policy to a drift report.

Agent-driven governance changes via Jentic

A governance agent reacting to a security incident - for example, a sudden deployment in an unapproved region - can use Jentic to find and apply the right Organization Policy operation. Credentials stay in your Jentic One instance, so the agent acts under scoped Org Admin tokens with full audit trail. Useful for guardrail bots that close governance gaps automatically.

Use Jentic to find the create-policy operation, load its schema, and apply a constraint that denies compute.googleapis.com/Instance creation outside europe-west1 to folder folders/123456.

Key Endpoints

9 endpoints — the organization policy api configures governance constraints across the google cloud resource hierarchy - organisations, folders, and projects.

METHOD

PATH

DESCRIPTION

POST

/v2/{+parent}/policies

Create an organisation policy

GET

/v2/{+parent}/policies

List policies on a node

PATCH

/v2/{+name}

Update a policy

DELETE

/v2/{+name}

Delete a policy

GET

/v2/{+name}:getEffectivePolicy

Get the effective policy after inheritance

GET

/v2/{+parent}/constraints

List built-in constraints

POST

/v2/{+parent}/customConstraints

Create a custom constraint

POST

/v2/{+parent}/policies

Create an organisation policy

GET

/v2/{+parent}/policies

List policies on a node

PATCH

/v2/{+name}

Update a policy

DELETE

/v2/{+name}

Delete a policy

GET

/v2/{+name}:getEffectivePolicy

Get the effective policy after inheritance

GET

/v2/{+parent}/constraints

List built-in constraints

POST

/v2/{+parent}/customConstraints

Create a custom constraint

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

O

Organization Policy API

- Foundational (D-)
41/100
70
Foundational Compliance
56
Developer Experience & Jentic Compatibility
18
AI-Readiness & Agent Experience
94
Agent Usability
63
Security
71
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
70

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A-Signals: 4
81%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

0%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

100%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

56

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: CSignals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

25%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

18

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: FSignals: 4
71%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

0%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

0%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

63

Security

Trust, risk posture, and security compliance.

Grade: B-Signals: 1
62%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

71

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: A-Signals: 1
71%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the Organization Policy API by hand means configuring Google OAuth 2.0 from a service account, minting scoped tokens, and managing policy resource paths and retries against orgpolicy.googleapis.com yourself. Through Jentic you install once, import the Organization Policy API from the API Directory, store the OAuth credential once, and your agent calls it.

Permission scoping

The Organization Policy API puts the resource in the URL path (/v1/{+parent}/policies, /v1/{+name}), so a rule can pin your agent to one parent node: it can create and inspect policies there and nothing else. You choose the operations it may call, so destructive ones like policy deletion or custom-constraint creation are not included unless you add them.

Credential isolation

Your Google OAuth credential for the Organization Policy API is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'apply a region restriction policy' or 'read an effective policy', and Jentic returns the matching Organization Policy operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

Cloud Resource Manager API

→

Cloud Resource Manager owns the hierarchy nodes that org policies attach to

Use Cloud Resource Manager when the agent needs to create or move a project/folder; use Organization Policy to bind constraints to those nodes.

Alternative

Identity and Access Management API

→

IAM controls who can do what; Organization Policy controls what configurations are allowed

Use IAM when the agent needs to grant a permission to a principal; use Organization Policy when the goal is to restrict resource configurations regardless of caller.

Complementary

Security Command Center API

→

Security Command Center surfaces findings that often drive new org policies

Use Security Command Center to discover misconfigurations; use Organization Policy to enforce a constraint that prevents the misconfiguration recurring.

FAQs

Specific to using Organization Policy API through Jentic.

What authentication does the Organization Policy API use?

The API uses Google OAuth 2.0 with the cloud-platform scope and requires the orgpolicy.policyAdmin role on the target node. Through Jentic, tokens are minted from a service account stored in your Jentic One instance.

Can I write custom constraints with this API?

Yes. POST to /v2/{+parent}/customConstraints with a CEL condition over the target resource type. The constraint then becomes available to bind via a policy on any node beneath the parent organisation.

What are the rate limits for the Organization Policy API?

Google Cloud applies a per-project quota for policy mutations. Effective-policy reads are cheap; bulk audits should still batch and back off if 429s appear, rather than fan out.

How do I apply a region restriction policy through Jentic?

Search Jentic for create organisation policy, load the schema for POST /v2/{+parent}/policies, and execute it with the gcp.resourceLocations constraint and your allowed list. Jentic returns the policy resource so you can confirm the apply.

Does this API enforce policies at runtime?

No - the API stores policy definitions. Enforcement happens inside the underlying services (Compute, GKE, Cloud Storage) when they evaluate the constraint at create or update time.

How do I read the effective policy on a project?

Call GET /v2/{+name}:getEffectivePolicy with the constraint name appended to the project resource path; the response returns the inherited policy after walking the hierarchy.

Can I limit what my agent is allowed to do with the Organization Policy API?

Yes. Because you run Jentic One yourself, your own rules decide which Organization Policy operations and credentials the agent may use. Since this API puts the target node in the URL path, you can pin the agent to a single parent organisation, folder, or project so it only creates, lists, and reads effective policies there. You choose the operations it may call, so destructive ones like deleting a policy or creating a custom constraint stay excluded unless you explicitly add them.

GET STARTED

Start building with Organization Policy API

Explore with Jentic One
View OpenAPI Document