---
title: "Extend a pending question's hot answer window"
description: "Typing keepalive for a pending question's hot window (WIBLO-159): while the user composes an answer the client pings this (throttled) and the gateway resets the request's park timer, keeping the asking turn live."
api_method: POST
api_path: "/v1/agent-runs/{runId}/threads/{threadId}/user-inputs/{requestId}/extend"
canonical_url: https://wiblo.app/docs/developers/api/agent-threads/extend-agent-user-input
last_updated: 2026-07-28T17:12:38+02:00
md_url: https://wiblo.app/docs/developers/api/agent-threads/extend-agent-user-input.md
---

# Extend a pending question's hot answer window

`POST /v1/agent-runs/{runId}/threads/{threadId}/user-inputs/{requestId}/extend`

Typing keepalive for a pending question's hot window (WIBLO-159): while the user composes an answer the client pings this (throttled) and the gateway resets the request's park timer, keeping the asking turn live. `extended: false` means the hot window is already gone (request resolved, turn settled, or sandbox stopped) — submitting the answer still works via the parked lane, so no client fallback is needed. Per-user rate-limited at 60/60s.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `runId` | `string` | Yes |  |
| `threadId` | `string` | Yes |  |
| `requestId` | `string` | Yes |  |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/agent-runs/{runId}/threads/{threadId}/user-inputs/{requestId}/extend \
  -X POST \
  -H "Authorization: Bearer $WIBLO_TOKEN"
```

**TypeScript**

```ts
import { createSdk, extendAgentUserInput } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await extendAgentUserInput({
  client: sdk,
  path: { runId: "...", threadId: "...", requestId: "..." },
})
```

## Responses

**`200`** — Whether the hot window was extended. Returns `ExtendUserInputResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `requestId` | `string` | Yes |  |
| `extended` | `boolean` | Yes |  |

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`404`** — No visible thread with this id (`AGENT_THREAD_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`422`** — Path param failed validation (`INVALID_PARAMS`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.
