---
title: "Retry the failed suffix of a partially sent message"
method: POST
path: "/api/conversations/{id}/messages/{messageId}/retry"
tags: ["Conversations"]
---

# Retry the failed suffix of a partially sent message

`POST /api/conversations/{id}/messages/{messageId}/retry`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/conversations/{id}/messages/{messageId}/retry`
- Auth: one of:
  - API key in cookie `luca.session_token`
  - API key in header `x-api-key`
  - HTTP bearer

Queues only message parts that are known not to have reached the provider. Luca refuses the retry when provider acceptance is unknown.

**API key scopes:** `conversations:write`. You also need an `Idempotency-Key` header.

## Path parameters

- `id` string, uuid, required
- `messageId` string, uuid, required

## Headers

- `idempotency-key` string, required
- `Luca-API-Version` '1'

## Response `200`

ok

- ConversationPartialRetryResponse
  - `ok` true, required
  - `status` 'queued', required

## Other responses

- `401`: unauthorized
- `404`: not found
- `409`: conflict
- `429`: rate limited
- `500`: internal error

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
