Skip to content

GET /api/v1/offers/{id}

Operation: getOffer.

Get one offer (public)

GET https://amplerun-api.spiry.org/api/v1/offers/{id}

No default Bearer requirement is declared for this operation. Read its description for wallet signatures, host enrollment or other specialized proofs.

NameLocationPresenceTypeDescription
idpathRequiredUUID

Offer summary.

application/json

FieldTypePresenceDescription
offer_idUUIDRequired
machine_idUUIDRequired
observed_atRfc3339UtcRequired
offer_versionDecimalStringRequired
expected_versionDecimalStringRequired
readiness“ready” / “provisioning” / “unavailable”Required
total_rate_micro_per_hourMicroAmountRequired
included_quotasobjectRequired
available_fromRfc3339UtcRequired
available_untilRfc3339UtcRequired
maintenance_windowsarray of objectRequired
gpu_countintegerOptional
modelstringOptional
vram_bytesDecimalStringOptional
regionstringOptional
countrystringOptionalAdditive. ISO 3166-1 alpha-2 country of the machine, read by the controller from the agent’s request country as reported by the trusted proxy (never from host input). Absent when unknown.
continentContinentOptional
ram_bytesDecimalStringOptional
disk_bytesDecimalStringOptional
measured_bandwidth_mbpsintegerOptionalnetfacts lane. Measured DOWNLOAD rate in Mbps; additive. Absent = never measured (never 0).
net_up_mbpsintegerOptionalnetfacts lane. Measured UPLOAD rate in Mbps; rides the same measurement as measured_bandwidth_mbps.
net_latency_msintegerOptionalnetfacts lane. Median HTTPS latency in ms from the same measurement.
speedtest_atRfc3339UtcOptionalnetfacts lane. When the current net facts were measured; renders ‘measured N ago’ honestly.
tflops_bf16numberOptionalAI Speed. Measured dense BF16 matmul TFLOPS per GPU (the MIN across the machine’s GPUs); additive. Absent = never measured (never 0).
tflops_totalnumberOptionalAI Speed. tflops_bf16 x gpu_count, computed, one decimal. Absent with tflops_bf16 or gpu_count.
mem_bw_gbpsnumberOptionalAI Speed. Measured device memory bandwidth in GB/s per GPU (the MIN across the machine’s GPUs). Absent = never measured (never 0).
ai_speedintegerOptionalAI Speed. round(100sqrt((tflops_bf16/165.2)(mem_bw_gbps/1008))); RTX 4090 = 100. Absent unless both figures were measured.
bench_atRfc3339UtcOptionalAI Speed. When the current figures were measured.
bench_flag“unverified_spec”OptionalAI Speed. The GPU has no datasheet row to check the figures against.
disk_free_bytesDecimalStringOptionalAdditive. Free disk space in bytes from the machine’s latest telemetry sample. Absent when there is no sample, the sample is older than 60 seconds (2x the 30 s heartbeat, the host console STALE_AFTER_S rule) or the agent did not report it; never 0 as a stand-in.
uptime_sDecimalStringOptionalAdditive. Seconds since the machine booted, from the latest telemetry sample. Absent under the same rules as disk_free_bytes.
gpu_utilization_pctnumberOptionalAdditive. Live GPU load, the PEAK across the machine’s devices, from the latest telemetry sample. Absent under the same rules as disk_free_bytes, and when no device reported utilisation. 0 means measured idle.
telemetry_atRfc3339UtcOptionalAdditive. observed_at of the telemetry sample disk_free_bytes, uptime_s and gpu_utilization_pct came from. Present only with at least one of them; absent whenever they are.
template_compatibilityarray of stringOptional
manifest_hashSha256HashOptional
fitTemplateFitOptionalD-19(c). Present only when the request carried template_id; computed server-side from the template vram_fit against measured device VRAM.
fits_template_idsarray of UUIDOptionalAdditive. Present only when the request carried fits_for=all; the ids of every published template that fits this offer (the same rule as fit).
platform_fee_bpsintegerOptionalAdditive. Platform fee frozen into this offer version, in basis points (500 = 5%), taken out of each charge.
verification_level“unverified” / “auto_verified” / “manually_verified”OptionalAdditive. How the machine’s hardware claims were verified.
admittedbooleanOptionalAdditive. Whether the machine has passed admission (a passed qualification for its current manifest). false is an unverified listing: shown in the catalog, never quoted or reserved (409 CONFLICT).
tier“container” / “inference”OptionalAdditive (D-23). container: SSH containers under the launch profile. inference: managed models on a signed, hash-pinned runtime with no renter code, reached over the host’s outbound session (community inference: don’t send sensitive data).
backendsarray of “cuda” / “rocm” / “sycl” / “vulkan” / “metal”OptionalAdditive. Backends the machine’s devices serve, in preference order (cuda > rocm > sycl > vulkan > metal). A template runs here with the first one it has a runtime for.
reliabilityobjectOptionalAdditive. Approximate reliability score from machine fields only (no per-job joins on the catalog path).
availability_classAvailabilityClassOptional
preemption_notice_sinteger or nullOptionalD-22. Notice in seconds (SIGTERM plus /work/.amplerun-preempt) before the host stops an interruptible rental; null for dedicated.
interruption_estimateInterruptionEstimate or nullOptionalD-22. Present for interruptible offers (horizon 4 h in the catalog); null for dedicated.
{
"$ref": "#/components/schemas/OfferSummary"
}

Error envelope. 401 unauthenticated, 403/404 forbidden, 409 conflict, 422 invalid input, 429 rate limited (code UNAVAILABLE, retryable:true, no Retry-After header), 503 unavailable money/provider state with retryable:true.

application/json

FieldTypePresenceDescription
errorobjectRequired
{
"$ref": "#/components/schemas/ErrorEnvelope"
}

Replace path/query placeholders and provide the required JSON body, headers and credential from the sections above. This is a request outline, not a command that chooses an amount or starts a rental for you.

Terminal window
curl --request GET 'https://amplerun-api.spiry.org/api/v1/offers/{id}'

Schema definitions · Download OpenAPI · Authentication · Errors and recovery

Official AmpleRun documentation · Contract v3 · Generated from the API contract · Revision 52fe29de · Open AmpleRun · View Markdown · For agents