Logs

Get logs by operation ID

get

Fetches all log entries for a given operation ID. Supports optional filtering by time range using from/to query parameters. Logs are returned in chronological order. Used for debugging and monitoring task execution.

Authorizations
Path parameters
operationIdstringRequired

Operation ID to fetch logs for

Query parameters
fromstringOptional

Start timestamp (ISO format)

tostringOptional

End timestamp (ISO format)

Responses
200

Logs retrieved successfully

get
GET /sfp/api/logs/{operationId} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Delete logs by operation ID

delete

Permanently removes all log entries associated with the specified operation ID. This action cannot be undone. Useful for cleaning up old logs or removing sensitive information. Only owners and application tokens can perform this operation.

Authorizations
Path parameters
operationIdstringRequired

Operation ID to delete logs for

Responses
200

Logs deleted successfully

delete
DELETE /sfp/api/logs/{operationId} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Was this helpful?