Tail function logs
GET
Fetch invocation logs for a function. Logs are paginated via nextToken. Pass startTime / endTime (Unix epoch milliseconds) to bound the window, or filterPattern to filter messages.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
functionIdstringrequiredZavu Function ID.
Query parameters
limitintegerDefault100Limitsmin 1 · max 1000nextTokenstringstartTimeinteger<int64>Start of the log window in Unix epoch milliseconds.
endTimeinteger<int64>End of the log window in Unix epoch milliseconds.
filterPatternstring
Responses
200Log events.
eventsobject[]required2 properties
timestampstring<date-time>requiredmessagestringrequired
nextTokenstringPass to the next request to fetch the following page of logs.
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Function not found.
codestringrequiredmessagestringrequireddetailsobject