Developers

SDKs & OpenAPI

TypeScript and Python SDKs, plus an OpenAPI spec for code generation in any language. Get from zero to first query in minutes.


TypeScript SDK

First-class TypeScript support with full type safety

search.ts

// Install

npm install @rlvnce/sdk

// Usage

import { Rlvnce } from '@rlvnce/sdk';

const client = new Rlvnce({ apiKey: 'your-api-key' });

const results = await client.search('corpus-id', {
  query: 'cybersecurity risk',
  filters: { form_type: '10-K' },
  limit: 10,
});

Python SDK

Pythonic interface with async support

search.py

# Install

pip install rlvnce

# Usage

from rlvnce import Rlvnce

client = Rlvnce(api_key="your-api-key")

results = client.search("corpus-id",
    query="cybersecurity risk",
    filters={"form_type": "10-K"},
    limit=10,
)

OpenAPI Spec

Generate clients in any language

The full API is described by an OpenAPI 3.1 spec. Use it with any code generator to produce clients in Go, Java, Ruby, or any other language.

Available at https://app.rlvnce.com/api/v1/openapi.json


Authentication

Secure API key management

API keys

Create API keys in the dashboard. Each key is shown once on creation - store it securely. Keys are hashed (SHA-256) and never stored in plaintext.

Scoped permissions

Restrict keys to specific corpora and operations. Set expiration dates. Rotate keys regularly and revoke immediately if compromised.

Get your API key

Install an SDK and run your first search in minutes.

Get your API key