---
title: "Resume Task State"
method: GET
path: "/api/cli/task-state"
tags: ["cli"]
---

# Resume Task State

`GET /api/cli/task-state`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/cli/task-state`
- Auth: none declared

The freshest task-state for a repo from a different machine, if resumable.

## Query parameters

- `repo` string, required
- `machine_id` string, required
- `window_seconds` integer, nullable

## Headers

- `x-impersonate-identity-id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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