Support API Key Authentication

One record of a run, to repeat or cite it: GPU model and count, the image reference the container was started from (with its digest when the template pins one), the template, the node's NVIDIA driver, CUDA version and GPU interconnect as the listing showed them when the container came up (launch_snapshot), start and end, why it ended, and the total charged (the statement's total). Answers for a removed pod. launch_snapshot is null for a run that started before it was recorded. 404 under the same rule as GET /pods/{id}/statement.

get/pods/{id}/record

Request

  • Base URL: https://lium.io/api
  • URL: https://lium.io/api/pods/{id}/record
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idstring uuid required

Response

Run record assembled

pod_idstring uuid required
pod_namestring nullable required
removedboolean required
gpu_namestring nullable required
gpu_countinteger nullable required
executor_idstring uuid nullable required

The node (executor.id) the pod ran on last.

imagestring nullable required

launch_snapshot.image; for a run older than the launch snapshot, the image on the rental.

created_atstring date-time nullable required
removed_atstring date-time nullable required
close_reasonstring nullable required
billed_secondsnumber required
totalnumber required

USD charged, the same total GET /pods/{id}/statement returns.

Changes