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/trace_sessions/{sessionID} 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-09T06:41:01.709Z", "updatedAt": "2025-05-09T06:41:01.709Z" }
Request body to update an active trace session on a pipeline.
List of Fluent-bit plugin IDs ar aliases to trace.
null
dummy.0
For how long will this session be active and process records.
10m
Response body for an updated trace session.
PATCH /v1/trace_sessions/{sessionID} 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" }
{ "updatedAt": "2025-05-09T06:41:01.709Z" }