Status history from a pipeline. Every time a pipeline status is changed, a new history entry with the change is created.
OK
Agent configuration history entry.
const response = await fetch('https://cloud-api.calyptia.com/v1/aggregator_pipelines/{pipeline}/status_history', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "config": { "id": "123e4567-e89b-12d3-a456-426614174000", "rawConfig": "text", "createdAt": "2024-12-22T05:45:55.681Z" }, "status": "NEW", "events": [ { "source": "k8s:deployment", "reason": "text", "message": "text", "loggedAt": "2024-12-22T05:45:55.681Z" } ], "createdAt": "2024-12-22T05:45:55.681Z" } ]