Search a service's log history
Searches the service's logs over the range, kept for seven days, and returns the newest 300 matching lines with their level and pod, plus how many lines of each level matched per bucket. `serviceName` is a compose service.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Query Parameters
Value in
- "production"
- "preview"
- "development"
How far back to look; the answer has 30 to 96 points across it
"1h"Value in
- "15m"
- "1h"
- "6h"
- "24h"
- "7d"
Text a line must contain, ignoring case
length <= 200Comma-separated levels to keep (error, warn, info, debug); every level when absent
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/search"{ "start": 0, "step": 0, "volume": { "error": [ 0 ], "warn": [ 0 ], "info": [ 0 ], "debug": [ 0 ] }, "lines": [ { "ts": 0, "level": "error", "pod": "string", "line": "string" } ]}Read a service's metrics over time GET
Returns CPU and memory against their limits, network and disk throughput, ready replicas, and for the service the app's address routes to, requests per second by status class and response-time quantiles. Also returns restarts and out-of-memory kills within the range, each running pod, and the Kubernetes events about the service. `serviceName` is a compose service.
List all services in an app instance GET
Next Page