runs
skills

Buy a run of a skill runner a seller offers

A runx account buys with its token, and pays with x402, a payment body, or account_payment: a quote it decided on, paid from its runx balance or one of its payment grants. A buyer with no account names purchaser_key, which owns the purchase; a purchase on a resource held under that key also carries the key's signature.

post/v1/skills/{owner}/{name}/run

Request

  • Base URL: https://api.runx.ai
  • URL: https://api.runx.ai/v1/skills/{owner}/{name}/run
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Runx-Purchaser-Key
    • none

Path parameters

ownerstring required

Skill owner.

namestring required

Skill name.

Headers

Idempotency-Keystring

Stable run and paid-invocation retry key.

PAYMENT-SIGNATUREstring

Optional standard x402 v2 payment payload using bounded standard base64.

X-Runx-Purchaser-Signaturestring

The purchaser key's Ed25519 signature over runx.payment.purchase_read.v1: this method, this URL and the issued-at time.

X-Runx-Purchaser-Issued-Atstring

When the request was signed; runx refuses one outside five minutes of its clock.

Request body

runnerstring
inputsobject
idempotency_keystring
versionstring

The listing version the buyer priced; a purchase of another is refused.

purchaser_keystring

The Ed25519 key that owns the purchase: it signs the purchase's reads and claims.

Response

The purchase its buyer reads.

balance_microinteger
receiptobject
resultunknown

Changes

No recorded changes to this operation across all 1 revision of this API.