Crowdin Enterprise (String-Based) icon

Crowdin Enterprise (String-Based)

Interact with Crowdin Enterprise API for localization management

Actions361

AI → Edit AI Snippet

AI-generated

Summary

Update an existing AI Snippet in Crowdin Enterprise by specifying its ID and providing one or more fields to modify, such as description, placeholder, and/or value.

Inputs

  • Authentication — Choose the authentication method: OAuth2 (recommended) or Personal Access Token.
  • Ai Snippet Id (required) — Select the AI Snippet to update by its identifier, retrievable via the List AI Snippets operation.
  • Update Fields — Specify one or more fields to update: Description (unique, 3-255 chars), Placeholder (unique, starts with %custom: and ends with %, allowed characters: a-z, A-Z, 0-9, -, max 255 chars), and/or Value (text for prompt, max 4000 chars).
  • Request Options — Optional HTTP request settings including batching configuration, SSL certificate validation, proxy settings, and timeout duration.

Output shape

a single updated AI Snippet object

The operation sends a patch request to update the specified AI Snippet fields. Only provided fields in 'Update Fields' are changed. Errors may be returned if fields do not meet validation criteria or if the AI Snippet ID is invalid.

Examples

Example 1: Update the description and value of an existing AI Snippet

Set Authentication to OAuth2, select the Ai Snippet Id, and provide new Description and Value fields in Update Fields.

Links

Discussion