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 / Cloud Infrastructure / Google / Service Directory API
Service Directory API logo

Google Service Directory API

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

For Agents

Register services and endpoints in a central registry, then resolve them by name for clients running across GCP and hybrid environments.

Use for: Register a new microservice with its endpoints in Service Directory, Resolve all healthy endpoints for the 'orders' service, List every service registered in the production namespace, Add a new endpoint with a specific port to an existing service

Not supported: Does not handle health checking, traffic routing, or DNS resolution itself - use for service registration, endpoint metadata, and resolve lookups only.

Service Directory is Google Cloud's managed service registry for discovering, publishing, and connecting services across GCP, on-prem, and other clouds. The API organises services into namespaces, registers individual services with metadata, and tracks endpoints with addresses, ports, and annotations. A resolve operation returns all healthy endpoints for a service so clients can do client-side load balancing or DNS lookup.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Service Directory API to your agent

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

Create, list, and delete namespaces that group services within a region

Register, update, and delete services with arbitrary metadata annotations

Add, list, and remove endpoints (address, port, annotations) for each service

Resolve a service to retrieve all of its current endpoints in one call

Filter and search services or endpoints with a flexible filter expression

Manage IAM bindings on namespaces, services, and endpoints

Use Cases

Patterns agents use Service Directory API for, with concrete tasks.

★ Hybrid Service Registry

Use Service Directory as a single registry across GCP, on-prem, and other clouds. Services running in any environment register themselves with their network address and port, and clients resolve by service name regardless of where the workload lives. Pairs with Cloud DNS to expose entries through DNS and with VPC private connectivity for hybrid endpoints.

Call POST /v1/{+parent}/services/{serviceId}/endpoints with address, port, and annotations to register a new instance, then call services:resolve to confirm it appears.

Microservice Discovery for Internal Apps

Internal apps and serverless workloads call services:resolve at startup to discover the addresses of dependent services. Service Directory tracks endpoint metadata so clients can pick by region, version, or any custom annotation, and updates propagate quickly when endpoints register or de-register.

Call POST /v1/{+name}:resolve on the service to retrieve every endpoint, then pick one matching annotation 'version=v2'.

Decommissioning Audit

Run periodic audits that list every service in every namespace, identify ones with no recent registrations or no healthy endpoints, and flag them for cleanup. The API supports filter expressions on labels, regions, and last-update timestamps to make this kind of housekeeping straightforward.

List namespaces, then for each namespace call services.list with filter='annotations.tier="critical"' and assert at least one endpoint is registered.

AI Agent Topology Mapper

An AI agent that reasons about a deployment's topology pulls services and endpoints from Service Directory to build a live dependency map. Through Jentic the agent searches by intent and never holds the GCP service account credentials directly, so the same agent can run across multiple GCP organizations safely.

List every namespace, list every service in each namespace, list every endpoint per service, and emit a graph of service-to-endpoint relationships.

Key Endpoints

14 endpoints — service directory is google cloud's managed service registry for discovering, publishing, and connecting services across gcp, on-prem, and other clouds.

METHOD

PATH

DESCRIPTION

GET

/v1/{+parent}/namespaces

List namespaces in a project and region

POST

/v1/{+parent}/services

Register a new service

GET

/v1/{+parent}/endpoints

List endpoints for a service

POST

/v1/{+parent}/endpoints

Register a new endpoint

POST

/v1/{+name}:resolve

Resolve a service to its endpoints

DELETE

/v1/{+name}

Delete a namespace, service, or endpoint

GET

/v1/{+parent}/namespaces

List namespaces in a project and region

POST

/v1/{+parent}/services

Register a new service

GET

/v1/{+parent}/endpoints

List endpoints for a service

POST

/v1/{+parent}/endpoints

Register a new endpoint

POST

/v1/{+name}:resolve

Resolve a service to its endpoints

DELETE

/v1/{+name}

Delete a namespace, service, or endpoint

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.

S

Service Directory API

- Non-Ready (F)
38/100
70
Foundational Compliance
56
Developer Experience & Jentic Compatibility
16
AI-Readiness & Agent Experience
94
Agent Usability
63
Security
60
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: B+Signals: 4
79%

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.

16

AI-Readiness & Agent Experience

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

Grade: FSignals: 4
65%

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

60

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: C+Signals: 1
60%

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 Google Service Directory by hand means setting up a service account, minting OAuth access tokens against servicedirectory.googleapis.com, and navigating its namespace and service hierarchy yourself. Through Jentic you install once, import the Service Directory API from the API Directory, store the OAuth credential once, and your agent calls it.

Permission scoping

Service Directory puts the namespace or service in the URL path (/v1/{parent}/services, /v1/{name}:resolve), so a rule can pin your agent to one namespace: it can register services and resolve endpoints there and nothing else. You choose the operations it may call, so deleting a service is not included unless you add it.

Credential isolation

Your Service Directory OAuth credential 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 'resolve a service to its endpoints' or 'register a new service', and Jentic returns the matching Service Directory 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 DNS API

→

Exposes Service Directory namespaces as private DNS zones for clients that resolve by hostname.

Use Cloud DNS for hostname-based discovery. Use Service Directory for richer endpoint metadata and direct API resolve.

Complementary

Google Compute Engine API

→

Hosts most of the workloads that register endpoints in Service Directory.

Use Compute Engine to manage instances. Use Service Directory to advertise their network endpoints.

Alternative

HashiCorp Nomad API

→

Nomad's built-in service registry plus Consul integration for non-GCP environments.

Use HashiCorp tooling for multi-cloud and on-prem-only deployments. Use Service Directory when GCP is the management plane.

Complementary

Google Cloud IAM API

→

Controls who can read or write each namespace, service, or endpoint in Service Directory.

Use IAM to manage principals and roles. Use Service Directory to manage the registry entries themselves.

FAQs

Specific to using Service Directory API through Jentic.

What authentication does the Service Directory API use?

Service Directory uses OAuth 2.0 with the cloud-platform scope and IAM permissions like roles/servicedirectory.editor on the namespace, service, or endpoint. Through Jentic the credentials are stored encrypted in your Jentic One instance and a scoped token is provided at execution.

Can I use Service Directory for on-prem services?

Yes. Endpoints record arbitrary address and port values, so you can register on-prem or third-cloud services and resolve them from clients running in GCP or via Cloud DNS forwarding zones.

What are the rate limits for the Service Directory API?

Google enforces a default per-project quota of 600 read requests per minute and 60 write requests per minute on the registry resources. Resolve calls have higher per-region limits because they sit on the discovery hot path.

How do I resolve a service through Jentic?

Run the Jentic search query 'resolve service directory endpoints', load POST /v1/{+name}:resolve, and execute it with the service resource name. Jentic injects the GCP credentials so the agent only needs the service name and an optional max-endpoints filter.

Does Service Directory health-check endpoints?

No. Service Directory stores the endpoints you register; health checking is the responsibility of the registering workload or a fronting load balancer. Clients should still validate health on their side after resolving.

Can I expose Service Directory entries through DNS?

Yes. Cloud DNS supports a Service Directory zone type that mirrors a namespace as a private DNS zone. Updates to endpoints propagate to the DNS view automatically without separate record management.

Can I limit what my agent is allowed to do with the Service Directory API?

Yes. Because Jentic One is self-hosted, you set the rules that decide which Service Directory operations and credentials your agent may use. Since the namespace and service sit in the URL path (like /v1/{parent}/services and /v1/{name}:resolve), you can pin the agent to a single namespace so it registers services and resolves endpoints there and nothing else. You pick the exact operations it may call, so an action like deleting a service is excluded unless you add it, and the OAuth credential stays with your own instance rather than the agent's context.

GET STARTED

Start building with Service Directory API

Explore with Jentic One
View OpenAPI Document