---
title: "Keepalive"
method: POST
path: "/assistant/sessions/{session_id}/keepalive"
---

# Keepalive

`POST /assistant/sessions/{session_id}/keepalive`

## Request

- Base URL: `https://api.retrodiffusion.ai/v2`
- URL: `https://api.retrodiffusion.ai/v2/assistant/sessions/{session_id}/keepalive`
- Auth: none declared. Required headers: `X-RD-Token`

Reset the idle-expiry clock (poll while the user is away).

## Path parameters

- `session_id` string, required

## Headers

- `X-RD-Token` string, required

## Response `200`

Successful Response

- AssistantKeepaliveRead
  - `ok` boolean
  - `expires_at` string, date-time

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method not allowed.
- `422`: Validation Error
- `500`: Internal Server Error

---

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