---
title: "Release Pending Message Lease"
method: POST
path: "/v1/store/chat-sessions/{chat_session_id}/pending-messages/release-lease"
tags: ["store"]
---

# Release Pending Message Lease

`POST /v1/store/chat-sessions/{chat_session_id}/pending-messages/release-lease`

## Request

- Base URL: `https://api.quadrillion.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.quadrillion.io/v1/store/chat-sessions/{chat_session_id}/pending-messages/release-lease`
- Auth: none declared

Clear a drain lease so a row whose promotion failed is drainable again.

## Path parameters

- `chat_session_id` string, required

## Request body

- ReleasePendingMessageLeaseRequest
  - `pending_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-18** `abf76937a751`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/v1/store/chat-sessions/:chat_session_id/pending-messages/release-lease/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) - [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/2e1425e0e054?raw)
