---
title: "Continue a local chat in the cloud"
method: POST
path: "/threads/continue"
---

# Continue a local chat in the cloud

`POST /threads/continue`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/threads/continue`
- Auth: HTTP bearer

Continue a chat that ran on the caller's computer (Claude Code or Codex) as a cloud thread of its own. `native.archive` (base64) resumes the same harness's session from its checkpoint; `transcript` (`{path, sha256, bytes}`) starts any agent knowing where the transcript will be put. 409 `continue_pending` means ask again with the same body.

## Request body

- object
  - `requestId` string, required
  - `agentType` string, required
  - `llm` string
  - `reasoningEffort` string
  - `title` string
  - `requestedAt` string, date-time, required
  - `source` object, required
    - `harness` 'claude_code' | 'codex'
    - `nativeSessionId` string
    - `harnessVersion` string, nullable
  - `native` object
    - `archive` string
  - `transcript` object
    - `path` string
    - `sha256` string
    - `bytes` integer

## Response `201`

OK

- object
  - `playgroundId` string
  - `sessionId` string
  - `mode` string

## Other responses

- `400`: Error — { error: { code, message } }
- `401`: Error — { error: { code, message } }
- `403`: Error — { error: { code, message } }
- `404`: Error — { error: { code, message } }
- `409`: Error — { error: { code, message } }
- `422`: Error — { error: { code, message } }
- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/threads/continue/post.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/8280a065ef6a?raw)
