Skip to main content
typesafe-sdk-go is an unofficial Go client for the TypeSafe AI API. It wraps the /v1/systemone and /v1/models endpoints with typed question and answer types, so you get compile-time safety instead of raw maps.

Quickstart

Install the SDK and make your first call.

API Reference

Every type, option, and method.

Examples

Runnable programs in the repo.

GitHub

Source code and issues.

Why this exists

TypeSafe ships official SDKs for Python and JavaScript. No Go SDK existed, so this fills that gap with the same shape: a Client, typed question builders, and a typed response.

Requirements

  • Go 1.21 or later
  • A TypeSafe API key, set as TYPESAFE_API_KEY