GET
/services/{uuid}/logsGet service logs.
Get logs for a specific service sub-resource by service UUID. The sub_service_name query parameter must match the name field of one of the service applications or databases returned by GET /services/{uuid}. Requires the read:sensitive or root token ability.
uuidstringrequired
UUID of the service.
sub_service_namestringrequired
Sub-service name from `GET /services/{uuid}` under `applications[].name` or `databases[].name`. Do not use `human_name` or the Docker container name with the service UUID suffix.
linesintegeroptional
Number of lines to show from the end of the logs. Use `all` to return all logs. `-1` remains available as a compatibility alias.
show_timestampsbooleanoptional
Show timestamps in the logs.
200Get service logs by UUID.
logsstringoptional
400Invalid token.
messagestringoptional
401Unauthenticated.
messagestringoptional
404Resource not found.
messagestringoptional
Error handling
A 400 is returned: Invalid token. A 401 is returned: Unauthenticated. A 404 is returned: Resource not found.