Skip to main content
GET
/
v1
/
views
/
{view_id}
/
records
Get view records
curl --request GET \
  --url https://api.withsplendor.com/v1/views/{view_id}/records \
  --header 'Authorization: Bearer <token>' \
  --header 'x-splendor-tenant-id: <x-splendor-tenant-id>'
{
  "expires_at": "2026-01-15T09:30:00Z",
  "kind": "materialized",
  "records": [
    {
      "body": "connection timeout after 30s",
      "created_at": "2026-01-15T09:30:00Z",
      "id": "rec_01H8Z3K9QK",
      "metadata": {
        "service": "checkout"
      },
      "provenance": {
        "dataset_id": "app-logs",
        "line": 4821,
        "source_bucket": "acme-logs",
        "source_etag": "\"9b2cf5e1\"",
        "source_key": "2026/01/15/app-0001.jsonl.gz",
        "tenant_id": "acme",
        "transform_version": "v3"
      },
      "score": 12.4,
      "score_kind": "bm25",
      "snippets": [
        "connection <em>timeout</em> after 30s"
      ],
      "title": null
    }
  ],
  "returned": 1,
  "view_id": "view_01H8Z3"
}

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

view_id
string
required

Response

Successful Response

expires_at
string<date-time>
required
kind
enum<string>
required
Available options:
materialized,
live_semantic
records
Records · object[]
required
returned
integer
required
view_id
string
required