trace

suspend fun trace(ticket: Ticket, traceId: TraceId): String

Retrieve raw trace data for a traceId emitted by a prior request.

Useful when reporting an incident to YAXI support: traceId is typically read from RoutexClient.traceId right after a failure, then exchanged here for the server-side trace text.

Samples

val traceId = client.traceId ?: return
val rawTrace = client.trace(ticket = ticket, traceId = traceId)