Admin APIs
migrations

Run Migration From Csv Sync

Changed on

Run a migration script synchronously for multiple clients specified in a CSV file path.

Args: request: CSVFilePathMigrationRequest containing all parameters client_service: ClientService instance

Returns: CSVMigrationResponse with processing results

post/api/v1/admin/migrations/run-csv-sync

Request

  • Base URL: https://carbonarc.ai (the document declares no server; this is the origin it was published from)
  • URL: https://carbonarc.ai/api/v1/admin/migrations/run-csv-sync
  • Auth: OAuth 2 (authorization code, authorization URL authorize, token URL token)

Headers

X-Confirm-Destructivestring nullable

Request body

csv_file_pathstring required
script_identifierstring required
client_id_columnstring
send_email_summaryboolean
email_recipientsstring[] nullable
parametersobject

Response

Successful Response

messagestring required
script_identifierstring required
statusstring required
total_clientsinteger required
processed_clientsinteger
successful_migrationsinteger
failed_migrationsinteger
skipped_migrationsinteger
errorsstring[]
email_sentboolean
email_recipientsstring[] nullable

Changes

    • breaking

      the request property became required

    • info

      the request property default value add_wallets was removed