/v1/pipelines/{pipelineID}/trace_sessions
curl -L \ --url 'https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/trace_sessions' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "pipelineID": "123e4567-e89b-12d3-a456-426614174000", "plugins": [ "dummy.0" ], "lifespan": "10m", "createdAt": "2025-03-12T04:18:59.201Z", "updatedAt": "2025-03-12T04:18:59.201Z" } ]
List of Fluent-bit plugin IDs ar aliases to trace.
dummy.0
For how long will this session be active and process records.
10m
curl -L \ --request POST \ --url 'https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/trace_sessions' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "plugins": [ "dummy.0" ], "lifespan": "10m" }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-03-12T04:18:59.201Z" }