runs
paid-invocations

Read one purchase as its buyer: never the seller's run

Read by the account that bought it, or by a request the purchaser key that owns it signed. A purchase lists what it holds; a held value never appears.

get/v1/purchases/{id}

Request

  • Base URL: https://api.runx.ai
  • URL: https://api.runx.ai/v1/purchases/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Runx-Purchaser-Key

Path parameters

idstring required

Purchase id: the paid invocation id.

Headers

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.

Response

Purchase.

balance_microinteger
receiptobject
resultunknown

Changes

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