Skip to main content

Python SDK scaffold for the ActionGate API.

Project description

actiongate-sdk

Python SDK for the ActionGate API.

Install

pip install actiongate-sdk

Methods

  • risk_score(payload)
  • simulate(payload)
  • policy_gate(payload)

Example

from actiongate_sdk import ActionGateClient

client = ActionGateClient(base_url="https://api.actiongate.xyz")
result = client.risk_score({
    "actor": {"actor_id": "treasury-bot"},
    "action": {"action_type": "transfer", "network": "base", "asset_symbol": "USDC", "amount": "2500"},
})

x402 V2 Support

  • Sends PAYMENT-SIGNATURE when payment_signature is configured.
  • Parses PAYMENT-REQUIRED and PAYMENT-RESPONSE.
  • Exposes parsed metadata via ActionGateError and client.last_payment_response.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

actiongate_sdk-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

actiongate_sdk-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file actiongate_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: actiongate_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for actiongate_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2a83c040aef9759d063dd2d11f337aec615ffbed3b20a2825375cca3b79ab2da
MD5 ed15698c19ed0e2d4cede3578057b2b1
BLAKE2b-256 975a08f4dbcf30eb9b096a2534a3f00a6633dd14e234d37e6816acf8ba7a697c

See more details on using hashes here.

File details

Details for the file actiongate_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: actiongate_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for actiongate_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0bf1413a6f40a4664394611163961cd125e7cb6a4cdbab210d3f20c7239feb1f
MD5 4db4f414a08787d6f3d7c353244f6d2c
BLAKE2b-256 fde5220c0edbf9086e93f85f17b0debc6fdde36c7ce34a563e7bc92128546749

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page