Before you start
- Confirm read access to the source project and write access to the intended Atlan workspace.
- Use a non-production, synthetic trace for the first import. Record its source trace ID, root operation name, timestamps, expected span count, and final status.
- Keep bearer credentials in an approved secret store. Do not place them in source code, export files, URLs, screenshots, or logs.
- Decide which fields may leave the source store. Remove prompts, completions, tokens, customer data, internal hosts, and production responses unless your data-handling policy explicitly permits them.
Import a trace
- Select one source project and a bounded time range. Start with the synthetic trace so a later read-back has a known answer.
- Export the trace and its spans, then build an OTLP
ExportTraceServiceRequest. UsePOST /otel/v1/tracesfrom the API reference to ingest the batch. - Preserve the trace tree and execution facts in the OTLP payload. Use the mapping below as the minimum contract.
- Set
X-Atlan-Workspace-Idwhen the import belongs in a specific active workspace. The authenticated identity determines the account; a request cannot select another account. - Send a stable
X-Atlan-Ingest-Idfor the batch. Reuse it only for an unchanged retry of the same account, workspace, creator, and payload.
Do not infer Agent, session, Skill, or version attribution from a display name,
the source project, or matching timestamps. Send explicit identifiers only when
the source and target records establish that relationship.
A
200 response means the batch is accepted and durably queued. It does not
prove that the trace is available in the target workspace.Verify the import
- Read the trace with
GET /otel/v1/traces/{trace_id}in the intended workspace. Usefields=summary,attributeswhen you need to inspect the retained source metadata. - Read its tree with
GET /otel/v1/traces/{trace_id}/spans. Compare the root name, span count, parent relationships, timestamps, and final status with the source record. - If the batch is still being processed, retry the read with a bounded deadline. Do not submit a changed batch while the outcome is unknown.
- Record the source trace ID, target trace ID, workspace, test time, and verification result in the approved change record. Remove the synthetic data when your test policy requires it.
Recover safely
For endpoint-specific limits and responses, use the current
OTLP trace-ingestion reference.