---
title: "Renew a static session."
method: POST
path: "/sessions/{session_id}/renew"
---

# Renew a static session.

`POST /sessions/{session_id}/renew`

## Request

- Base URL: `https://api.nexalayer.net/v1`
- URL: `https://api.nexalayer.net/v1/sessions/{session_id}/renew`
- Auth: API key in header `X-API-Key`

## Path parameters

- `session_id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `duration` integer, required

## Response `200`

Renewed session.

---

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