Search service logs
Searches a service's stored logs across deploys, newest first. The query is a case-insensitive substring, or an RE2 expression with regex set. Use nextCursor for older matches.
Needs logs.view on the service (a grant on its project covers it). Available to MCP clients and the assistant.
seylo_session<token>serviceId*stringPanel-issued id.
^[a-z0-9]{16}$query?stringlength <= 500regex?booleanfalsesince?stringdate-timeuntil?stringdate-timenodeId?stringPanel-issued id.
^[a-z0-9]{16}$limit?integer1 <= value <= 5000500cursor?stringlength <= 2000Success.
application/json- response
entries*array<>nextCursor*string|nullofflineNodeIds*array<>curl -X GET 'https://example.com/api/v1/logs.search?serviceId=string'{ "entries": [ { "time": "2019-08-24T14:15:22Z", "stream": "stdout", "nodeId": "string", "containerId": "string", "generation": 0, "line": "string" } ], "nextCursor": "string", "offlineNodeIds": [ "string" ]}Open a live log stream GET
Returns a one-minute ticket for the logs WebSocket of a service (or of one build): the last lines first, then new lines as they are written. Needs `logs.view` on the service (a grant on its project covers it). Not available to MCP clients or the assistant.
Get a service's maintenance page GET
Returns a service's maintenance mode, its own page if any, and which page visitors actually see. Needs `services.view` on the service (a grant on its project covers it). Available to MCP clients and the assistant.