Gateway Logs
Returns recent log output from the gateway. Use last_n_lines or last_n_seconds to scope the result.
GET
/gateway/{gateway_id}/logs/Path parameters
gateway_idPathintegerrequiredGateway ID
Query parameters
project_idQueryintegerrequiredProject ID
locationQuerystringrequiredLocation
active_iamQueryintegeroptionalActive IAM ID (To access contact person account) Find your Active IAM ID here
last_n_linesQueryintegeroptionalNumber of most recent log lines to return.
last_n_secondsQueryintegeroptionalReturn logs from the last N seconds.
Responses
200Gateway log output.
example
200example
Successexample
true