Skip to content

SDK

The private-beta JavaScript SDK wraps the REST API with a typed client for Node-compatible runtimes. Python, Go, and Rust clients are planned after the beta interface settles.

  • allowkit.pay(opts) — request a metered payment
  • allowkit.balance() — current allowance balance
  • allowkit.policy() — active policy for the agent
  • allowkit.logs(query) — fetch the audit trail
  • allowkit.alerts.subscribe(cb) — stream events