---
title: "Get bridge command"
method: GET
path: "/v1/private/local-runners/{runnerId}/bridge/commands/{commandId}"
tags: ["Runners"]
---

# Get bridge command

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

Get bridge command status, optionally long-polling for completion

## Path parameters

- `runnerId` string, uuid, required
- `commandId` string, uuid, required

## Query parameters

- `wait` boolean
- `timeout` integer

## Response `200`

Command state

- BridgeCommand
  - `command_id` string, uuid
  - `runner_id` string, uuid
  - `type` 'ReadFile' | 'WriteFile' | 'EditFile' | 'ListFiles' | 'SearchFiles' | 'Exec'
  - `status` 'pending' | 'picked_up' | 'completed' | 'failed' | 'timed_out'
  - `args` JsonNode
  - `result` JsonNode
  - `error` JsonNode
  - `timeout_seconds` integer
  - `submitted_at` string, date-time
  - `picked_up_at` string, date-time
  - `completed_at` string, date-time
  - `duration_ms` integer

## Other responses

- `404` — Command not found

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
