Endpoint
Authentication
Request body
SetContent-Type: application/x-ndjson (or application/json). The body must contain one JSON object per line. Each line represents a single log event. The body cannot be empty. Gzip-compressed bodies are supported: send Content-Encoding: gzip and Rootprint forwards it to Quickwit unchanged.
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 returns a200 response. Authentication errors (401, 403) are generated by Rootprint. Success responses and 4xx indexing errors (including 400 for an empty or unparseable body) come from the search engine.
number
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, the
search engine logs the failure on the server but the API response stays the same. Inspect the
search engine’s stdout (or your log shipper) when you suspect documents are being silently dropped.Error responses
App-level error responses include a JSON body with an
error object:

