Skip to main content
These guides help you accomplish specific tasks using the Narrative TypeScript SDK. They assume basic familiarity with the SDK and focus on practical implementation.
New to the SDK? Start with the SDK Quickstart tutorial to install and configure the SDK.

Getting started

SDK Quickstart

Install the SDK and run your first query

Authentication

Configure API key authentication

Data operations

Executing Queries

Run, validate, and compile NQL queries

Managing Datasets

Create, read, update, and delete datasets

Uploading Data

Upload files to datasets

Model Inference

Running Model Inference

Submit inference requests to hosted LLMs

Using Structured Output

Define JSON Schema for typed responses

Choosing Models

Select the right model for your task

Monitoring and reliability

Tracking Jobs

Monitor asynchronous job status

Error Handling

Handle errors gracefully

Reference

SDK Reference

TypeScript SDK overview and architecture

Configuration

Complete configuration options

API Modules

All available methods and parameters

REST API

Full REST API documentation

Recipes

Automating Data Workflows

Build a complete automation pipeline