Skip to content

Run Log

Method: POST

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

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

POST/api/v1/run/last/logGet latest run logs
Required

Stored only in this browser tab. Sent only to https://openapi.coreclaw.com.

BodyRequiredapplication/json
FieldTypeRequiredDescription
run_slugstringyesUnique run identifier returned by CoreClaw.
Request body (JSON)
{
"run_slug": "YOUR_RUN_SLUG"
}
ParameterExampleTypeRequiredDescription
run_slugYOUR_RUN_SLUGStringYesUnique 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