Skip to main content
GET
/
v1
/
searches
/
{search_id}
/
results.jsonl
Stream search results as JSONL
curl --request GET \
  --url https://api.withsplendor.com/v1/searches/{search_id}/results.jsonl \
  --header 'Authorization: Bearer <token>' \
  --header 'x-splendor-tenant-id: <x-splendor-tenant-id>'
"{\"id\":\"rec_01H8Z3K9QK\",\"title\":null,\"body\":\"connection timeout after 30s\",\"snippets\":[\"connection <em>timeout</em> after 30s\"],\"created_at\":\"2026-01-15T09:30:00Z\",\"metadata\":{\"service\":\"checkout\"},\"score\":12.4,\"score_kind\":\"bm25\",\"provenance\":{\"tenant_id\":\"acme\",\"dataset_id\":\"app-logs\",\"source_bucket\":\"acme-logs\",\"source_key\":\"2026/01/15/app-0001.jsonl.gz\",\"source_etag\":\"\\\"9b2cf5e1\\\"\",\"line\":4821,\"transform_version\":\"v3\"}}\n{\"id\":\"rec_01H8Z3K9QL\",\"title\":null,\"body\":\"upstream request timed out\",\"snippets\":[\"upstream request <em>timed out</em>\"],\"created_at\":\"2026-01-15T09:31:00Z\",\"metadata\":{\"service\":\"checkout\"},\"score\":11.1,\"score_kind\":\"bm25\",\"provenance\":{\"tenant_id\":\"acme\",\"dataset_id\":\"app-logs\",\"source_bucket\":\"acme-logs\",\"source_key\":\"2026/01/15/app-0001.jsonl.gz\",\"source_etag\":\"\\\"9b2cf5e1\\\"\",\"line\":4822,\"transform_version\":\"v3\"}}"

Authorizations

Authorization
string
header
required

API token issued from the Splendor console.

Headers

x-splendor-tenant-id
string
required

Selects the tenant (workspace) the request acts within.

Path Parameters

search_id
string
required

Response

A stream of newline-delimited JSON, one normalized result per line.

The response is of type string<jsonl>.