Hi! There is (unfortunately) no download URL.
I fetch the logs via REST API by executing the service which the Composer uses to show logs
POST request
https://<hostname>/Thingworx/Logs/ScriptLog/Services/QueryLogEntries
with body e.g.:
{
"startDate": "2023-11-02T17:07:35.349601500Z",
"endDate": "2023-11-09T17:07:35.349601500Z",
"maxItems": 1000000,
"fromLogLevel": "WARN",
"instance": "",
"origin": "",
"searchExpression": ".*.*",
"thread": "",
"toLogLevel": "ERROR",
"user": "",
"isRegex": true,
"oldestFirst": false
}
See network traffic of Composer for more insights.
You could also call the same service via a normal TWX service on demand, which dumps it into a file in a FileRepository, which you could then create a download url from.