functions

Get function logs

Returns logs oldest first. type=runtime (default) returns function stdout/stderr. type=invocations returns one platform-generated record per HTTP request served.

get/compute/funcs/{id}/logs

Path parameters

idstring required

Function ID

Query parameters

type'runtime' | 'invocations'

Log stream to return.

start_timestring date-time

Return records at or after this RFC 3339 timestamp.

end_timestring date-time

Return records at or before this RFC 3339 timestamp.

limitinteger

Maximum records to return.

Response

Logs retrieved successfully

OR

Changes

Changed in 1 of the 99 revisions of this API.1

Of the 99 revisions, 1 has no diff computed.