Read Live Algorithm
Logs
Request
Information about the algorithm to read live logs from. The /live/read/log
API accepts requests in the following format:
ReadLiveLogsRequest Model - Request to read the logs of a specific algorithm. | |
---|---|
format | object Format of the log results. |
projectId | integer Project Id of the live running algorithm. |
algorithmId | string Deploy Id (Algorithm Id) of the live running algorithm. |
start | integer No logs will be returned before this unixtime. |
end | integer No logs will be returned after this unixtime. |
Example |
{ "format": "json", "projectId": 0, "algorithmId": "string", "start": 0, "end": 0 } |
Responses
The /live/read/log
API provides a response in the following format:
200 Success
ReadLiveLogsResponse Model - Logs from a live algorithm. | |
---|---|
LiveLogs | string Array List of logs from the live algorithm. |
success | boolean Indicate if the API request was successful. |
errors | string Array List of errors with the API call. |
Example |
{ "LiveLogs": [ "string" ], "success": true, "errors": [ "string" ] } |
401 Authentication Error
UnauthorizedError Model - Unauthorized response from the API. Key is missing, invalid, or timestamp is too old for hash. | |
---|---|
www_authenticate | string Header |