Skip to main content

GET /api/v1/docks/{dockId}/commands/{commandId}

  • Production: GET https://outpost.earthity.com/api/v1/docks/{dockId}/commands/{commandId}
  • Sandbox: GET https://outpost.earthity.com/api/sandbox/v1/docks/{dockId}/commands/{commandId}
  • Gate: credentialed
  • Read-only: true
  • Destructive: false
  • Idempotent: true

Parameters

Responses

200 - Current command status.

401 - Not signed in.

Body: application/problem+json - see Problem anatomy.

404 - Unknown dock, or a dock this credential has no relationship with — the two are deliberately indistinguishable. A 403 here would confirm that a dock id belonging to another tenant is real, which turns this route into an enumeration oracle over other people’s hardware.

Body: application/problem+json - see Problem anatomy.

429 - Too many reads. Production allows 120 command reads per IP in 10 seconds, and 1,200 per organization in a minute — the organization the read is made for, so a team sharing one office address shares the per-IP allowance but not a quota. A single API key may make at most 600 of those organization reads a minute, half the allowance, so one misbehaving key cannot starve the rest. The sandbox allows 30 reads per IP in 10 seconds. Every one of these 429s carries Retry-After; back off until it has passed.

Body: application/problem+json - see Problem anatomy.

503 - Fail-closed unavailable: the command-state store, or the rate limiter that meters this read, cannot be reached, so the read is refused rather than served unmetered.

Body: application/problem+json - see Problem anatomy.

Errors