Skip to main content
LightShip returns standard HTTP status codes for every REST endpoint. Errors are safe by default: if the access model is missing, no policy applies, or ClickHouse is unreachable, no trace data is returned.

Response shape

REST errors contain one human-readable error string:

Status codes

Fail-closed guarantees

LightShip never returns partial results when authorization state is incomplete. All of the following cases return an empty result or an error, never unfiltered data:
  • The access model is missing or invalid at boot.
  • No policy applies to the caller.
  • A referenced field has been removed or is unmarked.
  • ClickHouse is unreachable or times out.