cURL
curl --request GET \ --url https://localhost:5000/logs/trace/{traceId} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Trace logs retrieved successfully", "data": { "traceId": "<string>", "count": 123, "logs": [ { "_id": "<string>", "scenarioId": "<string>", "stepId": "<string>", "traceId": "<string>", "simTimestamp": 123, "level": "INFO", "action": { "type": "<string>", "description": "<string>" }, "actor": { "type": "<string>", "id": "<string>" }, "payload": {}, "stateDiff": { "before": {}, "after": {}, "changes": [ "<string>" ] }, "createdAt": "2023-11-07T05:31:56Z" } ] } }
Get complete request chain logs by trace ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Trace ID
Trace logs retrieved successfully
true
"Trace logs retrieved successfully"
Show child attributes