ApplesauceOS
Read Markdown ↗Download .md

GET /logs

Read the shared script log.

This is a device HTTP route. Set DEVICE_URL to your reachable device URL; connection and examples explain how. Do not append this path to the public MCP URL.

Parameters

ParameterTypeMeaning
linesquery stringDefault 200; 0 reads the entire file.

Response

Plain text log tail.

Example

sh
curl --fail-with-body "$DEVICE_URL/logs?lines=100"

Notes

Shared historical output may belong to other scripts. Prefer a specific run journal for attribution.

Check the HTTP status and any JSON error. HTTP workflows and error handling explain shared limits. All endpoints.