Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Get bridge command

GET/v1/private/local-runners/{runnerId}/bridge/commands/{commandId}Get bridge command

Get bridge command status, optionally long-polling for completion

Parameters

runnerIdstring · uuidpathrequired
commandIdstring · uuidpathrequired
waitbooleanquery

default false

timeoutinteger · int32query

default 30

Responses

200Command stateapplication/json
objectBridgeCommand
argsobject
command_idstring · uuid
completed_atstring · date-time
duration_msinteger · int64
errorobject
picked_up_atstring · date-time
resultobject
runner_idstring · uuid
statusstring

one of "pending", "picked_up", "completed", "failed", "timed_out"

submitted_atstring · date-time
timeout_secondsinteger · int32
typestring

one of "ReadFile", "WriteFile", "EditFile", "ListFiles", "SearchFiles", "Exec"

Example response
{
  "args": {},
  "command_id": "00000000-0000-0000-0000-000000000000",
  "completed_at": "2026-06-09T00:00:00Z",
  "duration_ms": 0,
  "error": {},
  "picked_up_at": "2026-06-09T00:00:00Z",
  "result": {},
  "runner_id": "00000000-0000-0000-0000-000000000000",
  "status": "completed",
  "submitted_at": "2026-06-09T00:00:00Z",
  "timeout_seconds": 0,
  "type": "EditFile"
}
404Command not foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu