mulch.logs. broken down.

API

Upload, fetch, and analyze logs programmatically. All endpoints return JSON. Uploads are rate limited per IP and run through the same PII and size filters as the web uploader.

POST/api/v1/log

Upload a log. Body: { content, source?, metadata? }. Returns { id, url }.

GET/api/v1/log/{id}

Fetch a log with its metadata and analysis.

DELETE/api/v1/log/{id}

Delete a log (requires the owner token cookie).

GET/api/v1/insights/{id}

Fetch the analysis only (problems + information), without the body.

GET/api/v1/limits

Upload caps: max bytes and max lines.

Example

curl -X POST https://your-host/api/v1/log \
  -H "Content-Type: application/json" \
  -d '{"content":"<your log text>","source":"my-tool"}'
← back to mulch