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.1.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.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: actiongate_sdk-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f0ee44a83959a2a28c79f6ae4bdaf4ed5db83f1754e5f12e235d601ea186f621
MD5 954ae2f88111907eb511a3563178d641
BLAKE2b-256 4d284b060a738ec4297f4d0185172736cc6de7756d7ae8852318dfc97060894e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: actiongate_sdk-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3da4f902252760784d4ee452d03add84d4e8c311466ef8f39a1a38955cbc0a8
MD5 73deec670df17b013b5b785b1ad1f760
BLAKE2b-256 b69aa27cadb4915e89af62bdefe3233fbb5ce092924a752982bbb27cb29b0246

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