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 / Developer Tools / Google / Cloud Trace API
Cloud Trace API logo

Google Cloud Trace API

Browse all Google APIs
39
AI ReadinessNon-Ready (F)39/100
See full scorecard
Official vendor OpenAPI document · agent-readyDeveloper ToolsMonitoring Observabilityoauth22 EndpointsREST

For Agents

Submit distributed trace spans into Google Cloud Trace from any instrumented service. Lets agents push end-to-end latency data into Google's tracing backend for analysis alongside logs and metrics.

Use for: I need to send a trace span to Cloud Trace, Batch-write spans for a completed request, Push OpenTelemetry spans into Google Cloud Trace, Create a span representing a downstream API call

Not supported: Does not store logs or metrics, render dashboards, or query trace data - use for ingesting distributed trace spans into Google Cloud Trace only.

Cloud Trace is Google Cloud's distributed tracing backend. The v2 API accepts trace spans from instrumented applications via a single batchWrite endpoint and exposes a span create endpoint, while collected traces are queryable through the Cloud Trace UI and the broader observability stack. App Engine applications send trace data automatically; other workloads push spans through this API or via OpenTelemetry exporters that hit the same endpoints.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Cloud Trace API to your agent

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

Batch-write trace spans for a completed request via traces:batchWrite

Create individual spans with parent IDs, timestamps, and attributes

Push OpenTelemetry spans through the official Cloud Trace exporter

Send traces from non-App-Engine workloads such as Cloud Run and GKE

Tag spans with build IDs and labels for regression analysis

Use Cases

Patterns agents use Cloud Trace API for, with concrete tasks.

★ Distributed Tracing For Microservices

Instrument a multi-service application with OpenTelemetry and ship spans to Cloud Trace via the batchWrite endpoint. Each request shows up as an end-to-end trace with latency at every hop, letting platform teams find regressions across service boundaries that would be invisible in single-service profilers.

Batch-write 50 spans representing a single user request through three services to projects/acme via /v2/{name}/traces:batchWrite

Latency Regression Detection

Continuously push trace data into Cloud Trace so the analysis tools can detect latency regressions for a specific RPC after a deploy. Because every span carries start and end timestamps and labels, regression queries can scope to the exact endpoint that changed and surface offending releases without manual log spelunking.

Push spans tagged with build_id=2026-06-10 so Cloud Trace's analysis can compare its p95 latency against the previous build

Spans From Cloud Run And GKE Workloads

Send traces from Cloud Run, Cloud Functions, and GKE workloads that do not benefit from App Engine's automatic tracing. The v2 API takes batched spans with parent IDs, so workloads outside the App Engine runtime can participate in the same traces as the App Engine front end and downstream services.

From a Cloud Run service, batch-write three spans for /api/checkout, the downstream payment call, and the database write under one trace ID

Agent-Submitted Trace Data

An AI agent that orchestrates downstream API calls can submit a trace to Cloud Trace describing each step of its workflow. Through Jentic the agent searches for 'send trace span', loads the spans.batchWrite schema, and pushes its own spans so engineers can see what the agent actually did and where it spent time.

Use Jentic to call traces.batchWrite under projects/acme with five spans representing the agent's plan, search, load, execute, and finalize steps

Key Endpoints

2 endpoints — cloud trace is google cloud's distributed tracing backend.

METHOD

PATH

DESCRIPTION

POST

/v2/{+name}/traces:batchWrite

Batch-write multiple spans across one or more traces

POST

/v2/{+name}

Create a single span under a parent trace

POST

/v2/{+name}/traces:batchWrite

Batch-write multiple spans across one or more traces

POST

/v2/{+name}

Create a single span under a parent trace

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.

C

Cloud Trace API

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

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: C-Signals: 4
84%

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

25%

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.

19

AI-Readiness & Agent Experience

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

Grade: FSignals: 4
78%

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

31

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: FSignals: 1
31%

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 Cloud Trace API by hand means setting up Google OAuth 2.0, minting short-lived tokens against the trace.append scope, and addressing each project by resource name against cloudtrace.googleapis.com yourself. Through Jentic you install once, import the Cloud Trace API from the API Directory, store the OAuth credential once, and your agent calls it.

Permission scoping

Cloud Trace puts the project resource name in the URL path (/v2/{+name}/traces:batchWrite), so a rule can pin your agent to one project: it can write trace spans there and nothing else. You choose the operations it may call, so only the span-write operations you allow are available to the agent.

Credential isolation

Your Cloud Trace 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 'send a trace span to Cloud Trace', and Jentic returns the matching Cloud Trace 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 Logging API

→

Stores logs that often need to be correlated with trace spans for root-cause analysis

Send logs and traces from the same workload so Google's observability UI can link them by trace ID

Complementary

Cloud Monitoring API

→

Stores metrics that complement trace data when investigating regressions

Pair Monitoring metrics with Cloud Trace spans to see whether latency regressions match a CPU or memory spike

Complementary

Compute Engine API

→

Hosts the VM workloads whose application code emits Cloud Trace spans

Use Compute Engine to provision instances that run the instrumented services exporting to Cloud Trace

FAQs

Specific to using Cloud Trace API through Jentic.

What authentication does the Cloud Trace API use?

It uses Google OAuth 2.0 with the https://www.googleapis.com/auth/trace.append scope for ingestion and https://www.googleapis.com/auth/cloud-platform for the broader read paths. Through Jentic the OAuth credentials are stored encrypted in your Jentic One instance and never reach the agent runtime.

Can I push OpenTelemetry spans to Cloud Trace?

Yes. Use the official OpenTelemetry exporter for Cloud Trace, or send spans directly to /v2/{name}/traces:batchWrite. The endpoint accepts a list of spans with their parent IDs, start time, end time, and attributes.

What are the rate limits for the Cloud Trace API?

Span ingestion is limited per project per minute and individual spans are capped in size. Batch your spans into the batchWrite endpoint instead of calling spans.create individually to stay well under the per-minute quota.

How do I send a trace span through Jentic?

Search Jentic for 'send trace span', load the traces.batchWrite schema, and execute the call against /v2/{name}/traces:batchWrite with a list of spans. Jentic returns the schema so the agent does not need to read the Cloud Trace discovery doc.

Is the Cloud Trace API free?

Cloud Trace gives a generous monthly free tier of trace spans per billing account and charges a small fee per million spans beyond that. The API itself has no per-call surcharge.

Can I limit what my agent is allowed to do with the Cloud Trace API?

Yes. Because Cloud Trace carries the project resource name in the URL path (/v2/{+name}/traces:batchWrite), your self-hosted Jentic One instance lets you pin your agent to a single project so it can write trace spans there and nowhere else. You decide which operations are exposed, so you can allow only the batch span-write call and withhold the single-span create endpoint, or the reverse. The OAuth credential stays with the operator and is injected at execution time, so the agent can call exactly the span-ingestion operations your rules permit and nothing more.

GET STARTED

Start building with Cloud Trace API

Explore with Jentic One
View OpenAPI Document