store

Claim Oldest Drainable Pending Message

Changed on

Atomically lease and return the oldest drainable row of kind, or null.

The row is leased, not removed: the caller promotes it into history and then deletes it, so a crash mid-promotion leaves it recoverable.

post/v1/store/chat-sessions/{chat_session_id}/pending-messages/claim-oldest-drainable

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/claim-oldest-drainable
  • Auth
    none declared

Path parameters

chat_session_idstring required

Request body

kindstring
kindsstring[] nullable
honor_holdboolean

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the new optional request property