Logs from a pipeline with backward pagination.
Parent pipeline ID.
OK
const response = await fetch('https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/logs', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "items": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "pipelineID": "123e4567-e89b-12d3-a456-426614174000", "logs": "text", "status": "NEW", "createdAt": "2024-10-06T10:59:32.734Z", "updatedAt": "2024-10-06T10:59:32.734Z" } ], "endCursor": "text" }
Create a new log within a pipeline. The log will be created with the given logs blob of text.
logs
Created
const response = await fetch('https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/logs', { method: 'POST', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({ "logs": "text" }), }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2024-10-06T10:59:32.734Z" }