For the complete documentation index, see llms.txt. Markdown versions are available by appending .md to page URLs.
Every versioned HTTP request requires an authenticated principal in production. The exception is GET /health, which returns aggregate health only. Loopback administration is available only when server.allowLoopbackAdmin is enabled.
Create a bearer credential
token, the one-time plaintext bearer token to put in a secret managercredential, the principal ID, SHA-256 token hash, and assigned role to put in the credential registry
auth.credentialsFile to its path. On Unix-like systems, both the containing directory and file must be inaccessible to other users.
Send a request
Roles
Use a dedicated credential per integration. Collector credentials can also be bound to one collector identity so a valid bearer token cannot submit an envelope for another collector.
Credential lifecycle
- Add an optional ISO 8601
expiresAtvalue when generating or storing a credential. - Set
disabledtotrueto revoke access without deleting the audit identity. - Rotate by creating a new token, updating the consumer, and then disabling the old credential.
- Requests with invalid, expired, or disabled credentials return
401. - Valid principals without the required permission receive
403.
/api/v1 request records a normalized access event and a separate API audit record. Sources outside server.approvedSourceAddresses are marked unapproved_device for detection.
Tailscale identity authentication
Lookout can authorize an interactive user or node through a localtailscaled socket. Enable auth.tailscale, allowlist stable user or node IDs, and assign one or more interactive roles: viewer, analyst, rule_admin, or admin.
Bearer credentials remain the recommended mechanism for service integrations.