Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Poll next bridge commands

POST/v1/private/local-runners/{runnerId}/bridge/commands/nextPoll next bridge commands

Long-poll for pending bridge commands (batch)

Parameters

runnerIdstring · uuidpathrequired

Request body

application/json
objectBridgeCommandNextRequest
max_commandsinteger · int32
Example request
{
  "max_commands": 0
}

Responses

200Commands batchapplication/json
objectBridgeCommandBatchResponse
commandsarray of object
Show child attributes
Show array items
argsobject
command_idstring · uuid
submitted_atstring · date-time
timeout_secondsinteger · int32
typestring

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

Example response
{
  "commands": [
    {
      "args": {},
      "command_id": "00000000-0000-0000-0000-000000000000",
      "submitted_at": "2026-06-09T00:00:00Z",
      "timeout_seconds": 0,
      "type": "EditFile"
    }
  ]
}
404Not foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu