How do I get tasktop logs using Hub's public API?
Last Updated: September 3, 2025 | Applicable Hub Versions: All
Last Updated: September 3, 2025 | Applicable Hub Versions: All
This is an API-only feature designed for programmatic access to Hub logs.
You can retrieve the logs by making a GET request to:
https://localhost:8443/api/v1/tasktop/log-file/download
You must include a valid Bearer Token in your request header. Requests without proper authentication will receive a 401 unauthorized response.
The API provides access to the current day's tasktop.log file as a plain text file.
| Response | Description |
|---|---|
| 200 | This response occurs when the log file has been successfully downloaded. |
| 401 | This response occurs when the log file doesn't exist. |
| 404 | This response occurs when a request is sent without a valid token. |
Full API documentation is available in Swagger UI at:
https://{hostname}.tasktop.net/#/apidocumentation

