Skip to main content

Overview

Formal provides SDKs for programmatic access to the platform. Use SDKs to build custom tools, automation, and integrations.
For most infrastructure management tasks, use the Terraform provider instead of SDKs.

Coming Soon

Official SDKs for Go and Python are in development.

Planned Features

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

REST API

In the meantime, use the Formal REST API directly:

Authentication

export FORMAL_API_KEY="your-api-key-here"

Example Requests

  • List Resources
  • Create User
  • Query Logs
curl -X GET "https://api.joinformal.com/v1/resources" \
  -H "X-API-KEY: $FORMAL_API_KEY"

API Documentation

See the API Reference for complete endpoint documentation.