Work with tracer
Use the Tracer API when you already have records and need the relationships between them, for example which verification record supports which system requirement.
The main public workflow
The most useful public tracing workflow today is batch retrieval:
curl -X POST "https://tracer.prod.certhub-containers.containers.certhub.tech/traces/batch/list" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"nodes": [
{"node_id": "RECORD_ID_1", "node_type": "Record", "version": ""},
{"node_id": "RECORD_ID_2", "node_type": "Record", "version": ""}
],
"n_hops": 1,
"mode": "legacy_connected_nodes"
}'
What the request means
node_idis the record_idnode_typeshould be"Record"for Records API rowsversionis typically an empty string in this patternn_hopscontrols how many link levels to traversemode: "legacy_connected_nodes"returns the directly connected nodes for this use case
Recommended flow
- Export the records you care about first
- Collect their record
_idvalues - Call
POST /traces/batch/list - Interpret the returned edges according to your CertHub use-case relationships
If you need the record data as well as the traces, start with Export Records from CertHub.
Operational note
In practice, the batch list flow is the safest starting point for API-key-based integrations. Keep the request bounded to the records you actually care about rather than trying to traverse everything.
Typical outcomes
Teams use this to:
- reconstruct requirement-to-verification chains
- enrich exported records with trace relationships
- feed documentation or traceability tooling outside CertHub
Working example
Cadence (CertHub’s public engineering example) uses this batch-list pattern to reconstruct requirement-to-verification chains. See Working example.