Skip to main content

Overview

Use the Formal Go SDK to build custom tools, automation, and integrations.
For most infrastructure management tasks, use the Terraform provider instead of the SDK.
The SDK source is at github.com/formalco/go-sdk.

Features

  • Create, read, update, delete Formal objects
  • Query logs and sessions programmatically
  • Manage policies dynamically
  • Integrate Formal into CI/CD pipelines
  • Build custom dashboards

Example

Install the SDK:
List your Resources:
The client calls https://api.formal.ai by default. To call the API without the SDK, see HTTP API.

API Documentation

See the API Reference for complete endpoint documentation.