Ticket
Apply an AI-driven text transformation
POST /ticket/textUpdate
POST /ticket/textUpdate
Runs an AI text-modification operation on the supplied text and returns the transformed result. Used by ops-fe's compose box (rephrase, shorten, translate, …).
Request body
textstringbodySource text to transform.
operationstringbodyTransformation operation (e.g. rephrase, shorten, translate).
parametersobjectbodyOperation-specific parameters (e.g. target language for translate).
Request Example
{
"text": "string",
"operation": "string",
"parameters": null
}Responses
200 — Successful operation
Response Example
{
"success": true,
"text": "string"
}400 — Invalid input
403 — Unauthorized
500 — Internal error