v3

latestOpenAPI 3.0.12026-07-314655871.8 MB
Service

Get service log entries

post/project/{project}/service/{service_name}/logs

Path parameters

projectstring required

Project name

service_namestring required

Service name

Request body

limitinteger

How many log entries to receive at most

log_type'application-build' | 'application-run'

Filter to entries of a specific application log type. Only supported for application services. When omitted on application services, runtime logs (application-run) are returned.

offsetstring

Opaque offset identifier

severity'emerg' | 'alert' | 'crit' | 'err' | 'warning' | 'notice' | 'info' | 'debug'

Filter to entries with severity at least as severe as this value

sort_order'desc' | 'asc'

Sort order for log messages

Response

Response

first_log_offsetstring required

Opaque offset identifier of the first received log message. A null value is returned when there are no logs at all.

messagestring

Printable result of the request

offsetstring required

Opaque offset identifier. A null value is returned when there are no logs at all.