API Manager
Logo
Traceability

Traceability

Logo

3 mins READ

Traceability captures per-request detail so you can find and investigate a specific API call. Where Insights shows you aggregate patterns, traceability answers the question: "What exactly happened to this one request?"

Overview

Traceability is built around custom trace headers that let you locate a specific call by a correlation ID the caller sends. Trace headers can be listed globally in API Manager › Settings › Traceability and per API group in the group's settings; both lists are applied together. Together with the run logs of the automation behind the API (the backing automation), they give you the context needed to reproduce and diagnose issues at the individual request level.

Traceability configuration panel in API Manager Settings

To open it, go to API Manager › Settings › Traceability.

traceability.png
traceability.png

Custom Trace Headers

Callers often include a correlation or request ID in an HTTP header — for example, x-correlation-id or x-request-id — so they can tie a specific request to what they observe on their end. By listing these headers in the traceability configuration, you tell the platform to capture and store them with each request's record.

Once captured, you can use the correlation ID to locate the exact call in the request logs and trace it across systems — matching it to what the caller reported, what the backing automation logged, and what any downstream services received.

Configure trace headers before a problem occurs. Adding them after the fact means you cannot retroactively find past requests — only calls received after the header is configured will carry it in the record.

Workflow Logging

Calls to your APIs keep the backing automation's run, node (step), and variable logs. All three are on by default for every API group and API, and a log type is kept for a call only when it's on at both levels. You can't change these switches from the API Manager screens. Use the backing automation's run log to see what it did for a call.

Debugging a Specific Call

Use traceability as the second step after Insights identifies a problem:

  1. Locate the call — use the correlation ID captured from the caller's trace header to find the specific request record in the logs.

  2. Check the response code — the HTTP status gives an initial clue about which pipeline stage failed: authentication (401), authorization or an inactive API (403), a policy (400/429), routing (404/405), or a timeout or backing-resource failure (408/500).

  3. Inspect the automation run — open the backing automation's run log to see exactly which step failed and what data it had at that point.

Notes

  • Configure custom trace headers on every API group from the start — you cannot retroactively capture them for past requests.

  • Use the global trace-header list for correlation headers every caller sends, and add group-specific headers on the API groups that need them.

  • Combine trace headers with the Insights dashboard: Insights tells you that something is wrong, the correlation ID helps you find the exact call, and the automation's run log shows what it did for it.

FAQs

What is the difference between traceability and telemetry?

Telemetry is aggregate: it counts and measures traffic across all requests and publishes the metrics to your monitoring system. Traceability is per-request: it captures trace headers from individual calls so you can find and investigate a specific request. Both can be set globally in API Manager › Settings and per API group.

What happens if I add a trace header after calls have already been made?

Only requests received after the trace header is configured will have it captured in their record. Past requests are not retroactively updated. This is why it is important to configure trace headers before a problem occurs, not after.

Does enabling variable logging affect API performance?

Variable logging records the values of variables at each step of the backing automation, which increases the amount of data stored per call. For calls to your APIs, run, node, and variable logging are on by default, and you can't change them from the API Manager screens.

Does API-group level logging interact with API-level logging?

Yes. Run, node, and variable logging are kept on the API group and on each API, and a log type is captured for a call only when it's on at both levels. All three are on by default, and the API Manager screens don't offer a way to change them.