younifyd
Menu

Synonym Maps Create

Creates a new synonym map.

POST/synonymmaps

Use it in a workflow

  1. Add a step and choose the Azure AI Search connector.
  2. Pick the Synonym Maps Create action (under Service).
  3. Fill in the fields below, then reference the result from later steps as {{synonymMapsCreate.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

namestringrequired

The name of the synonym map.

formatstringrequired

The format of the synonym map. Only the 'solr' format is currently supported.

One ofsolr

synonymsstringrequired

A series of synonym rules in the specified synonym map format. The rules must be separated by newlines.

encryptionKeyobject

A customer-managed encryption key in Azure Key Vault. Keys that you create and manage can be used to encrypt or decrypt data-at-rest, such as indexes and synonym maps.

keyVaultKeyNamestringrequired

The name of your Azure Key Vault key to be used to encrypt your data at rest.

keyVaultKeyVersionstringrequired

The version of your Azure Key Vault key to be used to encrypt your data at rest.

keyVaultUristringrequired

The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be `https://my-keyvault-name.vault.azure.net`.

accessCredentialsobject2 fields

Credentials of a registered application created for your search service, used for authenticated access to the encryption keys stored in Azure Key Vault.

@odata.etagstring

The ETag of the synonym map.

json
{
  "name": "string",
  "format": "solr",
  "synonyms": "string",
  "encryptionKey": {
    "keyVaultKeyName": "string",
    "keyVaultKeyVersion": "string",
    "keyVaultUri": "string",
    "accessCredentials": {
      "applicationId": "string",
      "applicationSecret": "string"
    }
  },
  "@odata.etag": "string"
}

Response

Returns 201 with a any. Read it in later steps with {{synonymMapsCreate.response.data.<field>}}.

Need more? See the Azure AI Search guide for connection setup and behaviour shared by every action.