Actions3
- Data Extraction Actions
Data Extraction → Get Countries
AI-generatedSummary
Retrieve a list of supported countries from the Cloro API, optionally filtering by a specific model name or ID.
Inputs
- Filter by Model Name or ID — Optionally filter the countries list by selecting a specific AI model from the dynamically loaded list of available models or by specifying a model ID via expression.
Output shape
a list of country identifiers as JSON objects, each containing the country name/value pair
If the filter by model option is used, the returned list includes only countries supported by that particular model. The request is executed via a GET to the /v1/countries endpoint on the Cloro API. The output is provided one item per input with the countries data in the 'json' property.
Examples
Example 1: Get all supported countries without filtering
Leave the Filter by Model Name or ID parameter empty to fetch all countries supported by Cloro.
Example 2: Get countries supported by a specific AI model
Select a model from the Filter by Model Name or ID dropdown or provide a model ID expression to retrieve only countries supported by that model.