younifyd
Menu

Skillsets Create Or Update

Creates a new skillset in a search service or updates the skillset if it already exists.

PUT/skillsets('{skillsetName}')

Use it in a workflow

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

Request

Path parameters

skillsetNamestringrequired

The name of the skillset to create or update.

Headers

If-Matchstring

Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.

If-None-Matchstring

Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.

Preferstringrequired

For HTTP PUT requests, instructs the service to return the created/updated resource on success.

One ofreturn=representation

Request body

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

namestringrequired

The name of the skillset.

descriptionstring

The description of the skillset.

skillsarray<object>required

A list of skills in the skillset.

@odata.typestringrequired

A URI fragment specifying the type of skill.

namestring

The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.

descriptionstring

The description of the skill which describes the inputs, outputs, and usage of the skill.

contextstring

Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.

inputsarray<object>required4 fields

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

outputsarray<object>required2 fields

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

cognitiveServicesobject

Base type for describing any Azure AI service resource attached to a skillset.

@odata.typestringrequired

A URI fragment specifying the type of Azure AI service resource attached to a skillset.

descriptionstring

Description of the Azure AI service resource attached to a skillset.

knowledgeStoreobject

Definition of additional projections to azure blob, table, or files, of enriched data.

storageConnectionStringstringrequired

The connection string to the storage account projections will be stored in.

projectionsarray<object>required3 fields

A list of additional projections to perform during indexing.

indexProjectionsobject

Definition of additional projections to secondary search indexes.

selectorsarray<object>required4 fields

A list of projections to be performed to secondary search indexes.

parametersobject1 fields

A dictionary of index projection-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.

@odata.etagstring

The ETag of the skillset.

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.

json
{
  "name": "string",
  "skills": [
    {
      "@odata.type": "string",
      "inputs": [
        {
          "name": "string",
          "source": "string",
          "sourceContext": "string",
          "inputs": [
            {}
          ]
        }
      ],
      "outputs": [
        {
          "name": "string",
          "targetName": "string"
        }
      ],
      "name": "string",
      "description": "string",
      "context": "string"
    }
  ],
  "description": "string",
  "cognitiveServices": {
    "@odata.type": "string",
    "description": "string"
  },
  "knowledgeStore": {
    "storageConnectionString": "string",
    "projections": [
      {
        "tables": [
          {
            "tableName": "string"
          }
        ],
        "objects": [
          {}
        ],
        "files": [
          {}
        ]
      }
    ]
  },
  "indexProjections": {
    "selectors": [
      {
        "targetIndexName": "string",
        "parentKeyFieldName": "string",
        "sourceContext": "string",
        "mappings": [
          {
            "name": "string",
            "source": "string",
            "sourceContext": "string",
            "inputs": [
              null
            ]
          }
        ]
      }
    ],
    "parameters": {
      "projectionMode": "skipIndexingParentDocuments"
    }
  },
  "@odata.etag": "string",
  "encryptionKey": {
    "keyVaultKeyName": "string",
    "keyVaultKeyVersion": "string",
    "keyVaultUri": "string",
    "accessCredentials": {
      "applicationId": "string",
      "applicationSecret": "string"
    }
  }
}

Response

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

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