RelayrtcDocs
Get started
Documentation
REST API v1

Runtime operation

Fields returned by the REST API for runtime operation.

On this page

Fields

FieldTypeMeaning
idstringResource identifier.
kindstringOperation kind.
statusstringLifecycle or delivery state.
attemptsnumberCleanup attempt count.
lastErrorstring or nullLatest error, or null.
completedAtstring or nullCompletion timestamp, or null.

Example

JSON
{
  "id": "operation_example",
  "kind": "room.end",
  "status": "pending",
  "attempts": 0,
  "lastError": null,
  "completedAt": null
}

Status

Status is pending, running, failed or completed. The operation can include additional target and lease metadata. Treat completion as status === 'completed', not merely receipt of HTTP 202.