Crowdin Enterprise (String-Based) icon

Crowdin Enterprise (String-Based)

Interact with Crowdin Enterprise API for localization management

Actions361

AI → Edit AI Prompt

AI-generated

Summary

Update an existing AI prompt in Crowdin Enterprise by specifying its ID and providing new values for one or more fields such as name, action, AI provider, AI model, enabled projects, and detailed configuration options depending on the prompt mode.

Inputs

  • Authentication — Select OAuth2 or Access Token authentication method.
  • Ai Prompt Id (required) — AI Prompt identifier to update, obtained from listing AI prompts.
  • Update Fields — Fields to update on the AI prompt, including name, action type (pre_translate, alignment, qa_check), AI provider ID, AI model ID, enabled project IDs, and a detailed configurable 'config' object that varies based on the selected action and mode (basic, advanced, external).

Output shape

a single updated AI prompt record

The operation returns the updated AI prompt object. Available fields for update depend on the prompt's action and mode; some flags and nested configurations are only applicable to specific actions like pre_translate or qa_check. Use related list operations to retrieve IDs needed for inputs such as AI providers, models, projects, and languages.

Examples

Example 1: Update an AI prompt to change its name and enable it for specific projects

Set 'Ai Prompt Id' to the target prompt, provide new 'Name', and specify 'Enabled Project Ids' with a list of relevant project IDs in the 'Update Fields' collection.

Links

Discussion