Pods

Get a pod's container log tail

Changed on

Returns the tail of a pod's container output (startup, CUDA errors, a crash's last lines), capped to a bounded size, or found false while it starts.

Requires the compute.read permission. See Permissions for the roles and API key permissions that include it.

get/api/nomad/pods/{podId}/logs

Request

  • Base URL
    https://api.openrelay.inc
  • URL
    https://api.openrelay.inc/api/nomad/pods/{podId}/logs
  • Auth
    HTTP bearer

Path parameters

podIdstring required

Response

OK

contentstring nullable

The console's tail, when found is true.

foundboolean required
messagestring

Present when found is false (or on other soft states); human-readable.

Changes