Skip to content

Provider Selection Import/Export ​

Save and restore your AI provider test configurations using JSON or Excel formats. This feature allows you to quickly switch between different test setups, share configurations with team members, and maintain backups of your testing preferences.

Overview ​

The Provider Selection Import/Export feature in the Synthetic Dashboard lets you:

  • Export your current provider/model selections and group assignments
  • Import previously saved configurations
  • Share test setups with team members
  • Backup configurations before making changes

Note: This is different from the AI Provider Import/Export in /admin/ai-providers, which manages actual provider credentials and API keys. Provider Selection only manages which providers are selected for testing.

Accessing Import/Export ​

  1. Navigate to Synthetic Dashboard (/synthetic)
  2. In the AI Provider Configuration section, click Import/Export
  3. The import/export panel will expand with options

Export Formats ​

Excel format provides a spreadsheet-friendly view that's easy to edit and share.

Click "Export Excel" to download a .xlsx file containing:

Sheet 1: Provider Configuration ​

ColumnDescriptionExample
providerProvider identifieropenai
displayNameHuman-readable provider nameOpenAI
modelModel identifiergpt-4o
modelDisplayNameHuman-readable model nameGPT-4o
qualityTierModel quality tierquality, fast, cheap, secure
selectedWhether model is selectedyes or no
groupAssigned groups (comma-separated)Production, High-Quality
inputCostCost per 1K input tokens0.003
outputCostCost per 1K output tokens0.015
healthStatusProvider health statushealthy, degraded, unknown

Sheet 2: Metadata ​

Contains export timestamp, version, and summary statistics.

JSON Export ​

JSON format is ideal for programmatic processing and version control.

Click "Export JSON" to download a .json file containing:

json
{
  "version": "1.0",
  "exportedAt": "2024-01-15T10:30:00.000Z",
  "selections": {
    "openai": ["gpt-4o", "gpt-4o-mini"],
    "anthropic": ["claude-3-5-sonnet-20241022"]
  },
  "groupAssignments": {
    "openai:gpt-4o": ["group-id-1", "group-id-2"]
  },
  "providers": [
    {
      "provider": "openai",
      "displayName": "OpenAI",
      "models": [
        {
          "name": "gpt-4o",
          "displayName": "GPT-4o",
          "qualityTier": "quality",
          "groups": [
            { "id": "group-id-1", "name": "Production" }
          ]
        }
      ]
    }
  ]
}

Import Formats ​

Excel Import ​

Import configurations from .xlsx or .xls files.

Required Columns ​

ColumnRequiredDescription
providerYesProvider identifier (must match existing provider)
modelYesModel identifier (must match existing model)

Optional Columns ​

ColumnDefaultDescription
selectednoSet to yes, true, or 1 to select the model
group(none)Group name(s) to assign (comma-separated)
displayName(ignored)For reference only
qualityTier(ignored)Must be: cheap, secure, fast, or quality

Example Excel Import ​

providermodelselectedgroup
openaigpt-4oyesProduction, High-Quality
openaigpt-4o-miniyesDevelopment
anthropicclaude-3-5-sonnet-20241022yesProduction
googlegemini-1.5-prono

JSON Import ​

Import configurations from .json files exported previously.

The JSON structure must include either:

  • selections object with provider → model array mapping
  • providers array with nested model information

Validation ​

When you import a file, the system validates:

Structure Validation ​

  • Required columns/fields are present
  • Data types are correct
  • Provider and model names are valid

Value Validation ​

  • qualityTier must be one of: cheap, secure, fast, quality
  • selected must be: yes/no, true/false, or 1/0
  • Group names must match existing groups

Validation Status ​

StatusIconDescription
Valid✅File passed all checks, ready to import
Warnings⚠️Minor issues (optional fields missing) - can still import
Error❌Critical issues - must fix before importing

Common Validation Errors ​

ErrorCauseSolution
Missing required columnprovider or model column not foundAdd the missing column to your file
Missing provider valueRow has empty providerFill in the provider name
Invalid qualityTierTier not in allowed valuesUse: cheap, secure, fast, or quality
Invalid JSON formatMalformed JSON syntaxCheck for missing commas, brackets

Workflow Examples ​

Example 1: Share Test Configuration with Team ​

  1. Configure your provider selections in the Synthetic Dashboard
  2. Click Import/Export → Export Excel
  3. Share the .xlsx file with team members via email or shared drive
  4. Team members import using Choose File → select the file → Apply Excel Import

Example 2: Switch Between Test Environments ​

  1. Export your Production configuration as prod-providers.xlsx
  2. Export your Development configuration as dev-providers.xlsx
  3. When switching environments, import the appropriate file

Example 3: Bulk Edit Selections ​

  1. Export current configuration to Excel
  2. Open in spreadsheet application (Excel, Google Sheets)
  3. Edit the selected column to yes/no as needed
  4. Save and Import the modified file

Example 4: Add Models to Groups ​

  1. Export current configuration to Excel
  2. Edit the group column, adding group names (comma-separated)
  3. Import the modified file - groups will be assigned automatically

Best Practices ​

Before Importing ​

  • Export your current configuration as a backup
  • Validate the import file using the preview feature
  • Review warnings before applying

File Management ​

  • Use descriptive filenames: synthetic-config-prod-2024-01.xlsx
  • Keep exports organized by date and purpose
  • Store in version control for audit trail

Team Collaboration ​

  • Establish naming conventions for shared configurations
  • Document what each configuration is for
  • Use Excel comments to explain non-obvious selections

Comparison: Provider Selection vs AI Provider Import ​

FeatureProvider Selection (/synthetic)AI Provider (/admin/ai-providers)
PurposeTest configurationPlatform configuration
DataSelections, groups, presetsCredentials, API keys, endpoints
SensitivityLow (preferences only)High (contains secrets)
UsersTesters, operatorsAdministrators only
FormatsJSON, ExcelCSV, Excel
ScopePer-user/sessionCompany-wide

Troubleshooting ​

Import Not Applying ​

Symptom: File shows as valid but selections don't change

Solution:

  • Ensure selected column contains yes (not just truthy values)
  • Check that provider/model names exactly match existing providers
  • Verify you clicked "Apply Import" after validation

Groups Not Assigned ​

Symptom: Models imported but group assignments missing

Solution:

  • Group names must exactly match existing groups (case-insensitive)
  • Create groups first in Provider Groups management
  • Check for typos in group names

Excel File Won't Parse ​

Symptom: Error reading Excel file

Solution:

  • Ensure file is .xlsx or .xls format
  • Remove any password protection
  • Try re-saving from Excel/Google Sheets
  • Check for corrupted formulas or special characters