Skip to Content

Agent Gateway action reference

This page is generated from the plugin registry. Do not edit it by hand.

Read an agent sub-org’s KeeperHub credit balance and request Turnkey-backed signatures for x402 (Base) / MPP (Tempo) payment challenges

For guidance and examples see the Agent Gateway guide.

Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.

ActionAction type
Check Credit Balanceagent-gateway/check-credit
Sign Payment Challengeagent-gateway/sign-payment

Check Credit Balance

Action type: agent-gateway/check-credit. Connection: required (agent-gateway).

Read the agent sub-org’s off-chain KeeperHub credit balance

Inputs

This action takes no configuration fields.

Outputs

OutputDescription
successWhether the read succeeded
amountCredit balance as a USD decimal string
currencyCurrency of the balance (USD)
subOrgIdThe sub-org the balance was read for

Sign Payment Challenge

Action type: agent-gateway/sign-payment. Connection: required (agent-gateway).

Request a Turnkey-backed signature for an x402 (Base) or MPP (Tempo) payment challenge for a KeeperHub marketplace workflow. Payee and amount are derived from the workflow registry by slug. May return a pending-approval result instead of a signature depending on the sub-org’s risk policy.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
chainstringYesbase, tempoChain.
paymentChallengestringYesPayment Challenge. The 402/WWW-Authenticate payment challenge payload. Must belong to a KeeperHub marketplace workflow; payTo and amount are verified against the workflow registry.
workflowSlugstringYesWorkflow Slug. The slug of the KeeperHub marketplace workflow being paid for. Required: /api/agentic-wallet/sign derives the payee and amount from the workflows registry by slug.

Outputs

OutputDescription
successWhether a signature was produced
status”signed” | “pending_approval” | “blocked” | “error”
signatureTurnkey-backed signature for the payment challenge when status is “signed”
approvalRequestIdPresent when status is “pending_approval”