The ingest endpoint accepts a batch of log events as NDJSON and forwards them to the Quickwit index attached to your ingest API key. Rootprint acts as an authenticated gateway - your log shippers send data here instead of directly to Quickwit, so you can keep Quickwit private and manage access with per-index API keys. If you want the full setup flow, see Send Logs.Documentation Index
Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Authentication
Request body
SetContent-Type: application/x-ndjson. The body must contain one JSON object per line. Each line represents a single log event. The body cannot be empty.
NDJSON (Newline Delimited JSON) means each log entry is a complete JSON object on its own line,
with a newline character (
\n) between entries. There is no wrapping array.Example request
Response
On success, Rootprint passes Quickwit’s200 response straight through. Authentication and empty-body errors (401, 403, 400) are generated by Rootprint itself; status codes from indexing are proxied from Quickwit.
The number of log events accepted for indexing in this request.
num_docs_for_processing is the count of documents accepted for indexing, not the count
successfully indexed. If individual documents fail validation against the index schema, Quickwit
logs the failure on the server but the API response stays the same. Inspect Quickwit’s stdout (or
your log shipper) when you suspect documents are being silently dropped.Error responses
| Status | Cause |
|---|---|
400 | The request body is empty or the payload could not be parsed |
401 | The Authorization header is missing or does not contain a bearer API key |
403 | The bearer key is not a valid ingest key (unknown key, or wrong role) |
404 | The upstream index no longer exists in Quickwit |
413 | A proxy or upstream service rejected the request as too large (Rootprint sets no body-size limit of its own) |
500 | Rootprint encountered an internal error |
503 | Rootprint could not reach Quickwit, or Quickwit is unhealthy or unavailable |
error object:
