Trace session model. There can only be one active session at a moment on a pipeline. Either terminate it and create a new one, or update and extend the lifespan of the current active one.
GET /v1/pipelines/{pipelineID}/trace_sessions HTTP/1.1 Host: cloud-api.calyptia.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "pipelineID": "123e4567-e89b-12d3-a456-426614174000", "plugins": [ "dummy.0" ], "lifespan": "10m", "createdAt": "2025-05-11T19:07:21.769Z", "updatedAt": "2025-05-11T19:07:21.769Z" } ]
Request body to create a new trace session on a pipeline.
List of Fluent-bit plugin IDs ar aliases to trace.
dummy.0
For how long will this session be active and process records.
10m
Response body for a newly created trace session.
POST /v1/pipelines/{pipelineID}/trace_sessions HTTP/1.1 Host: cloud-api.calyptia.com Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 40 { "plugins": [ "dummy.0" ], "lifespan": "10m" }
Created
{ "id": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-05-11T19:07:21.769Z" }