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.
curl --request GET \
--url https://api.zavu.dev/v1/functions/{functionId}/logs \
--header 'Authorization: Bearer <token>'{
"events": [
{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>"
}
],
"nextToken": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.zavu.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Zavu Function ID.
1 <= x <= 1000Start of the log window in Unix epoch milliseconds.
End of the log window in Unix epoch milliseconds.
curl --request GET \
--url https://api.zavu.dev/v1/functions/{functionId}/logs \
--header 'Authorization: Bearer <token>'{
"events": [
{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>"
}
],
"nextToken": "<string>"
}