Saltar al contenido
Lumean

Descripciones en inglés

La interfaz de la sección está traducida a su idioma, pero las descripciones de operaciones, esquemas y errores solo existen en ruso y en inglés: aquí se muestra la versión en inglés.

policy_flagged — chunk rejected by the content policy

202policy_flaggedsin Retry-After

Qué pasó

This is not an HTTP error. The code comes as the value of OrderItem.status and as the reason in the skipped[] array of the 202 response to POST /orders/{order}/items/retry-failed. The order then moves to partially_completed. This status is not final: finished chunks stay in place, and rejected ones wait for action.

Por qué

The generation provider rejected the chunk text under its content policy. Bulk retry skips such chunks: the same text would be rejected again. Chunks in failed (a technical failure), on the other hand, it picks up all at once.

Qué hacer ahora mismo

Fetch the current chunk text, rephrase the disputed fragment, and retry that chunk on its own with the new text. The API does not report the rejection reason, so edit at your discretion. Retry limits: no more than 5 attempts, and chunk retry is not available for sfx and music. GET /orders/{order}/items/{item}/text returns the length limits: within free_length a retry is free, up to max_billable_length it comes with a surcharge. POST /orders/{order}/retry does not fit here: it does not accept orders in partially_completed.

Qué solicitud enviar a continuación

GET /orders/{order}/items/{item}/text, then POST /orders/{order}/items/{item}/retry with the body {"text": "<corrected text>"} → 201 with the updated OrderItem. Within free_length, the retry uses the amount already held for the order and does not use the key token quota. A surcharge for extra length counts toward the key token quota.

Esta página para IA

Abrir .mdllm.md

versión de la API 1.0.0