Cloady Docs
API ReferenceEndpointsApplications

Read the settings behind a service's log

Returns the settings that decide what searchServiceRoleLog can find, read from the running engine (PostgreSQL's log_* settings, MySQL's error log and deadlock settings, Redis's slowlog and memory policy) or, for the service the app's address routes to, from the ingress. Also returns what they mean for each category and, for Redis, lines built from its memory and error counters, which Redis never logs. `serviceName` is a compose service.

GET
/api/workspaces/{workspaceSlug}/apps/{appSlug}/services/{serviceName}/logs/settings
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
appSlug*string
serviceName*string

Query Parameters

env?string

Value in

  • "production"
  • "preview"
  • "development"
region?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/apps/string/services/string/logs/settings"
{  "engine": "string",  "settings": [    {      "name": "string",      "value": "string"    }  ],  "notes": {    "property1": "string",    "property2": "string"  },  "rows": [    {      "ts": 0,      "category": "string",      "severity": "string",      "level": "error",      "message": "string",      "statement": "string",      "fields": {        "property1": "string",        "property2": "string"      },      "pod": "string"    }  ],  "error": "string"}