Logs

sfp server API reference for Logs: 2 endpoints.

GET/sfp/api/logs/{operationId}

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.

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

operationId*string

Operation ID to fetch logs for

Query Parameters

from?string

Start timestamp (ISO format)

to?string

End timestamp (ISO format)

Response Body

curl -X GET "https://example.com/sfp/api/logs/string"
Empty
DELETE/sfp/api/logs/{operationId}

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.

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

operationId*string

Operation ID to delete logs for

Response Body

curl -X DELETE "https://example.com/sfp/api/logs/string"
Empty