Skip to content

Run Log

Method: POST

Endpoint: /api/v1/run/last/log

Send the request body with Content-Type: application/json.

{
"run_slug": "01KKJYJ4HH0R9K7XD856MAE1WH"
}
ParameterExampleTypeRequiredDescription
run_slug01KKJYJ4HH0R9K7XD856MAE1WHStringYesUnique run identifier
{
"code": 0,
"message": "success",
"data": {
"all_logs_url": "https://smpfile.coreclaw.com/log/all_log_7cb43d81-38d5-47b6-a313-4e1423d4c28a_1773383790454",
"list": [
{
"type": 2,
"group": "28596067108978688",
"content": "SYSTEM: Subtask-[28596067108978688] - Preparing the execution environment.",
"timestamp": 1773383784438
}
],
"result_count": 4
}
}
ParameterExampleTypeDescription
code0IntegerGlobal status code
messagesuccessStringResponse message
data-ObjectResponse payload
all_logs_url-StringURL of the full log file
list-ArraySummary log entries
result_count4IntegerTotal number of collected rows
ParameterExampleTypeDescription
type1IntegerLog level: 1 Debug, 2 Info, 3 Warn, 4 Error
group-StringLog group identifier
content-StringLog content
timestamp-IntegerLog timestamp in milliseconds