Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.fact0.io/llms.txt

Use this file to discover all available pages before exploring further.

SDK overview

All SDKs target https://api.fact0.io by default. Set FACT0_API_KEY (or pass apiKey / APIKey in code) with a write-scoped key from app.fact0.io.
LanguagePackageVersionInstall
Pythonfact0-sdk1.0.0pip install fact0-sdk
TypeScript@fact0/sdk1.0.0npm install @fact0/sdk
Gogithub.com/fact0-ai/fact0-go1.0.0go get github.com/fact0-ai/fact0-go
Python imports use import fact0. The PyPI distribution is fact0-sdk because the bare name fact0 is reserved on PyPI.

Modules

Every SDK exposes two clients:
ModuleAPI prefixPurpose
Audit/v1/*Tamper-evident audit log - ingest, query, verify, export
Telemetry/api/v1/*Execution tracing - spans, DAG, replay

Environment variables

VariableUsed byDefault
FACT0_API_KEYAll SDKs- (required)
FACT0_BASE_URLAll SDKshttps://api.fact0.io

Python

pip install fact0-sdk

TypeScript

npm install @fact0/sdk

Go

go get github.com/fact0-ai/fact0-go
Release notes: Changelog.