Skip to main content

Get logs belonging to a Service

GET /v2/stacks/{stackId}/services/{serviceId}/logs/
v2
GET
container-get-service-logs

Request

  • stackIdstring (uuid)
    required

    ID of the Stack the Service belongs to. ID of the default Stack equals the ID of the Project.

  • serviceIdstring (uuid)
    required

    ID of the Service to get logs for.

Responses

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/stacks/f0f86186-0a5a-45b2-aa33-502777496347/services/f0f86186-0a5a-45b2-aa33-502777496347/logs