actiongate-sdk
Python SDK for the ActionGate API.
Install
pip install actiongate-sdk
Custom Proxy Usage
Use proxy_call(tool_name, payload=None, method="POST", headers=None) to call a configured /proxy/:toolName route.
GETandDELETEencodepayloadas query parameters.POST,PUT, andPATCHsendpayloadas a JSON body.headerslets you pass custom upstream headers for the proxy call.
from actiongate_sdk import ActionGateClient
client = ActionGateClient(base_url="https://api.actiongate.xyz")
result = client.proxy_call(
"search_status",
{"q": "hello world"},
method="GET",
headers={"Authorization": "Bearer upstream-secret"},
)
Methods
proxy_call(tool_name, payload=None, method="POST", headers=None)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-SIGNATUREwhenpayment_signatureis configured. - Parses
PAYMENT-REQUIREDandPAYMENT-RESPONSE. - Exposes parsed metadata via
ActionGateErrorandclient.last_payment_response.
Metadata
Release files for actiongate-sdk 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| actiongate_sdk-0.2.0.tar.gz | 6.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| actiongate_sdk-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / actiongate_sdk-0.2.0.tar.gz
| Download URL | actiongate_sdk-0.2.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de8a888962ed363fbe377864593195a865c64d18bc926de35b585738d337b247
|
|
BLAKE2b-256 checksum How to use checksums |
dae10ce9528216f5b04570d6cd87902e33fd56f1cae91916ff5b0515ad101624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / actiongate_sdk-0.2.0-py3-none-any.whl
| Download URL | actiongate_sdk-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4e20c3974a0880c0f37cdd624b6b032c54b6ab5331d301c3915f8092fa53a7b
|
|
BLAKE2b-256 checksum How to use checksums |
69ea35bf149f5762e045f4def60f605d7dd13f98fc7acaabc32afeac04601da7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for actiongate-sdk 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.