Actions361
- Projects and Groups Actions
- List Groups
- Add Group
- Get Group
- Delete Group
- Edit Group
- List Projects
- Add Project
- Get Project
- Delete Project
- Edit Project
- Download Project File Format Settings Custom Segmentation
- Reset Project File Format Settings Custom Segmentation
- List Project File Format Settings
- Add Project File Format Settings
- Get Project File Format Settings
- Delete Project File Format Settings
- Edit Project File Format Settings
- List Project Strings Exporter Settings
- Add Project Strings Exporter Settings
- Get Project Strings Exporter Settings
- Delete Project Strings Exporter Settings
- Edit Project Strings Exporter Settings
- Storage Actions
- Branches Actions
- Source Strings Actions
- Translations Actions
- Bundle List Branches
- List Bundles
- Add Bundle
- Get Bundle
- Delete Bundle
- Edit Bundle
- Download Bundle
- Export Bundle
- Check Bundle Export Status
- List Auto-Translations
- Apply Auto-Translation
- Auto-Translation Status
- Edit Auto-Translation
- Auto-Translation Report
- Validate text by QA Checks
- Export Project Translation
- Import Translations
- Import Translations Status
- Import Translations Report
- String Translations Actions
- List Translation Approvals
- Add Approval
- Remove String Approvals
- Get Approval
- Remove Approval
- List Language Translations
- List String Translations
- Add Translation
- Delete String Translations
- Get Translation
- Restore Translation
- Delete Translation
- Translation Alignment
- Search Translations
- List Translation Votes
- Add Vote
- Get Vote
- Cancel Vote
- String Corrections Actions
- Translation Status Actions
- Distributions Actions
- Workflows Actions
- Reports Actions
- List Report Archives
- Get Report Archive
- Delete Report Archive
- Export Report Archive
- Check Report Archive Export Status
- Download Report Archive
- Generate Group Report
- Check Group Report Generation Status
- Download Group Report
- List Report Settings Templates
- Add Report Settings Template
- Get Report Settings Template
- Delete Report Settings Template
- Edit Report Settings Template
- Generate Organization Report
- Check Organization Report Generation Status
- Download Organization Report
- Generate Report
- Check Report Generation Status
- Download Report
- List User Report Settings Templates
- Add User Report Settings Template
- Get User Report Settings Template
- Delete User Report Settings Template
- Edit User Report Settings Template
- Tasks Actions
- List Tasks
- Export Project Task Strings
- List Project Task Settings Templates
- Add Project Task Settings Template
- Get Project Task Settings Template
- Delete Project Task Settings Template
- Edit Project Task Settings Template
- List Project Tasks
- Add Project Task
- Get Project Task
- Delete Project Task
- List Project Task Comments
- Add Project Task Comment
- Get Project Task Comment
- Delete Project Task Comment
- Edit Project Task Comment
- Edit Project Task
- List User Tasks
- Edit Task Archived Status
- String Comments Actions
- Translation Memory Actions
- Glossaries Actions
- List Concepts
- Get Concept
- Update Concept
- Delete Concept
- List Glossaries
- Add Glossary
- Get Glossary
- Delete Glossary
- Edit Glossary
- Export Glossary
- Check Glossary Export Status
- Download Glossary
- Import Glossary
- Check Glossary Import Status
- Concordance search in Glossaries
- Concordance search in project Glossaries
- List Terms
- Add Term
- Clear Glossary
- Get Term
- Delete Term
- Edit Term
- Style Guides Actions
- Machine Translation Engines Actions
- Screenshots Actions
- Labels Actions
- Fields Actions
- Dictionaries Actions
- Custom Spellcheckers Actions
- Placeholders Actions
- Users Actions
- List Group Managers
- Get Group Manager
- Update Group Managers
- List Project Members
- Get Project Member Permissions
- Replace Project Member Permissions
- Delete Member From Project
- List Users
- Invite User
- Get User
- Delete User
- Edit User
- Get Authenticated User
- List User Projects Permissions
- List User Projects Contributions
- Teams Actions
- Vendors Actions
- Clients Actions
- Organization Actions
- Notifications Actions
- AI Actions
- List AI Snippets
- Add AI Snippet
- Get AI Snippet
- Delete AI Snippet
- Edit AI Snippet
- AI File Translations
- Get File Translations Status
- Cancel File Translations
- Download Translated File
- Download File Strings
- Clone AI Prompt
- List AI Prompts
- Add AI Prompt
- Get AI Prompt
- Delete AI Prompt
- Edit AI Prompt
- List AI Provider Models
- List AI Providers
- Add AI Provider
- Get AI Provider
- Delete AI Provider
- Edit AI Provider
- List Supported AI Provider Models
- Generate AI Report
- Check AI Report Generation Status
- Download AI Report
- List AI Request Logs
- Export AI Request Logs
- Check AI Request Logs Export Status
- Download AI Request Logs Export
- Get AI Settings
- Edit AI Settings
- AI Translate Strings
- List AI Usage Members
- Get AI Usage Member
- Get Project AI Settings
- Languages Actions
- Webhooks Actions
- Organization Webhooks Actions
- Applications Actions
- Upload Application Bundle
- List Application Installations
- Install Application
- Get Application Installation
- Delete Application Installation
- Edit Application Installation
- Get Application Installation Update
- Apply Application Installation Update
- Get Application Data
- Update or Restore Application Data
- Add Application Data
- Delete Application Data
- Edit Application Data
- Advisor Actions
- External QA Checks Actions
- Security Logs Actions
AI → Add AI Prompt
AI-generatedSummary
Add a new AI prompt for Crowdin Enterprise projects by specifying its name, action type, AI provider and model, target projects, and detailed configuration settings.
Inputs
- Authentication — Choose the authentication method: OAuth2 (recommended) or Personal Access Token.
- Name (required) — Specify the name of the AI prompt.
- Action (required) — Select the AI prompt action, such as pre_translate, alignment, or qa_check. Note that 'assist' action is deprecated.
- Ai Provider Id — Optionally select the AI provider by its identifier, obtainable through List AI Providers.
- Ai Model Id — Optionally select the AI model ID, dependent on the chosen AI provider, retrievable via List AI Provider Models.
- Enabled Project Ids — Optionally specify an array of project IDs where this AI prompt should be enabled, fetched via List Projects.
- Config (required) — Provide the AI prompt configuration object, which varies by action and mode. It supports multiple modes (basic for pre_translate, alignment, qa_check actions; advanced; external), each with specific fields such as snippets, context inclusion flags, evaluation steps (for QA), and prompt text.
Output shape
a single record containing the created AI prompt details as returned by the Crowdin API
The output includes all details of the newly added AI prompt. Some input fields are loaded dynamically via helper methods to list AI providers, models, projects, snippets, and languages. The operation requires the 'name', 'action', and 'config' fields as mandatory inputs. Authentication configuration defaults to OAuth2 but can be customized.
Examples
Example 1: Add a pre-translate AI prompt using basic mode with selected snippets and enabled projects
Set 'Name' to identify the prompt, choose 'Action' as pre_translate, select AI Provider and Model IDs if needed, specify 'Enabled Project Ids', and provide 'Config' with 'Basic mode (pre-translate action)' options such as snippets and context toggles.