Skip to main content

Traceability

Traceability in Connect allows requests to be tracked across systems using unique identifiers passed during API invocation.

These identifiers help correlate activity between:

  • Client applications
  • Connect execution
  • Downstream services
  • Monitoring dashboards
  • Execution logs
  • Business transactions

Traceability identifiers are supplied as part of the incoming request and become available throughout execution and monitoring.


Overview​

Connect supports multiple identifiers to improve technical and business-level tracking.

Each identifier serves a different purpose.

IdentifierPurpose
Trace IdUnique Trace ID generated by Connect and returned to client
Request KeyUnique request identifier supplied by the calling client
Reference KeyBusiness reference identifier such as application or transaction number

Trace Identifier​

The Trace Identifier is a unique Trace ID generated by Connect for every request.

This identifier is automatically created during execution and returned to the calling client.

It helps correlate activity across:

  • Connect execution
  • Service processing
  • Provider calls
  • Logs
  • Monitoring dashboards
  • Diagnostics

Characteristics​

  • Generated automatically by Connect
  • Unique for every request
  • Returned in the response headers
  • Available in logs and monitoring
  • Used for request-level troubleshooting

Response Header​

Connect returns the Trace Identifier using the following response header:

X-Trace-Id: 8000015f-0002-ef00-b63f-84710c7967bb

Request Key​

The Request Key is a unique identifier supplied by the client application.

This value allows external systems to associate their request with Connect execution.

Use Cases​

  • Client-side request tracking
  • Request retries
  • Cross-system debugging
  • API reconciliation
  • Correlating client logs with Connect logs

Passing the Request Key​

The Request Key is typically sent using an HTTP header.

Example:

POST /gateway/customer/verify HTTP/1.1
Host: connect.celusion.dev
X-Request-Key: REQ-20260502

Reference Key​

The Reference Key represents a business-level identifier associated with the request.

Unlike Request Key, this value identifies a business entity rather than a technical request.

Common Examples​

  • Application Number
  • Loan ID
  • Policy Number
  • Transaction Number
  • Customer Reference
  • Case ID

Passing the Reference Key​

The Reference Key is generally sent as an HTTP header.

Example:

POST /gateway/customer/verify HTTP/1.1
Host: connect.celusion.dev
X-Reference-Key: APP-2026

Request Flow​

The following example shows how identifiers flow through Connect.

Client Application
|
| Request Key = REQ-10001
| Reference Key = APP-20912
|
v
Connect Gateway
|
| Trace Identifier = TRACE-89ABC
|
v
Downstream Service

Logs and Monitoring​

Traceability identifiers become available in Connect logs and monitoring.

These identifiers can be used to:

  • Search requests
  • Trace request lifecycle
  • Investigate failures
  • Correlate upstream and downstream activity
  • Locate requests for a business entity

Searching Logs​

Execution logs include a search box that allows requests to be located using traceability identifiers.

You can search logs using:

  • Trace Identifier
  • Request Key
  • Reference Key

The search applies across visible log records and helps quickly locate related request activity.

This helps support and operations teams quickly identify related requests without manually scanning log entries.


Best Practices​

  • Always send a Request Key from client applications
  • Use Reference Key for business-level tracking
  • Keep identifier formats consistent
  • Propagate identifiers to downstream services
  • Use Trace Identifier for technical diagnostics

Summary​

Traceability in Connect enables end-to-end request tracking using:

  • Trace Identifier generated by Connect
  • Request Key provided by the client
  • Reference Key tied to business context

These identifiers improve observability, debugging, and operational tracking across distributed service interactions.