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

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.
All ResourcesEverything in one placeBlogLatest articles and insightsTech Talk NewsletterAPIs, AI agents, architecture and strategyWebinarsLive sessions and on-demand recordingsReports & WhitepapersOriginal research on enterprise AI
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
All ResourcesBlogTech Talk NewsletterWebinarsReports & Whitepapers
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 / Policy Analyzer API
Policy Analyzer API logo

Google Policy Analyzer API

Browse all Google APIs
36
AI ReadinessNon-Ready (F)36/100
See full scorecard
Official vendor OpenAPI document · agent-readySecurityComplianceoauth21 EndpointsREST

For Agents

Query Cloud IAM activity data under an organisation, folder, or project to find unused permissions and service-account keys.

Use for: Find unused IAM permissions in our Google Cloud project, List service-account keys that have not been used in 90 days, Query activity data to identify dormant Cloud IAM bindings, Detect stale role grants in a Google Cloud organisation

Not supported: Does not modify IAM policies, simulate policy changes, or troubleshoot single access denials - use only to query historical IAM activity records.

The Google Cloud Policy Analyzer API surfaces activity data that helps organisations understand and right-size their Cloud IAM policies. The single endpoint runs an activities query under a parent organisation, folder, or project, returning records about how IAM permissions and service-account keys have actually been used over a configurable lookback window. Security and compliance teams use that activity data to find unused permissions, dormant service accounts, and over-broad role grants worth removing.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Policy Analyzer API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Policy Analyzer 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%2Fpolicyanalyzer" | 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%2Fpolicyanalyzer" | 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 Policy Analyzer API.

Query historical IAM activity under an organisation, folder, or project parent

Identify Cloud IAM permissions granted but never used during the lookback window

Detect service-account keys that have not been used to authenticate recently

Filter activity queries by activity type and time range

Feed least-privilege recommendations into IAM right-sizing workflows

Use Cases

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

★ Least-Privilege IAM Right-Sizing

Cloud security teams query the Policy Analyzer activities endpoint at the organisation level to discover IAM permissions granted to identities but never exercised. The response feeds a quarterly review process that strips unused permissions from custom roles and bindings, shrinking the blast radius of compromised credentials. A typical organisation-wide query covering a 90-day lookback returns within minutes for medium-sized estates.

POST /v1/{parent=organizations/*/locations/*/activityTypes/*}/activities:query with parent set to the org-level resource and capture every activity with empty usage signals to flag for removal.

Dormant Service-Account Key Detection

Compliance programmes need to retire long-lived service-account keys that no longer authenticate any traffic. The activities query returns records keyed to service-account key activity, letting tools list keys with no recent use across a project or organisation. The output is fed into a key-rotation workflow that disables and then deletes dormant keys.

POST /v1/{parent=projects/*/locations/*/activityTypes/serviceAccountKeyLastAuthentication}/activities:query and disable any key whose lastAuthenticatedTime is older than 90 days.

Quarterly Compliance Audit Pack

Compliance teams build an evidence pack each quarter showing what IAM activity has occurred under each business-unit folder. The Policy Analyzer query produces the raw activity records, which a downstream report formats per ISO 27001 or SOC 2 control objective. The whole process runs unattended on a schedule and the pack is filed for audit review.

POST /v1/{parent=folders/*/locations/*/activityTypes/*}/activities:query for each business-unit folder over the last 90 days and export the JSON results into the compliance evidence bucket.

AI Agent IAM Reviews via Jentic

Security automation agents that close the loop between activity data and IAM remediation can call the Policy Analyzer through Jentic without managing OAuth scopes by hand. Jentic stores the audit principal's credentials in its vault and exposes the activities.query operation as a single search-load-execute call, turning a multi-day reporting pipeline into a same-day automation.

Search Jentic for 'find unused Google Cloud IAM permissions', load the activities.query schema, and execute it with the parent resource and a 90-day window.

Key Endpoints

1 endpoints — the google cloud policy analyzer api surfaces activity data that helps organisations understand and right-size their cloud iam policies.

METHOD

PATH

DESCRIPTION

POST

/v1/{parent}/activities:query

Query IAM activity records under an organisation, folder, or project

POST

/v1/{parent}/activities:query

Query IAM activity records under an organisation, folder, or project

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.

P

Policy Analyzer API

- Non-Ready (F)
36/100
73
Foundational Compliance
56
Developer Experience & Jentic Compatibility
14
AI-Readiness & Agent Experience
94
Agent Usability
63
Security
50
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
73

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A-Signals: 4
94%

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.

14

AI-Readiness & Agent Experience

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

Grade: FSignals: 4
58%

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).

50

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: C-Signals: 1
50%

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 Policy Analyzer API by hand means setting up Google Cloud service-account OAuth 2.0, minting scoped tokens, and building the activities query against the parent path on policyanalyzer.googleapis.com yourself. Through Jentic you install once, import the Policy Analyzer API from the API Directory, store the OAuth credential once, and your agent calls it.

Permission scoping

The Policy Analyzer API puts the parent scope in the URL path (/v1/{parent}/activities:query), so a rule can pin your agent to one parent project or organisation: it can query historical IAM activity there and nothing else. That query is the only operation in the allowed set, so the agent reads activity records without changing anything.

Credential isolation

Your Google Cloud service-account credential for the Policy Analyzer 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 'find unused IAM permissions', and Jentic returns the activities query 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

Google Cloud Policy Simulator API

→

Replay past access against a proposed IAM change to predict its effect

Choose Policy Simulator after Policy Analyzer has identified candidate permissions to remove, to check no production access breaks.

Complementary

Google Cloud Policy Troubleshooter API

→

Explain why a specific principal got or was denied a specific permission

Choose Policy Troubleshooter to investigate a single denied request; use Policy Analyzer for bulk activity reviews.

Complementary

Google Cloud IAM API

→

Apply role and binding changes Policy Analyzer recommends

Choose IAM to actually remove or modify bindings flagged by Policy Analyzer queries.

FAQs

Specific to using Policy Analyzer API through Jentic.

What authentication does the Policy Analyzer API use?

It uses OAuth 2.0 with the https://www.googleapis.com/auth/cloud-platform scope and is typically invoked with a service account that has org- or folder-level audit permissions. Through Jentic the credential is held encrypted in your Jentic One instance and a scoped access token is injected at call time.

Can I find unused IAM permissions with this API?

Yes. POST /v1/{parent}/activities:query returns activity records under an org, folder, or project for activity types such as serviceAccountLastAuthentication and serviceAccountKeyLastAuthentication, which downstream tooling uses to flag bindings or keys that have not been used in the lookback window.

What are the rate limits for the Policy Analyzer API?

The API enforces standard Google Cloud project quotas measured in queries per minute. Org-wide queries are heavier than project-scoped queries, so audit pipelines should batch by folder or project and back off on 429 responses rather than hammering org scope from a single thread.

How do I run a least-privilege audit through Jentic?

Run jentic search 'find unused Google Cloud IAM permissions', load the schema for POST /v1/{parent}/activities:query, and execute it with the parent resource (organizations/.../locations/global/activityTypes/...) and an optional time-range filter. Jentic handles OAuth and pagination.

Is the Policy Analyzer API free?

There is no per-call charge for the Policy Analyzer activities query itself. Standard Google Cloud project quotas apply, and some advanced policy intelligence features in adjacent products may require Security Command Center Premium.

Can I scope queries to a single project rather than the whole organisation?

Yes. The {parent} path parameter accepts organizations/{org}/locations/{loc}, folders/{folder}/locations/{loc}, or projects/{project}/locations/{loc}, so a project-scoped query returns only activity recorded under that project.

Can I limit what my agent is allowed to do with the Google Cloud Policy Analyzer API?

Yes. Because you run Jentic One yourself, your own rules decide which operations and credentials the agent may use, and the only operation this API exposes is the activities query (POST /v1/{parent}/activities:query), which reads historical IAM activity records without changing anything. Since the parent scope lives in the URL path, you can pin the agent to a single project, folder, or organisation so it can query activity there and nowhere else. Your Google Cloud service-account credential is stored encrypted by your own instance and injected only at call time, never entering the agent's prompt or context.

GET STARTED

Start building with Policy Analyzer API

Explore with Jentic One
View OpenAPI Document