get_live_input
Retrieve one live input by id (status, sources, destinations).
get_live_input
Retrieve one live input by id (status, sources, destinations).
Retrieve a single live input by id, including its current ingest status.
Safety class: A · API type: admin · Min version: —
ConfinementRead-only; safe anywhere. Inputs are account-global, not folder-confined.
Signatures
def get_live_input(sdk, live_input_id):
"""Return the live input dict for live_input_id, or None if it does not resolve."""
return sdk.get_live_input(live_input_id)export async function getLiveInput(sdk, liveInputId) {
return await sdk.getLiveInput(liveInputId);
}Parameters
| Parameter (Python) | Parameter (JS) | Type | Required | Notes |
|---|---|---|---|---|
sdk | sdk | Nomad_SDK | yes | admin-apiType client |
live_input_id | liveInputId | str | yes | e.g. <live-input-uuid> |
Returns
dict | None — live input object: id, name, type, status, statusMessage, sources, destinations; None if not found.
Errors
- 401 unauthenticated
- 404 not found -> returns None
- InvalidAPITypeException if session is not admin
Notes
Real-world usage
- Maps to
GET /liveInput/{id}. Used to confirm an input is reachable/attached before a channel is started, and to surfacestatusMessageon failure. - The input
idcomes fromget_live_inputsor from a channel'sassociatedInputs.
Requires an admin session (raises
InvalidAPITypeExceptionotherwise).
Real-world usage
- Maps to
GET /liveInput/{id}. Used to confirm an input is reachable/attached before a channel starts, and to surfacestatusMessageon failure. - The
liveInputIdcomes fromgetLiveInputsor a channel'sassociatedInputs.
Requires an admin session (raises
InvalidAPITypeExceptionotherwise).
See also: Python ↔ JS naming map · Return shapes.
