billing

Itemized invoice/receipt and supplier information for a job (self/admin)

get/api/v1/billing/receipts/{job}

Request

  • Base URL: https://amplerun-api.spiry.org
  • URL: https://amplerun-api.spiry.org/api/v1/billing/receipts/{job}
  • Auth: HTTP bearer

Path parameters

jobstring uuid required
Example:3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40

Response

Receipt. charge_micro = fee_micro + host_micro, as posted to the ledger.

job_idstring uuid required
statestring required
machine_rate_micro_per_hourstring required

Unsigned base-10 integer as string; never a float.

platform_fee_bpsinteger required
accepted_runtime_msstring required

Unsigned base-10 integer as string; never a float.

charge_microstring required

Unsigned base-10 integer as string; never a float.

fee_microstring required

Unsigned base-10 integer as string; never a float.

host_microstring required

Unsigned base-10 integer as string; never a float.

funded_budget_microstring required

Unsigned base-10 integer as string; never a float.

Example response

{
  "job_id": "3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40",
  "machine_rate_micro_per_hour": "1",
  "accepted_runtime_ms": "1",
  "charge_micro": "1",
  "fee_micro": "1",
  "host_micro": "1",
  "funded_budget_micro": "1",
  "entries": [
    {
      "at": "2026-09-25T12:00:00Z"
    }
  ]
}

Changes

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