Prismatic SDK v0.8.0

Type-safe client libraries for TypeScript, Python, Elixir, and Go. Complete SDK package with auto-generated API clients, authentication handling, and comprehensive documentation.

Choose Your Language

All SDKs feature identical APIs with language-specific optimizations

0.8.0

TypeScript

Full-featured client with TypeScript definitions

@prismatic/sdk 125KB
0.8.0

Python

Pythonic async/await API with type hints

prismatic-sdk 89KB
0.8.0

Elixir

OTP-compliant GenServer-based client

prismatic_sdk 156KB
v0.8.0

Go

Concurrent client with context support

github.com/prismatic/go-sdk 78KB

Quick Start

Installation
npm install @prismatic/sdk
Basic Usage
import { PrismaticClient } from '@prismatic/sdk';

const client = new PrismaticClient({
  apiKey: process.env.PRISMATIC_API_KEY,
  endpoint: 'https://api.prismatic.dev'
});

// Query intelligence data
const result = await client.intelligence.search({
  query: 'domain:example.com',
  sources: ['osint', 'financial'],
  limit: 100
});

// Real-time updates via WebSocket
client.subscribe('intelligence:updates', (data) => {
  console.log('New intelligence data:', data);
});

Type Definitions

Core Types
interface IntelligenceQuery {
  query: string;
  sources?: string[];
  limit?: number;
  filters?: Record<string, any>;
}

interface IntelligenceResult {
  id: string;
  source: string;
  data: Record<string, any>;
  confidence: number;
  timestamp: string;
}

Key Features

Type Safety
Auto-generated
Auth Handling
WebSocket Support
Error Handling
Circuit Breaker

Feature Matrix

Compare features across all SDK languages

Feature TypeScript Python Elixir Go
Type Safety
Async Support
WebSocket Streaming
Authentication
Error Handling
Circuit Breaker
Retry Logic
Rate Limiting
Metrics

API Coverage

All endpoints supported across all SDK languages

Intelligence

GET
/api/v1/intelligence/search

Search intelligence data

POST
/api/v1/intelligence/analyze

Analyze target entity

GET
/api/v1/intelligence/sources

List available sources

Storage

GET
/api/v1/storage/:adapter/keys

List keys in adapter

GET
/api/v1/storage/:adapter/:key

Get value by key

PUT
/api/v1/storage/:adapter/:key

Store key-value pair

DELETE
/api/v1/storage/:adapter/:key

Delete key

Agents

GET
/api/v1/agents

List active agents

POST
/api/v1/agents/:id/execute

Execute agent command

GET
/api/v1/agents/:id/status

Get agent status

Ready to Build?

Get started with the Prismatic SDK in your preferred language

Questions? Check our documentation or contact support