---
title: "Check For Updates"
method: POST
path: "/api/v1/runtime/runner/environments/{environment_id}/updates/check"
tags: ["runner"]
---

# Check For Updates

`POST /api/v1/runtime/runner/environments/{environment_id}/updates/check`

## Request

- Base URL: `https://api.komos.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.komos.ai/api/v1/runtime/runner/environments/{environment_id}/updates/check`
- Auth: none declared

Check if a runner update is available.

Requires environment token authentication. The runner should include
its current version and platform to receive appropriate update info.

## Path parameters

- `environment_id` string, uuid, required

## Headers

- `Authorization` string, nullable
- `X-Environment-Token` string, nullable

## Request body

- UpdateCheckRequest: Request body for update check.
  - `current_version` string, required
  - `platform` string, required
  - `arch` string, nullable

## Response `200`

Successful Response

- UpdateCheckResponse: Response body for update check.
  - `update_available` boolean, required
  - `current_version` string, required
  - `latest_version` string, nullable
  - `download_url` string, nullable
  - `checksum_url` string, nullable
  - `release_date` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/komos/apis/komos-backend.md) · [All operations](https://skmtc.dev/komos/apis/komos-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/komos/apis/komos-backend/revisions/f10e153fab38?raw)
