Azure AI Search (preview:2025-11-01)

2025/12/17 • 61 updated methods

Aliases_List (updated)
Description Lists all aliases available for a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "Aliases_List",
  "$parameters": {
    "@added_401dcc7ffc3c4d3ebde52e6ec4f148cf": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /aliases
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
indexes:
[
string ,
]
,
@odata.etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Aliases_Create (updated)
Description Creates a new search alias.
Reference Link ¶

⚶ Changes

{
  "#id": "Aliases_Create",
  "$parameters": {
    "@added_74b9f5fda91e4b70a98bd9a0d02645c4": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /aliases
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
alias:
{
name: string ,
indexes:
[
string ,
]
,
@odata.etag: string ,
}
,
}

⚐ Response (201)

{
name: string ,
indexes:
[
string ,
]
,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Aliases_Get (updated)
Description Retrieves an alias definition.
Reference Link ¶

⚶ Changes

{
  "#id": "Aliases_Get",
  "$parameters": {
    "@added_12d8a7c4ff954f1ab4ef953402d4651c": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /aliases('{aliasName}')
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
aliasName: string ,
}

⚐ Response (200)

{
name: string ,
indexes:
[
string ,
]
,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Aliases_CreateOrUpdate (updated)
Description Creates a new search alias or updates an alias if it already exists.
Reference Link ¶

⚶ Changes

{
  "#id": "Aliases_CreateOrUpdate",
  "$parameters": {
    "@added_5d81d483221b42dc9f91bd804c5538ef": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

PUT:  /aliases('{aliasName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
Prefer: string ,
x-ms-client-request-id: string ,
aliasName: string ,
alias:
{
name: string ,
indexes:
[
string ,
]
,
@odata.etag: string ,
}
,
}

⚐ Response (200)

{
name: string ,
indexes:
[
string ,
]
,
@odata.etag: string ,
}

⚐ Response (201)

{
name: string ,
indexes:
[
string ,
]
,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Aliases_Delete (updated)
Description Deletes a search alias and its associated mapping to an index. This operation is permanent, with no recovery option. The mapped index is untouched by this operation.
Reference Link ¶

⚶ Changes

{
  "#id": "Aliases_Delete",
  "$parameters": {
    "@added_e4d73aceadb4476aa6b3467405e2c627": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

DELETE:  /aliases('{aliasName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
x-ms-client-request-id: string ,
aliasName: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataSources_List (updated)
Description Lists all datasources available for a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "DataSources_List",
  "$parameters": [
    {
      "@added_f00917cbf1074d949c064abe87bddda7": {
        "#name": "Accept",
        "Description": "The Accept header.",
        "Required": true,
        "Type": "string"
      }
    },
    {
      "#name": "$select",
      "Type": {
        "new": "array",
        "old": "string"
      }
    }
  ]
}

⚼ Request

GET:  /datasources
{
api-version: string ,
Accept: string ,
$select: array ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
description: string ,
type: enum ,
subType: string ,
credentials:
{
connectionString: string ,
}
,
container:
{
name: string ,
query: string ,
}
,
identity:
{
@odata.type: string ,
}
,
indexerPermissionOptions:
[
string ,
]
,
dataChangeDetectionPolicy:
{
@odata.type: string ,
}
,
dataDeletionDetectionPolicy:
{
@odata.type: string ,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataSources_Create (updated)
Description Creates a new datasource.
Reference Link ¶

⚶ Changes

{
  "#id": "DataSources_Create",
  "$parameters": {
    "@added_06c086b561374ef7bcb6b4e7ab83f50a": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    },
    "@added_9f450ff8325d40ed86df949975ebe3ca": {
      "#name": "dataSourceConnection",
      "Description": "The definition of the datasource to create.",
      "Required": true,
      "$schema": {
        "Description": "Represents a datasource definition, which can be used to configure an indexer.",
        "Type": "object",
        "$properties": [
          {
            "#name": "name",
            "Description": "The name of the datasource.",
            "Required": true,
            "Type": "string"
          },
          {
            "#name": "description",
            "Description": "The description of the datasource.",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "type",
            "Description": "The type of the datasource.",
            "Enum": [
              [
                "azuresql",
                "Indicates an Azure SQL datasource."
              ],
              [
                "cosmosdb",
                "Indicates a CosmosDB datasource."
              ],
              [
                "azureblob",
                "Indicates an Azure Blob datasource."
              ],
              [
                "azuretable",
                "Indicates an Azure Table datasource."
              ],
              [
                "mysql",
                "Indicates a MySql datasource."
              ],
              [
                "adlsgen2",
                "Indicates an ADLS Gen2 datasource."
              ],
              [
                "onelake",
                "Indicates a Microsoft Fabric OneLake datasource."
              ],
              [
                "sharepoint",
                "Indicates a SharePoint datasource."
              ]
            ],
            "Required": true,
            "Type": "string"
          },
          {
            "#name": "subType",
            "Description": "A specific type of the data source, in case the resource is capable of different modalities. For example, 'MongoDb' for certain 'cosmosDb' accounts.",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "credentials",
            "Description": "Credentials for the datasource.",
            "Required": true,
            "Type": "object",
            "$properties": [
              {
                "#name": "connectionString",
                "Description": "The connection string for the datasource. Set to `` (with brackets) if you don't want the connection string updated. Set to `` if you want to remove the connection string value from the datasource.",
                "Required": false,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "container",
            "Description": "The data container for the datasource.",
            "Required": true,
            "Type": "object",
            "$properties": [
              {
                "#name": "name",
                "Description": "The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "query",
                "Description": "A query that is applied to this data container. The syntax and meaning of this parameter is datasource-specific. Not supported by Azure SQL datasources.",
                "Required": false,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "identity",
            "Description": "An explicit managed identity to use for this datasource. If not specified and the connection string is a managed identity, the system-assigned managed identity is used. If not specified, the value remains unchanged. If \"none\" is specified, the value of this property is cleared.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "@odata.type",
                "Description": "A URI fragment specifying the type of identity.",
                "Required": true,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "indexerPermissionOptions",
            "Description": "Ingestion options with various types of permission data.",
            "Required": false,
            "Type": "array",
            "$items": {
              "Description": "Options with various types of permission data to index.",
              "Enum": [
                [
                  "userIds",
                  "Indexer to ingest ACL userIds from data source to index."
                ],
                [
                  "groupIds",
                  "Indexer to ingest ACL groupIds from data source to index."
                ],
                [
                  "rbacScope",
                  "Indexer to ingest Azure RBAC scope from data source to index."
                ]
              ],
              "Type": "string"
            }
          },
          {
            "#name": "dataChangeDetectionPolicy",
            "Description": "The data change detection policy for the datasource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "@odata.type",
                "Description": "The discriminator for derived types.",
                "Required": true,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "dataDeletionDetectionPolicy",
            "Description": "The data deletion detection policy for the datasource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "@odata.type",
                "Description": "The discriminator for derived types.",
                "Required": true,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "@odata.etag",
            "Description": "The ETag of the data source.",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "encryptionKey",
            "Description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your datasource definition when you want full assurance that no one, not even Microsoft, can decrypt your data source definition. Once you have encrypted your data source definition, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your datasource definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "keyVaultKeyName",
                "Description": "The name of your Azure Key Vault key to be used to encrypt your data at rest.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "keyVaultKeyVersion",
                "Description": "The version of your Azure Key Vault key to be used to encrypt your data at rest.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "keyVaultUri",
                "Description": "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`.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "accessCredentials",
                "Description": "Optional Azure Active Directory credentials used for accessing your Azure Key Vault. Not required if using managed identity instead.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "applicationId",
                    "Description": "An AAD Application ID that was granted the required access permissions to the Azure Key Vault that is to be used when encrypting your data at rest. The Application ID should not be confused with the Object ID for your AAD Application.",
                    "Required": true,
                    "Type": "string"
                  },
                  {
                    "#name": "applicationSecret",
                    "Description": "The authentication key of the specified AAD application.",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              },
              {
                "#name": "identity",
                "Description": "An explicit managed identity to use for this encryption key. If not specified and the access credentials property is null, the system-assigned managed identity is used. On update to the resource, if the explicit identity is unspecified, it remains unchanged. If \"none\" is specified, the value of this property is cleared.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "@odata.type",
                    "Description": "A URI fragment specifying the type of identity.",
                    "Required": true,
                    "Type": "string"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "@removed_9a4bd97b29764f6eb1eca5f8d3d69493": {
      "#name": "dataSource",
      "Description": "The definition of the datasource to create.",
      "Required": true,
      "$schema": {
        "Description": "Represents a datasource definition, which can be used to configure an indexer.",
        "Type": "object",
        "$properties": [
          {
            "#name": "name",
            "Description": "The name of the datasource.",
            "Required": true,
            "Type": "string"
          },
          {
            "#name": "description",
            "Description": "The description of the datasource.",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "type",
            "Description": "The type of the datasource.",
            "Enum": [
              [
                "azuresql",
                "Indicates an Azure SQL datasource."
              ],
              [
                "cosmosdb",
                "Indicates a CosmosDB datasource."
              ],
              [
                "azureblob",
                "Indicates an Azure Blob datasource."
              ],
              [
                "azuretable",
                "Indicates an Azure Table datasource."
              ],
              [
                "mysql",
                "Indicates a MySql datasource."
              ],
              [
                "adlsgen2",
                "Indicates an ADLS Gen2 datasource."
              ],
              [
                "onelake",
                "Indicates a Microsoft Fabric OneLake datasource."
              ],
              [
                "sharepoint",
                "Indicates a SharePoint datasource."
              ]
            ],
            "Required": true,
            "Type": "string"
          },
          {
            "#name": "subType",
            "Description": "A specific type of the data source, in case the resource is capable of different modalities. For example, 'MongoDb' for certain 'cosmosDb' accounts.",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "credentials",
            "Description": "Credentials for the datasource.",
            "Required": true,
            "Type": "object",
            "$properties": [
              {
                "#name": "connectionString",
                "Description": "The connection string for the datasource. Set to `` (with brackets) if you don't want the connection string updated. Set to `` if you want to remove the connection string value from the datasource.",
                "Required": false,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "container",
            "Description": "The data container for the datasource.",
            "Required": true,
            "Type": "object",
            "$properties": [
              {
                "#name": "name",
                "Description": "The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "query",
                "Description": "A query that is applied to this data container. The syntax and meaning of this parameter is datasource-specific. Not supported by Azure SQL datasources.",
                "Required": false,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "identity",
            "Description": "An explicit managed identity to use for this datasource. If not specified and the connection string is a managed identity, the system-assigned managed identity is used. If not specified, the value remains unchanged. If \"none\" is specified, the value of this property is cleared.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "@odata.type",
                "Description": "A URI fragment specifying the type of identity.",
                "Required": true,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "indexerPermissionOptions",
            "Description": "Ingestion options with various types of permission data.",
            "Required": false,
            "Type": "array",
            "$items": {
              "Description": "Options with various types of permission data to index.",
              "Enum": [
                [
                  "userIds",
                  "Indexer to ingest ACL userIds from data source to index."
                ],
                [
                  "groupIds",
                  "Indexer to ingest ACL groupIds from data source to index."
                ],
                [
                  "rbacScope",
                  "Indexer to ingest Azure RBAC scope from data source to index."
                ]
              ],
              "Type": "string"
            }
          },
          {
            "#name": "dataChangeDetectionPolicy",
            "Description": "The data change detection policy for the datasource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "@odata.type",
                "Description": "The discriminator for derived types.",
                "Required": true,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "dataDeletionDetectionPolicy",
            "Description": "The data deletion detection policy for the datasource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "@odata.type",
                "Description": "The discriminator for derived types.",
                "Required": true,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "@odata.etag",
            "Description": "The ETag of the data source.",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "encryptionKey",
            "Description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your datasource definition when you want full assurance that no one, not even Microsoft, can decrypt your data source definition. Once you have encrypted your data source definition, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your datasource definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "keyVaultKeyName",
                "Description": "The name of your Azure Key Vault key to be used to encrypt your data at rest.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "keyVaultKeyVersion",
                "Description": "The version of your Azure Key Vault key to be used to encrypt your data at rest.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "keyVaultUri",
                "Description": "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`.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "accessCredentials",
                "Description": "Optional Azure Active Directory credentials used for accessing your Azure Key Vault. Not required if using managed identity instead.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "applicationId",
                    "Description": "An AAD Application ID that was granted the required access permissions to the Azure Key Vault that is to be used when encrypting your data at rest. The Application ID should not be confused with the Object ID for your AAD Application.",
                    "Required": true,
                    "Type": "string"
                  },
                  {
                    "#name": "applicationSecret",
                    "Description": "The authentication key of the specified AAD application.",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              },
              {
                "#name": "identity",
                "Description": "An explicit managed identity to use for this encryption key. If not specified and the access credentials property is null, the system-assigned managed identity is used. On update to the resource, if the explicit identity is unspecified, it remains unchanged. If \"none\" is specified, the value of this property is cleared.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "@odata.type",
                    "Description": "A URI fragment specifying the type of identity.",
                    "Required": true,
                    "Type": "string"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /datasources
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
dataSourceConnection:
{
name: string ,
description: string ,
type: enum ,
subType: string ,
credentials:
{
connectionString: string ,
}
,
container:
{
name: string ,
query: string ,
}
,
identity:
{
@odata.type: string ,
}
,
indexerPermissionOptions:
[
string ,
]
,
dataChangeDetectionPolicy:
{
@odata.type: string ,
}
,
dataDeletionDetectionPolicy:
{
@odata.type: string ,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
}

⚐ Response (201)

{
name: string ,
description: string ,
type: enum ,
subType: string ,
credentials:
{
connectionString: string ,
}
,
container:
{
name: string ,
query: string ,
}
,
identity:
{
@odata.type: string ,
}
,
indexerPermissionOptions:
[
string ,
]
,
dataChangeDetectionPolicy:
{
@odata.type: string ,
}
,
dataDeletionDetectionPolicy:
{
@odata.type: string ,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataSources_Get (updated)
Description Retrieves a datasource definition.
Reference Link ¶

⚶ Changes

{
  "#id": "DataSources_Get",
  "$parameters": {
    "@added_59048df0aef94d1c845386f180e0af31": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /datasources('{dataSourceName}')
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
dataSourceName: string ,
}

⚐ Response (200)

{
name: string ,
description: string ,
type: enum ,
subType: string ,
credentials:
{
connectionString: string ,
}
,
container:
{
name: string ,
query: string ,
}
,
identity:
{
@odata.type: string ,
}
,
indexerPermissionOptions:
[
string ,
]
,
dataChangeDetectionPolicy:
{
@odata.type: string ,
}
,
dataDeletionDetectionPolicy:
{
@odata.type: string ,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataSources_CreateOrUpdate (updated)
Description Creates a new datasource or updates a datasource if it already exists.
Reference Link ¶

⚶ Changes

{
  "#id": "DataSources_CreateOrUpdate",
  "$parameters": {
    "@added_4e87f2bf3e98403ebac4f9399cc6ff2f": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

PUT:  /datasources('{dataSourceName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
Prefer: string ,
ignoreResetRequirements: boolean ,
x-ms-client-request-id: string ,
dataSourceName: string ,
dataSource:
{
name: string ,
description: string ,
type: enum ,
subType: string ,
credentials:
{
connectionString: string ,
}
,
container:
{
name: string ,
query: string ,
}
,
identity:
{
@odata.type: string ,
}
,
indexerPermissionOptions:
[
string ,
]
,
dataChangeDetectionPolicy:
{
@odata.type: string ,
}
,
dataDeletionDetectionPolicy:
{
@odata.type: string ,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
name: string ,
description: string ,
type: enum ,
subType: string ,
credentials:
{
connectionString: string ,
}
,
container:
{
name: string ,
query: string ,
}
,
identity:
{
@odata.type: string ,
}
,
indexerPermissionOptions:
[
string ,
]
,
dataChangeDetectionPolicy:
{
@odata.type: string ,
}
,
dataDeletionDetectionPolicy:
{
@odata.type: string ,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (201)

{
name: string ,
description: string ,
type: enum ,
subType: string ,
credentials:
{
connectionString: string ,
}
,
container:
{
name: string ,
query: string ,
}
,
identity:
{
@odata.type: string ,
}
,
indexerPermissionOptions:
[
string ,
]
,
dataChangeDetectionPolicy:
{
@odata.type: string ,
}
,
dataDeletionDetectionPolicy:
{
@odata.type: string ,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataSources_Delete (updated)
Description Deletes a datasource.
Reference Link ¶

⚶ Changes

{
  "#id": "DataSources_Delete",
  "$parameters": {
    "@added_3104281660ec43d4a8649dd9b6c4e29a": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

DELETE:  /datasources('{dataSourceName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
x-ms-client-request-id: string ,
dataSourceName: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_List (updated)
Description Lists all indexers available for a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_List",
  "$parameters": [
    {
      "@added_98068bea90794a23a83ffb68348c0fda": {
        "#name": "Accept",
        "Description": "The Accept header.",
        "Required": true,
        "Type": "string"
      }
    },
    {
      "#name": "$select",
      "Type": {
        "new": "array",
        "old": "string"
      }
    }
  ]
}

⚼ Request

GET:  /indexers
{
api-version: string ,
Accept: string ,
$select: array ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
description: string ,
dataSourceName: string ,
skillsetName: string ,
targetIndexName: string ,
schedule:
{
interval: string ,
startTime: string ,
}
,
parameters:
{
batchSize: integer ,
maxFailedItems: integer ,
maxFailedItemsPerBatch: integer ,
configuration:
{
parsingMode: enum ,
excludedFileNameExtensions: string ,
indexedFileNameExtensions: string ,
failOnUnsupportedContentType: boolean ,
failOnUnprocessableDocument: boolean ,
indexStorageMetadataOnlyForOversizedDocuments: boolean ,
delimitedTextHeaders: string ,
delimitedTextDelimiter: string ,
firstLineContainsHeaders: boolean ,
markdownParsingSubmode: enum ,
markdownHeaderDepth: enum ,
documentRoot: string ,
dataToExtract: enum ,
imageAction: enum ,
allowSkillsetToReadFileData: boolean ,
pdfTextRotationAlgorithm: enum ,
executionEnvironment: enum ,
queryTimeout: string ,
}
,
}
,
fieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
outputFieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
disabled: boolean ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
cache:
{
id: string ,
storageConnectionString: string ,
enableReprocessing: boolean ,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_Create (updated)
Description Creates a new indexer.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_Create",
  "$parameters": {
    "@added_8a263626a2fa4f8bbd201605303900c7": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexers
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexer:
{
name: string ,
description: string ,
dataSourceName: string ,
skillsetName: string ,
targetIndexName: string ,
schedule:
{
interval: string ,
startTime: string ,
}
,
parameters:
{
batchSize: integer ,
maxFailedItems: integer ,
maxFailedItemsPerBatch: integer ,
configuration:
{
parsingMode: enum ,
excludedFileNameExtensions: string ,
indexedFileNameExtensions: string ,
failOnUnsupportedContentType: boolean ,
failOnUnprocessableDocument: boolean ,
indexStorageMetadataOnlyForOversizedDocuments: boolean ,
delimitedTextHeaders: string ,
delimitedTextDelimiter: string ,
firstLineContainsHeaders: boolean ,
markdownParsingSubmode: enum ,
markdownHeaderDepth: enum ,
documentRoot: string ,
dataToExtract: enum ,
imageAction: enum ,
allowSkillsetToReadFileData: boolean ,
pdfTextRotationAlgorithm: enum ,
executionEnvironment: enum ,
queryTimeout: string ,
}
,
}
,
fieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
outputFieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
disabled: boolean ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
cache:
{
id: string ,
storageConnectionString: string ,
enableReprocessing: boolean ,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
}

⚐ Response (201)

{
name: string ,
description: string ,
dataSourceName: string ,
skillsetName: string ,
targetIndexName: string ,
schedule:
{
interval: string ,
startTime: string ,
}
,
parameters:
{
batchSize: integer ,
maxFailedItems: integer ,
maxFailedItemsPerBatch: integer ,
configuration:
{
parsingMode: enum ,
excludedFileNameExtensions: string ,
indexedFileNameExtensions: string ,
failOnUnsupportedContentType: boolean ,
failOnUnprocessableDocument: boolean ,
indexStorageMetadataOnlyForOversizedDocuments: boolean ,
delimitedTextHeaders: string ,
delimitedTextDelimiter: string ,
firstLineContainsHeaders: boolean ,
markdownParsingSubmode: enum ,
markdownHeaderDepth: enum ,
documentRoot: string ,
dataToExtract: enum ,
imageAction: enum ,
allowSkillsetToReadFileData: boolean ,
pdfTextRotationAlgorithm: enum ,
executionEnvironment: enum ,
queryTimeout: string ,
}
,
}
,
fieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
outputFieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
disabled: boolean ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
cache:
{
id: string ,
storageConnectionString: string ,
enableReprocessing: boolean ,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_Get (updated)
Description Retrieves an indexer definition.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_Get",
  "$parameters": {
    "@added_83261b8d427f42f3bfc7a4fd8147bb85": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexers('{indexerName}')
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexerName: string ,
}

⚐ Response (200)

{
name: string ,
description: string ,
dataSourceName: string ,
skillsetName: string ,
targetIndexName: string ,
schedule:
{
interval: string ,
startTime: string ,
}
,
parameters:
{
batchSize: integer ,
maxFailedItems: integer ,
maxFailedItemsPerBatch: integer ,
configuration:
{
parsingMode: enum ,
excludedFileNameExtensions: string ,
indexedFileNameExtensions: string ,
failOnUnsupportedContentType: boolean ,
failOnUnprocessableDocument: boolean ,
indexStorageMetadataOnlyForOversizedDocuments: boolean ,
delimitedTextHeaders: string ,
delimitedTextDelimiter: string ,
firstLineContainsHeaders: boolean ,
markdownParsingSubmode: enum ,
markdownHeaderDepth: enum ,
documentRoot: string ,
dataToExtract: enum ,
imageAction: enum ,
allowSkillsetToReadFileData: boolean ,
pdfTextRotationAlgorithm: enum ,
executionEnvironment: enum ,
queryTimeout: string ,
}
,
}
,
fieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
outputFieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
disabled: boolean ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
cache:
{
id: string ,
storageConnectionString: string ,
enableReprocessing: boolean ,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_CreateOrUpdate (updated)
Description Creates a new indexer or updates an indexer if it already exists.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_CreateOrUpdate",
  "$parameters": {
    "@added_79f073f3b137460fb3614dc0a3f44721": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

PUT:  /indexers('{indexerName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
Prefer: string ,
ignoreResetRequirements: boolean ,
disableCacheReprocessingChangeDetection: boolean ,
x-ms-client-request-id: string ,
indexerName: string ,
indexer:
{
name: string ,
description: string ,
dataSourceName: string ,
skillsetName: string ,
targetIndexName: string ,
schedule:
{
interval: string ,
startTime: string ,
}
,
parameters:
{
batchSize: integer ,
maxFailedItems: integer ,
maxFailedItemsPerBatch: integer ,
configuration:
{
parsingMode: enum ,
excludedFileNameExtensions: string ,
indexedFileNameExtensions: string ,
failOnUnsupportedContentType: boolean ,
failOnUnprocessableDocument: boolean ,
indexStorageMetadataOnlyForOversizedDocuments: boolean ,
delimitedTextHeaders: string ,
delimitedTextDelimiter: string ,
firstLineContainsHeaders: boolean ,
markdownParsingSubmode: enum ,
markdownHeaderDepth: enum ,
documentRoot: string ,
dataToExtract: enum ,
imageAction: enum ,
allowSkillsetToReadFileData: boolean ,
pdfTextRotationAlgorithm: enum ,
executionEnvironment: enum ,
queryTimeout: string ,
}
,
}
,
fieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
outputFieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
disabled: boolean ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
cache:
{
id: string ,
storageConnectionString: string ,
enableReprocessing: boolean ,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
name: string ,
description: string ,
dataSourceName: string ,
skillsetName: string ,
targetIndexName: string ,
schedule:
{
interval: string ,
startTime: string ,
}
,
parameters:
{
batchSize: integer ,
maxFailedItems: integer ,
maxFailedItemsPerBatch: integer ,
configuration:
{
parsingMode: enum ,
excludedFileNameExtensions: string ,
indexedFileNameExtensions: string ,
failOnUnsupportedContentType: boolean ,
failOnUnprocessableDocument: boolean ,
indexStorageMetadataOnlyForOversizedDocuments: boolean ,
delimitedTextHeaders: string ,
delimitedTextDelimiter: string ,
firstLineContainsHeaders: boolean ,
markdownParsingSubmode: enum ,
markdownHeaderDepth: enum ,
documentRoot: string ,
dataToExtract: enum ,
imageAction: enum ,
allowSkillsetToReadFileData: boolean ,
pdfTextRotationAlgorithm: enum ,
executionEnvironment: enum ,
queryTimeout: string ,
}
,
}
,
fieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
outputFieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
disabled: boolean ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
cache:
{
id: string ,
storageConnectionString: string ,
enableReprocessing: boolean ,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (201)

{
name: string ,
description: string ,
dataSourceName: string ,
skillsetName: string ,
targetIndexName: string ,
schedule:
{
interval: string ,
startTime: string ,
}
,
parameters:
{
batchSize: integer ,
maxFailedItems: integer ,
maxFailedItemsPerBatch: integer ,
configuration:
{
parsingMode: enum ,
excludedFileNameExtensions: string ,
indexedFileNameExtensions: string ,
failOnUnsupportedContentType: boolean ,
failOnUnprocessableDocument: boolean ,
indexStorageMetadataOnlyForOversizedDocuments: boolean ,
delimitedTextHeaders: string ,
delimitedTextDelimiter: string ,
firstLineContainsHeaders: boolean ,
markdownParsingSubmode: enum ,
markdownHeaderDepth: enum ,
documentRoot: string ,
dataToExtract: enum ,
imageAction: enum ,
allowSkillsetToReadFileData: boolean ,
pdfTextRotationAlgorithm: enum ,
executionEnvironment: enum ,
queryTimeout: string ,
}
,
}
,
fieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
outputFieldMappings:
[
{
sourceFieldName: string ,
targetFieldName: string ,
mappingFunction:
{
name: string ,
parameters: object ,
}
,
}
,
]
,
disabled: boolean ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
cache:
{
id: string ,
storageConnectionString: string ,
enableReprocessing: boolean ,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_Delete (updated)
Description Deletes an indexer.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_Delete",
  "$parameters": {
    "@added_a611787d956d4841a4db7aafa8d115df": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

DELETE:  /indexers('{indexerName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
x-ms-client-request-id: string ,
indexerName: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_Reset (updated)
Description Resets the change tracking state associated with an indexer.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_Reset",
  "$parameters": {
    "@added_2135f55192d542dca72d54a727121f6c": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexers('{indexerName}')/search.reset
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexerName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_ResetDocs (updated)
Description Resets specific documents in the datasource to be selectively re-ingested by the indexer.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_ResetDocs",
  "$parameters": {
    "@added_e9e10bca2f844952aef58b264ec814bd": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexers('{indexerName}')/search.resetdocs
{
api-version: string ,
Accept: string ,
overwrite: boolean ,
x-ms-client-request-id: string ,
indexerName: string ,
keysOrIds:
{
documentKeys:
[
string ,
]
,
datasourceDocumentIds:
[
string ,
]
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_Resync (updated)
Description Resync selective options from the datasource to be re-ingested by the indexer."
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_Resync",
  "$parameters": {
    "@added_4568572918ad4e4c98aadde1b3e2bfa7": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexers('{indexerName}')/search.resync
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexerName: string ,
indexerResync:
{
options:
[
string ,
]
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_Run (updated)
Description Runs an indexer on-demand.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_Run",
  "$parameters": {
    "@added_d733286a9f1a4e4e87fa947f6520f9da": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexers('{indexerName}')/search.run
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexerName: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexers_GetStatus (updated)
Description Returns the current status and execution history of an indexer.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexers_GetStatus",
  "$parameters": {
    "@added_6edd0a75ceda49a1969f4b2b82714714": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexers('{indexerName}')/search.status
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexerName: string ,
}

⚐ Response (200)

{
name: string ,
status: enum ,
runtime:
{
usedSeconds: integer ,
remainingSeconds: integer ,
beginningTime: string ,
endingTime: string ,
}
,
lastResult:
{
status: enum ,
statusDetail: enum ,
mode: enum ,
errorMessage: string ,
startTime: string ,
endTime: string ,
errors:
[
{
key: string ,
errorMessage: string ,
statusCode: integer ,
name: string ,
details: string ,
documentationLink: string ,
}
,
]
,
warnings:
[
{
key: string ,
message: string ,
name: string ,
details: string ,
documentationLink: string ,
}
,
]
,
itemsProcessed: integer ,
itemsFailed: integer ,
initialTrackingState: string ,
finalTrackingState: string ,
}
,
executionHistory:
[
{
status: enum ,
statusDetail: enum ,
mode: enum ,
errorMessage: string ,
startTime: string ,
endTime: string ,
errors:
[
{
key: string ,
errorMessage: string ,
statusCode: integer ,
name: string ,
details: string ,
documentationLink: string ,
}
,
]
,
warnings:
[
{
key: string ,
message: string ,
name: string ,
details: string ,
documentationLink: string ,
}
,
]
,
itemsProcessed: integer ,
itemsFailed: integer ,
initialTrackingState: string ,
finalTrackingState: string ,
}
,
]
,
limits:
{
maxRunTime: string ,
maxDocumentExtractionSize: integer ,
maxDocumentContentCharactersToExtract: integer ,
}
,
currentState:
{
mode: enum ,
allDocsInitialTrackingState: string ,
allDocsFinalTrackingState: string ,
resetDocsInitialTrackingState: string ,
resetDocsFinalTrackingState: string ,
resyncInitialTrackingState: string ,
resyncFinalTrackingState: string ,
resetDocumentKeys:
[
string ,
]
,
resetDatasourceDocumentIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexes_List (updated)
Description Lists all indexes available for a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexes_List",
  "$parameters": [
    {
      "@added_39a0660fe0a2476a819968603bbb3196": {
        "#name": "Accept",
        "Description": "The Accept header.",
        "Required": true,
        "Type": "string"
      }
    },
    {
      "#name": "$select",
      "Type": {
        "new": "array",
        "old": "string"
      }
    }
  ]
}

⚼ Request

GET:  /indexes
{
api-version: string ,
Accept: string ,
$select: array ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
description: string ,
fields:
[
{
name: string ,
type: enum ,
key: boolean ,
retrievable: boolean ,
stored: boolean ,
searchable: boolean ,
filterable: boolean ,
sortable: boolean ,
facetable: boolean ,
permissionFilter: enum ,
sensitivityLabel: boolean ,
analyzer: enum ,
searchAnalyzer: enum ,
indexAnalyzer: enum ,
normalizer: enum ,
dimensions: integer ,
vectorSearchProfile: string ,
vectorEncoding: enum ,
synonymMaps:
[
string ,
]
,
fields:
[
string ,
]
,
}
,
]
,
scoringProfiles:
[
{
name: string ,
text:
{
weights: object ,
}
,
functions:
[
{
fieldName: string ,
boost: number ,
interpolation: enum ,
type: string ,
}
,
]
,
functionAggregation: enum ,
}
,
]
,
defaultScoringProfile: string ,
corsOptions:
{
allowedOrigins:
[
string ,
]
,
maxAgeInSeconds: integer ,
}
,
suggesters:
[
{
name: string ,
searchMode: enum ,
sourceFields:
[
string ,
]
,
}
,
]
,
analyzers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
charFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
normalizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
similarity:
{
@odata.type: string ,
}
,
semantic:
{
defaultConfiguration: string ,
configurations:
[
{
name: string ,
prioritizedFields:
{
titleField:
{
fieldName: string ,
}
,
prioritizedContentFields:
[
{
fieldName: string ,
}
,
]
,
prioritizedKeywordsFields:
[
{
fieldName: string ,
}
,
]
,
}
,
rankingOrder: enum ,
flightingOptIn: boolean ,
}
,
]
,
}
,
vectorSearch:
{
profiles:
[
{
name: string ,
algorithm: string ,
vectorizer: string ,
compression: string ,
}
,
]
,
algorithms:
[
{
name: string ,
kind: enum ,
}
,
]
,
vectorizers:
[
{
name: string ,
kind: enum ,
}
,
]
,
compressions:
[
{
name: string ,
rescoringOptions:
{
enableRescoring: boolean ,
defaultOversampling: number ,
rescoreStorageMethod: enum ,
}
,
truncationDimension: integer ,
kind: enum ,
}
,
]
,
}
,
permissionFilterOption: enum ,
purviewEnabled: boolean ,
@odata.etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexes_Create (updated)
Description Creates a new search index.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexes_Create",
  "$parameters": {
    "@added_43b84dcfbb83430a8165dfb4fe6e1b96": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexes
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
index:
{
name: string ,
description: string ,
fields:
[
{
name: string ,
type: enum ,
key: boolean ,
retrievable: boolean ,
stored: boolean ,
searchable: boolean ,
filterable: boolean ,
sortable: boolean ,
facetable: boolean ,
permissionFilter: enum ,
sensitivityLabel: boolean ,
analyzer: enum ,
searchAnalyzer: enum ,
indexAnalyzer: enum ,
normalizer: enum ,
dimensions: integer ,
vectorSearchProfile: string ,
vectorEncoding: enum ,
synonymMaps:
[
string ,
]
,
fields:
[
string ,
]
,
}
,
]
,
scoringProfiles:
[
{
name: string ,
text:
{
weights: object ,
}
,
functions:
[
{
fieldName: string ,
boost: number ,
interpolation: enum ,
type: string ,
}
,
]
,
functionAggregation: enum ,
}
,
]
,
defaultScoringProfile: string ,
corsOptions:
{
allowedOrigins:
[
string ,
]
,
maxAgeInSeconds: integer ,
}
,
suggesters:
[
{
name: string ,
searchMode: enum ,
sourceFields:
[
string ,
]
,
}
,
]
,
analyzers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
charFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
normalizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
similarity:
{
@odata.type: string ,
}
,
semantic:
{
defaultConfiguration: string ,
configurations:
[
{
name: string ,
prioritizedFields:
{
titleField:
{
fieldName: string ,
}
,
prioritizedContentFields:
[
{
fieldName: string ,
}
,
]
,
prioritizedKeywordsFields:
[
{
fieldName: string ,
}
,
]
,
}
,
rankingOrder: enum ,
flightingOptIn: boolean ,
}
,
]
,
}
,
vectorSearch:
{
profiles:
[
{
name: string ,
algorithm: string ,
vectorizer: string ,
compression: string ,
}
,
]
,
algorithms:
[
{
name: string ,
kind: enum ,
}
,
]
,
vectorizers:
[
{
name: string ,
kind: enum ,
}
,
]
,
compressions:
[
{
name: string ,
rescoringOptions:
{
enableRescoring: boolean ,
defaultOversampling: number ,
rescoreStorageMethod: enum ,
}
,
truncationDimension: integer ,
kind: enum ,
}
,
]
,
}
,
permissionFilterOption: enum ,
purviewEnabled: boolean ,
@odata.etag: string ,
}
,
}

⚐ Response (201)

{
name: string ,
description: string ,
fields:
[
{
name: string ,
type: enum ,
key: boolean ,
retrievable: boolean ,
stored: boolean ,
searchable: boolean ,
filterable: boolean ,
sortable: boolean ,
facetable: boolean ,
permissionFilter: enum ,
sensitivityLabel: boolean ,
analyzer: enum ,
searchAnalyzer: enum ,
indexAnalyzer: enum ,
normalizer: enum ,
dimensions: integer ,
vectorSearchProfile: string ,
vectorEncoding: enum ,
synonymMaps:
[
string ,
]
,
fields:
[
string ,
]
,
}
,
]
,
scoringProfiles:
[
{
name: string ,
text:
{
weights: object ,
}
,
functions:
[
{
fieldName: string ,
boost: number ,
interpolation: enum ,
type: string ,
}
,
]
,
functionAggregation: enum ,
}
,
]
,
defaultScoringProfile: string ,
corsOptions:
{
allowedOrigins:
[
string ,
]
,
maxAgeInSeconds: integer ,
}
,
suggesters:
[
{
name: string ,
searchMode: enum ,
sourceFields:
[
string ,
]
,
}
,
]
,
analyzers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
charFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
normalizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
similarity:
{
@odata.type: string ,
}
,
semantic:
{
defaultConfiguration: string ,
configurations:
[
{
name: string ,
prioritizedFields:
{
titleField:
{
fieldName: string ,
}
,
prioritizedContentFields:
[
{
fieldName: string ,
}
,
]
,
prioritizedKeywordsFields:
[
{
fieldName: string ,
}
,
]
,
}
,
rankingOrder: enum ,
flightingOptIn: boolean ,
}
,
]
,
}
,
vectorSearch:
{
profiles:
[
{
name: string ,
algorithm: string ,
vectorizer: string ,
compression: string ,
}
,
]
,
algorithms:
[
{
name: string ,
kind: enum ,
}
,
]
,
vectorizers:
[
{
name: string ,
kind: enum ,
}
,
]
,
compressions:
[
{
name: string ,
rescoringOptions:
{
enableRescoring: boolean ,
defaultOversampling: number ,
rescoreStorageMethod: enum ,
}
,
truncationDimension: integer ,
kind: enum ,
}
,
]
,
}
,
permissionFilterOption: enum ,
purviewEnabled: boolean ,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexes_Get (updated)
Description Retrieves an index definition.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexes_Get",
  "$parameters": {
    "@added_9fde1c7787bb42f3aff4b373bb9ee20d": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexes('{indexName}')
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexName: string ,
}

⚐ Response (200)

{
name: string ,
description: string ,
fields:
[
{
name: string ,
type: enum ,
key: boolean ,
retrievable: boolean ,
stored: boolean ,
searchable: boolean ,
filterable: boolean ,
sortable: boolean ,
facetable: boolean ,
permissionFilter: enum ,
sensitivityLabel: boolean ,
analyzer: enum ,
searchAnalyzer: enum ,
indexAnalyzer: enum ,
normalizer: enum ,
dimensions: integer ,
vectorSearchProfile: string ,
vectorEncoding: enum ,
synonymMaps:
[
string ,
]
,
fields:
[
string ,
]
,
}
,
]
,
scoringProfiles:
[
{
name: string ,
text:
{
weights: object ,
}
,
functions:
[
{
fieldName: string ,
boost: number ,
interpolation: enum ,
type: string ,
}
,
]
,
functionAggregation: enum ,
}
,
]
,
defaultScoringProfile: string ,
corsOptions:
{
allowedOrigins:
[
string ,
]
,
maxAgeInSeconds: integer ,
}
,
suggesters:
[
{
name: string ,
searchMode: enum ,
sourceFields:
[
string ,
]
,
}
,
]
,
analyzers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
charFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
normalizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
similarity:
{
@odata.type: string ,
}
,
semantic:
{
defaultConfiguration: string ,
configurations:
[
{
name: string ,
prioritizedFields:
{
titleField:
{
fieldName: string ,
}
,
prioritizedContentFields:
[
{
fieldName: string ,
}
,
]
,
prioritizedKeywordsFields:
[
{
fieldName: string ,
}
,
]
,
}
,
rankingOrder: enum ,
flightingOptIn: boolean ,
}
,
]
,
}
,
vectorSearch:
{
profiles:
[
{
name: string ,
algorithm: string ,
vectorizer: string ,
compression: string ,
}
,
]
,
algorithms:
[
{
name: string ,
kind: enum ,
}
,
]
,
vectorizers:
[
{
name: string ,
kind: enum ,
}
,
]
,
compressions:
[
{
name: string ,
rescoringOptions:
{
enableRescoring: boolean ,
defaultOversampling: number ,
rescoreStorageMethod: enum ,
}
,
truncationDimension: integer ,
kind: enum ,
}
,
]
,
}
,
permissionFilterOption: enum ,
purviewEnabled: boolean ,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexes_CreateOrUpdate (updated)
Description Creates a new search index or updates an index if it already exists.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexes_CreateOrUpdate",
  "$parameters": {
    "@added_6d5c030d2e104b7bb51c8a26762ac66a": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

PUT:  /indexes('{indexName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
allowIndexDowntime: boolean ,
Prefer: string ,
x-ms-client-request-id: string ,
indexName: string ,
index:
{
name: string ,
description: string ,
fields:
[
{
name: string ,
type: enum ,
key: boolean ,
retrievable: boolean ,
stored: boolean ,
searchable: boolean ,
filterable: boolean ,
sortable: boolean ,
facetable: boolean ,
permissionFilter: enum ,
sensitivityLabel: boolean ,
analyzer: enum ,
searchAnalyzer: enum ,
indexAnalyzer: enum ,
normalizer: enum ,
dimensions: integer ,
vectorSearchProfile: string ,
vectorEncoding: enum ,
synonymMaps:
[
string ,
]
,
fields:
[
string ,
]
,
}
,
]
,
scoringProfiles:
[
{
name: string ,
text:
{
weights: object ,
}
,
functions:
[
{
fieldName: string ,
boost: number ,
interpolation: enum ,
type: string ,
}
,
]
,
functionAggregation: enum ,
}
,
]
,
defaultScoringProfile: string ,
corsOptions:
{
allowedOrigins:
[
string ,
]
,
maxAgeInSeconds: integer ,
}
,
suggesters:
[
{
name: string ,
searchMode: enum ,
sourceFields:
[
string ,
]
,
}
,
]
,
analyzers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
charFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
normalizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
similarity:
{
@odata.type: string ,
}
,
semantic:
{
defaultConfiguration: string ,
configurations:
[
{
name: string ,
prioritizedFields:
{
titleField:
{
fieldName: string ,
}
,
prioritizedContentFields:
[
{
fieldName: string ,
}
,
]
,
prioritizedKeywordsFields:
[
{
fieldName: string ,
}
,
]
,
}
,
rankingOrder: enum ,
flightingOptIn: boolean ,
}
,
]
,
}
,
vectorSearch:
{
profiles:
[
{
name: string ,
algorithm: string ,
vectorizer: string ,
compression: string ,
}
,
]
,
algorithms:
[
{
name: string ,
kind: enum ,
}
,
]
,
vectorizers:
[
{
name: string ,
kind: enum ,
}
,
]
,
compressions:
[
{
name: string ,
rescoringOptions:
{
enableRescoring: boolean ,
defaultOversampling: number ,
rescoreStorageMethod: enum ,
}
,
truncationDimension: integer ,
kind: enum ,
}
,
]
,
}
,
permissionFilterOption: enum ,
purviewEnabled: boolean ,
@odata.etag: string ,
}
,
}

⚐ Response (200)

{
name: string ,
description: string ,
fields:
[
{
name: string ,
type: enum ,
key: boolean ,
retrievable: boolean ,
stored: boolean ,
searchable: boolean ,
filterable: boolean ,
sortable: boolean ,
facetable: boolean ,
permissionFilter: enum ,
sensitivityLabel: boolean ,
analyzer: enum ,
searchAnalyzer: enum ,
indexAnalyzer: enum ,
normalizer: enum ,
dimensions: integer ,
vectorSearchProfile: string ,
vectorEncoding: enum ,
synonymMaps:
[
string ,
]
,
fields:
[
string ,
]
,
}
,
]
,
scoringProfiles:
[
{
name: string ,
text:
{
weights: object ,
}
,
functions:
[
{
fieldName: string ,
boost: number ,
interpolation: enum ,
type: string ,
}
,
]
,
functionAggregation: enum ,
}
,
]
,
defaultScoringProfile: string ,
corsOptions:
{
allowedOrigins:
[
string ,
]
,
maxAgeInSeconds: integer ,
}
,
suggesters:
[
{
name: string ,
searchMode: enum ,
sourceFields:
[
string ,
]
,
}
,
]
,
analyzers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
charFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
normalizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
similarity:
{
@odata.type: string ,
}
,
semantic:
{
defaultConfiguration: string ,
configurations:
[
{
name: string ,
prioritizedFields:
{
titleField:
{
fieldName: string ,
}
,
prioritizedContentFields:
[
{
fieldName: string ,
}
,
]
,
prioritizedKeywordsFields:
[
{
fieldName: string ,
}
,
]
,
}
,
rankingOrder: enum ,
flightingOptIn: boolean ,
}
,
]
,
}
,
vectorSearch:
{
profiles:
[
{
name: string ,
algorithm: string ,
vectorizer: string ,
compression: string ,
}
,
]
,
algorithms:
[
{
name: string ,
kind: enum ,
}
,
]
,
vectorizers:
[
{
name: string ,
kind: enum ,
}
,
]
,
compressions:
[
{
name: string ,
rescoringOptions:
{
enableRescoring: boolean ,
defaultOversampling: number ,
rescoreStorageMethod: enum ,
}
,
truncationDimension: integer ,
kind: enum ,
}
,
]
,
}
,
permissionFilterOption: enum ,
purviewEnabled: boolean ,
@odata.etag: string ,
}

⚐ Response (201)

{
name: string ,
description: string ,
fields:
[
{
name: string ,
type: enum ,
key: boolean ,
retrievable: boolean ,
stored: boolean ,
searchable: boolean ,
filterable: boolean ,
sortable: boolean ,
facetable: boolean ,
permissionFilter: enum ,
sensitivityLabel: boolean ,
analyzer: enum ,
searchAnalyzer: enum ,
indexAnalyzer: enum ,
normalizer: enum ,
dimensions: integer ,
vectorSearchProfile: string ,
vectorEncoding: enum ,
synonymMaps:
[
string ,
]
,
fields:
[
string ,
]
,
}
,
]
,
scoringProfiles:
[
{
name: string ,
text:
{
weights: object ,
}
,
functions:
[
{
fieldName: string ,
boost: number ,
interpolation: enum ,
type: string ,
}
,
]
,
functionAggregation: enum ,
}
,
]
,
defaultScoringProfile: string ,
corsOptions:
{
allowedOrigins:
[
string ,
]
,
maxAgeInSeconds: integer ,
}
,
suggesters:
[
{
name: string ,
searchMode: enum ,
sourceFields:
[
string ,
]
,
}
,
]
,
analyzers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
tokenFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
charFilters:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
normalizers:
[
{
@odata.type: string ,
name: string ,
}
,
]
,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
similarity:
{
@odata.type: string ,
}
,
semantic:
{
defaultConfiguration: string ,
configurations:
[
{
name: string ,
prioritizedFields:
{
titleField:
{
fieldName: string ,
}
,
prioritizedContentFields:
[
{
fieldName: string ,
}
,
]
,
prioritizedKeywordsFields:
[
{
fieldName: string ,
}
,
]
,
}
,
rankingOrder: enum ,
flightingOptIn: boolean ,
}
,
]
,
}
,
vectorSearch:
{
profiles:
[
{
name: string ,
algorithm: string ,
vectorizer: string ,
compression: string ,
}
,
]
,
algorithms:
[
{
name: string ,
kind: enum ,
}
,
]
,
vectorizers:
[
{
name: string ,
kind: enum ,
}
,
]
,
compressions:
[
{
name: string ,
rescoringOptions:
{
enableRescoring: boolean ,
defaultOversampling: number ,
rescoreStorageMethod: enum ,
}
,
truncationDimension: integer ,
kind: enum ,
}
,
]
,
}
,
permissionFilterOption: enum ,
purviewEnabled: boolean ,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexes_Delete (updated)
Description Deletes a search index and all the documents it contains. This operation is permanent, with no recovery option. Make sure you have a master copy of your index definition, data ingestion code, and a backup of the primary data source in case you need to re-build the index.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexes_Delete",
  "$parameters": {
    "@added_b542f731e0a845cca0951d540421fca9": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

DELETE:  /indexes('{indexName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
x-ms-client-request-id: string ,
indexName: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_SearchGet (updated)
Description Searches for documents in the index.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_SearchGet",
  "$parameters": {
    "@added_6ce6e233153d40a59fb5703eea520c02": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexes('{indexName}')/docs
{
api-version: string ,
Accept: string ,
x-ms-query-source-authorization: string ,
x-ms-enable-elevated-read: boolean ,
search: string ,
$count: boolean ,
facet: array ,
$filter: string ,
highlight: array ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
$orderby: array ,
queryType: string ,
scoringParameter: array ,
scoringProfile: string ,
searchFields: array ,
searchMode: string ,
scoringStatistics: string ,
sessionId: string ,
$select: array ,
$skip: integer ,
$top: integer ,
semanticConfiguration: string ,
semanticErrorHandling: string ,
semanticMaxWaitInMilliseconds: integer ,
answers: string ,
captions: string ,
semanticQuery: string ,
queryRewrites: string ,
debug: string ,
queryLanguage: string ,
speller: string ,
semanticFields: array ,
x-ms-client-request-id: string ,
indexName: string ,
}

⚐ Response (200)

{
@odata.count: integer ,
@search.coverage: number ,
@search.facets: object ,
@search.answers:
[
{
score: number ,
key: string ,
text: string ,
highlights: string ,
}
,
]
,
@search.debug:
{
queryRewrites:
{
text:
{
inputQuery: string ,
rewrites:
[
string ,
]
,
}
,
vectors:
[
{
inputQuery: string ,
rewrites:
[
string ,
]
,
}
,
]
,
}
,
}
,
@search.nextPageParameters:
{
count: boolean ,
facets:
[
string ,
]
,
filter: string ,
highlight: string ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
orderby: string ,
queryType: enum ,
scoringStatistics: enum ,
sessionId: string ,
scoringParameters:
[
string ,
]
,
scoringProfile: string ,
debug: enum ,
search: string ,
searchFields: string ,
searchMode: enum ,
queryLanguage: enum ,
speller: enum ,
select: string ,
skip: integer ,
top: integer ,
semanticConfiguration: string ,
semanticErrorHandling: enum ,
semanticMaxWaitInMilliseconds: integer ,
semanticQuery: string ,
answers: enum ,
captions: enum ,
queryRewrites: enum ,
semanticFields: string ,
vectorQueries:
[
{
k: integer ,
fields: string ,
exhaustive: boolean ,
oversampling: number ,
weight: number ,
threshold:
{
kind: enum ,
}
,
filterOverride: string ,
perDocumentVectorLimit: integer ,
kind: enum ,
}
,
]
,
vectorFilterMode: enum ,
hybridSearch:
{
maxTextRecallSize: integer ,
countAndFacetMode: enum ,
}
,
}
,
value:
[
{
@search.score: number ,
@search.rerankerScore: number ,
@search.rerankerBoostedScore: number ,
@search.highlights: object ,
@search.captions:
[
{
text: string ,
highlights: string ,
}
,
]
,
@search.documentDebugInfo:
{
semantic:
{
titleField:
{
name: string ,
state: enum ,
}
,
contentFields:
[
{
name: string ,
state: enum ,
}
,
]
,
keywordFields:
[
{
name: string ,
state: enum ,
}
,
]
,
rerankerInput:
{
title: string ,
content: string ,
keywords: string ,
}
,
}
,
vectors:
{
subscores:
{
text:
{
searchScore: number ,
}
,
vectors:
[
object ,
]
,
documentBoost: number ,
}
,
}
,
innerHits: object ,
}
,
}
,
]
,
@odata.nextLink: string ,
@search.semanticPartialResponseReason: enum ,
@search.semanticPartialResponseType: enum ,
@search.semanticQueryRewritesResultType: enum ,
}

⚐ Response (206)

{
@odata.count: integer ,
@search.coverage: number ,
@search.facets: object ,
@search.answers:
[
{
score: number ,
key: string ,
text: string ,
highlights: string ,
}
,
]
,
@search.debug:
{
queryRewrites:
{
text:
{
inputQuery: string ,
rewrites:
[
string ,
]
,
}
,
vectors:
[
{
inputQuery: string ,
rewrites:
[
string ,
]
,
}
,
]
,
}
,
}
,
@search.nextPageParameters:
{
count: boolean ,
facets:
[
string ,
]
,
filter: string ,
highlight: string ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
orderby: string ,
queryType: enum ,
scoringStatistics: enum ,
sessionId: string ,
scoringParameters:
[
string ,
]
,
scoringProfile: string ,
debug: enum ,
search: string ,
searchFields: string ,
searchMode: enum ,
queryLanguage: enum ,
speller: enum ,
select: string ,
skip: integer ,
top: integer ,
semanticConfiguration: string ,
semanticErrorHandling: enum ,
semanticMaxWaitInMilliseconds: integer ,
semanticQuery: string ,
answers: enum ,
captions: enum ,
queryRewrites: enum ,
semanticFields: string ,
vectorQueries:
[
{
k: integer ,
fields: string ,
exhaustive: boolean ,
oversampling: number ,
weight: number ,
threshold:
{
kind: enum ,
}
,
filterOverride: string ,
perDocumentVectorLimit: integer ,
kind: enum ,
}
,
]
,
vectorFilterMode: enum ,
hybridSearch:
{
maxTextRecallSize: integer ,
countAndFacetMode: enum ,
}
,
}
,
value:
[
{
@search.score: number ,
@search.rerankerScore: number ,
@search.rerankerBoostedScore: number ,
@search.highlights: object ,
@search.captions:
[
{
text: string ,
highlights: string ,
}
,
]
,
@search.documentDebugInfo:
{
semantic:
{
titleField:
{
name: string ,
state: enum ,
}
,
contentFields:
[
{
name: string ,
state: enum ,
}
,
]
,
keywordFields:
[
{
name: string ,
state: enum ,
}
,
]
,
rerankerInput:
{
title: string ,
content: string ,
keywords: string ,
}
,
}
,
vectors:
{
subscores:
{
text:
{
searchScore: number ,
}
,
vectors:
[
object ,
]
,
documentBoost: number ,
}
,
}
,
innerHits: object ,
}
,
}
,
]
,
@odata.nextLink: string ,
@search.semanticPartialResponseReason: enum ,
@search.semanticPartialResponseType: enum ,
@search.semanticQueryRewritesResultType: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_Count (updated)
Description Queries the number of documents in the index.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_Count",
  "$parameters": {
    "@added_27b7d83d7295464e98f26f4b5da4c0a5": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexes('{indexName}')/docs/$count
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexName: string ,
}

⚐ Response (200)

{
$schema: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_AutocompleteGet (updated)
Description Autocompletes incomplete query terms based on input text and matching terms in the index.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_AutocompleteGet",
  "$parameters": {
    "@added_1c427e0af1d0414695bde6232e8634fe": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexes('{indexName}')/docs/search.autocomplete
{
api-version: string ,
Accept: string ,
search: string ,
suggesterName: string ,
autocompleteMode: string ,
$filter: string ,
fuzzy: boolean ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
searchFields: array ,
$top: integer ,
x-ms-client-request-id: string ,
indexName: string ,
}

⚐ Response (200)

{
@search.coverage: number ,
value:
[
{
text: string ,
queryPlusText: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_Index (updated)
Description Sends a batch of document write actions to the index.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_Index",
  "$parameters": {
    "@added_0e226e8738524c069a35fce5a0a84fd4": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexes('{indexName}')/docs/search.index
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexName: string ,
batch:
{
value:
[
{
@search.action: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
value:
[
{
key: string ,
errorMessage: string ,
status: boolean ,
statusCode: integer ,
}
,
]
,
}

⚐ Response (207)

{
value:
[
{
key: string ,
errorMessage: string ,
status: boolean ,
statusCode: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_AutocompletePost (updated)
Description Autocompletes incomplete query terms based on input text and matching terms in the index.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_AutocompletePost",
  "$parameters": {
    "@added_254b593c958e48e699f4112104b8d6e8": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexes('{indexName}')/docs/search.post.autocomplete
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexName: string ,
body:
{
search: string ,
autocompleteMode: enum ,
filter: string ,
fuzzy: boolean ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
searchFields: string ,
suggesterName: string ,
top: integer ,
}
,
}

⚐ Response (200)

{
@search.coverage: number ,
value:
[
{
text: string ,
queryPlusText: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_SearchPost (updated)
Description Searches for documents in the index.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_SearchPost",
  "$parameters": {
    "@added_7b883fb3a24d416ba6f42403020147eb": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexes('{indexName}')/docs/search.post.search
{
api-version: string ,
Accept: string ,
x-ms-query-source-authorization: string ,
x-ms-enable-elevated-read: boolean ,
x-ms-client-request-id: string ,
indexName: string ,
body:
{
count: boolean ,
facets:
[
string ,
]
,
filter: string ,
highlight: string ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
orderby: string ,
queryType: enum ,
scoringStatistics: enum ,
sessionId: string ,
scoringParameters:
[
string ,
]
,
scoringProfile: string ,
debug: enum ,
search: string ,
searchFields: string ,
searchMode: enum ,
queryLanguage: enum ,
speller: enum ,
select: string ,
skip: integer ,
top: integer ,
semanticConfiguration: string ,
semanticErrorHandling: enum ,
semanticMaxWaitInMilliseconds: integer ,
semanticQuery: string ,
answers: enum ,
captions: enum ,
queryRewrites: enum ,
semanticFields: string ,
vectorQueries:
[
{
k: integer ,
fields: string ,
exhaustive: boolean ,
oversampling: number ,
weight: number ,
threshold:
{
kind: enum ,
}
,
filterOverride: string ,
perDocumentVectorLimit: integer ,
kind: enum ,
}
,
]
,
vectorFilterMode: enum ,
hybridSearch:
{
maxTextRecallSize: integer ,
countAndFacetMode: enum ,
}
,
}
,
}

⚐ Response (200)

{
@odata.count: integer ,
@search.coverage: number ,
@search.facets: object ,
@search.answers:
[
{
score: number ,
key: string ,
text: string ,
highlights: string ,
}
,
]
,
@search.debug:
{
queryRewrites:
{
text:
{
inputQuery: string ,
rewrites:
[
string ,
]
,
}
,
vectors:
[
{
inputQuery: string ,
rewrites:
[
string ,
]
,
}
,
]
,
}
,
}
,
@search.nextPageParameters:
{
count: boolean ,
facets:
[
string ,
]
,
filter: string ,
highlight: string ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
orderby: string ,
queryType: enum ,
scoringStatistics: enum ,
sessionId: string ,
scoringParameters:
[
string ,
]
,
scoringProfile: string ,
debug: enum ,
search: string ,
searchFields: string ,
searchMode: enum ,
queryLanguage: enum ,
speller: enum ,
select: string ,
skip: integer ,
top: integer ,
semanticConfiguration: string ,
semanticErrorHandling: enum ,
semanticMaxWaitInMilliseconds: integer ,
semanticQuery: string ,
answers: enum ,
captions: enum ,
queryRewrites: enum ,
semanticFields: string ,
vectorQueries:
[
{
k: integer ,
fields: string ,
exhaustive: boolean ,
oversampling: number ,
weight: number ,
threshold:
{
kind: enum ,
}
,
filterOverride: string ,
perDocumentVectorLimit: integer ,
kind: enum ,
}
,
]
,
vectorFilterMode: enum ,
hybridSearch:
{
maxTextRecallSize: integer ,
countAndFacetMode: enum ,
}
,
}
,
value:
[
{
@search.score: number ,
@search.rerankerScore: number ,
@search.rerankerBoostedScore: number ,
@search.highlights: object ,
@search.captions:
[
{
text: string ,
highlights: string ,
}
,
]
,
@search.documentDebugInfo:
{
semantic:
{
titleField:
{
name: string ,
state: enum ,
}
,
contentFields:
[
{
name: string ,
state: enum ,
}
,
]
,
keywordFields:
[
{
name: string ,
state: enum ,
}
,
]
,
rerankerInput:
{
title: string ,
content: string ,
keywords: string ,
}
,
}
,
vectors:
{
subscores:
{
text:
{
searchScore: number ,
}
,
vectors:
[
object ,
]
,
documentBoost: number ,
}
,
}
,
innerHits: object ,
}
,
}
,
]
,
@odata.nextLink: string ,
@search.semanticPartialResponseReason: enum ,
@search.semanticPartialResponseType: enum ,
@search.semanticQueryRewritesResultType: enum ,
}

⚐ Response (206)

{
@odata.count: integer ,
@search.coverage: number ,
@search.facets: object ,
@search.answers:
[
{
score: number ,
key: string ,
text: string ,
highlights: string ,
}
,
]
,
@search.debug:
{
queryRewrites:
{
text:
{
inputQuery: string ,
rewrites:
[
string ,
]
,
}
,
vectors:
[
{
inputQuery: string ,
rewrites:
[
string ,
]
,
}
,
]
,
}
,
}
,
@search.nextPageParameters:
{
count: boolean ,
facets:
[
string ,
]
,
filter: string ,
highlight: string ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
orderby: string ,
queryType: enum ,
scoringStatistics: enum ,
sessionId: string ,
scoringParameters:
[
string ,
]
,
scoringProfile: string ,
debug: enum ,
search: string ,
searchFields: string ,
searchMode: enum ,
queryLanguage: enum ,
speller: enum ,
select: string ,
skip: integer ,
top: integer ,
semanticConfiguration: string ,
semanticErrorHandling: enum ,
semanticMaxWaitInMilliseconds: integer ,
semanticQuery: string ,
answers: enum ,
captions: enum ,
queryRewrites: enum ,
semanticFields: string ,
vectorQueries:
[
{
k: integer ,
fields: string ,
exhaustive: boolean ,
oversampling: number ,
weight: number ,
threshold:
{
kind: enum ,
}
,
filterOverride: string ,
perDocumentVectorLimit: integer ,
kind: enum ,
}
,
]
,
vectorFilterMode: enum ,
hybridSearch:
{
maxTextRecallSize: integer ,
countAndFacetMode: enum ,
}
,
}
,
value:
[
{
@search.score: number ,
@search.rerankerScore: number ,
@search.rerankerBoostedScore: number ,
@search.highlights: object ,
@search.captions:
[
{
text: string ,
highlights: string ,
}
,
]
,
@search.documentDebugInfo:
{
semantic:
{
titleField:
{
name: string ,
state: enum ,
}
,
contentFields:
[
{
name: string ,
state: enum ,
}
,
]
,
keywordFields:
[
{
name: string ,
state: enum ,
}
,
]
,
rerankerInput:
{
title: string ,
content: string ,
keywords: string ,
}
,
}
,
vectors:
{
subscores:
{
text:
{
searchScore: number ,
}
,
vectors:
[
object ,
]
,
documentBoost: number ,
}
,
}
,
innerHits: object ,
}
,
}
,
]
,
@odata.nextLink: string ,
@search.semanticPartialResponseReason: enum ,
@search.semanticPartialResponseType: enum ,
@search.semanticQueryRewritesResultType: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_SuggestPost (updated)
Description Suggests documents in the index that match the given partial query text.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_SuggestPost",
  "$parameters": {
    "@added_938fd7a9987549a48a70a26f5eb6b240": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexes('{indexName}')/docs/search.post.suggest
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexName: string ,
body:
{
filter: string ,
fuzzy: boolean ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
orderby: string ,
search: string ,
searchFields: string ,
select: string ,
suggesterName: string ,
top: integer ,
}
,
}

⚐ Response (200)

{
value:
[
{
@search.text: string ,
}
,
]
,
@search.coverage: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_SuggestGet (updated)
Description Suggests documents in the index that match the given partial query text.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_SuggestGet",
  "$parameters": {
    "@added_d5add2cfe7844abba780d689638668d0": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexes('{indexName}')/docs/search.suggest
{
api-version: string ,
Accept: string ,
search: string ,
suggesterName: string ,
$filter: string ,
fuzzy: boolean ,
highlightPostTag: string ,
highlightPreTag: string ,
minimumCoverage: number ,
$orderby: array ,
searchFields: array ,
$select: array ,
$top: integer ,
x-ms-client-request-id: string ,
indexName: string ,
}

⚐ Response (200)

{
value:
[
{
@search.text: string ,
}
,
]
,
@search.coverage: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Documents_Get (updated)
Description Retrieves a document from the index.
Reference Link ¶

⚶ Changes

{
  "#id": "Documents_Get",
  "$parameters": {
    "@added_5b44659c4d1e407f95ec97e8478b40a6": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexes('{indexName}')/docs('{key}')
{
api-version: string ,
Accept: string ,
x-ms-query-source-authorization: string ,
x-ms-enable-elevated-read: boolean ,
key: string ,
$select: array ,
x-ms-client-request-id: string ,
indexName: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexes_Analyze (updated)
Description Shows how an analyzer breaks text into tokens.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexes_Analyze",
  "$parameters": {
    "@added_b104cf33ea8b413b80521b0b2e679235": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /indexes('{indexName}')/search.analyze
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexName: string ,
request:
{
text: string ,
analyzer: enum ,
tokenizer: enum ,
normalizer: enum ,
tokenFilters:
[
string ,
]
,
charFilters:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
tokens:
[
{
token: string ,
startOffset: integer ,
endOffset: integer ,
position: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Indexes_GetStatistics (updated)
Description Returns statistics for the given index, including a document count and storage usage.
Reference Link ¶

⚶ Changes

{
  "#id": "Indexes_GetStatistics",
  "$parameters": {
    "@added_53501b50c64540c2ad57c0a0cce619de": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexes('{indexName}')/search.stats
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
indexName: string ,
}

⚐ Response (200)

{
documentCount: integer ,
storageSize: integer ,
vectorIndexSize: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GetIndexStatsSummary (updated)
Description Retrieves a summary of statistics for all indexes in the search service.
Reference Link ¶

⚶ Changes

{
  "#id": "GetIndexStatsSummary",
  "$parameters": {
    "@added_71fdc1fc3bf141b2bf69c31c15cc2223": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /indexstats
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
documentCount: integer ,
storageSize: integer ,
vectorIndexSize: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeBases_List (updated)
Description Lists all knowledge bases available for a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeBases_List",
  "$parameters": {
    "@added_dce51d8562cd4e88bd21b5021219ba5f": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /knowledgebases
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
knowledgeSources:
[
{
name: string ,
}
,
]
,
models:
[
{
kind: enum ,
}
,
]
,
retrievalReasoningEffort:
{
kind: enum ,
}
,
outputMode: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
description: string ,
retrievalInstructions: string ,
answerInstructions: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeBases_Create (updated)
Description Creates a new knowledge base.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeBases_Create",
  "$parameters": {
    "@added_684167a3e00c42af9e5b690b922c7201": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /knowledgebases
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
knowledgeBase:
{
name: string ,
knowledgeSources:
[
{
name: string ,
}
,
]
,
models:
[
{
kind: enum ,
}
,
]
,
retrievalReasoningEffort:
{
kind: enum ,
}
,
outputMode: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
description: string ,
retrievalInstructions: string ,
answerInstructions: string ,
}
,
}

⚐ Response (201)

{
name: string ,
knowledgeSources:
[
{
name: string ,
}
,
]
,
models:
[
{
kind: enum ,
}
,
]
,
retrievalReasoningEffort:
{
kind: enum ,
}
,
outputMode: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
description: string ,
retrievalInstructions: string ,
answerInstructions: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeBases_Get (updated)
Description Retrieves a knowledge base definition.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeBases_Get",
  "$parameters": {
    "@added_8c806ab75d6d424296187484f3c33836": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /knowledgebases('{knowledgeBaseName}')
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
knowledgeBaseName: string ,
}

⚐ Response (200)

{
name: string ,
knowledgeSources:
[
{
name: string ,
}
,
]
,
models:
[
{
kind: enum ,
}
,
]
,
retrievalReasoningEffort:
{
kind: enum ,
}
,
outputMode: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
description: string ,
retrievalInstructions: string ,
answerInstructions: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeBases_CreateOrUpdate (updated)
Description Creates a new knowledge base or updates a knowledge base if it already exists.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeBases_CreateOrUpdate",
  "$parameters": {
    "@added_48cb944caf1e4728b99c2a9f6db2c44e": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

PUT:  /knowledgebases('{knowledgeBaseName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
Prefer: string ,
x-ms-client-request-id: string ,
knowledgeBaseName: string ,
knowledgeBase:
{
name: string ,
knowledgeSources:
[
{
name: string ,
}
,
]
,
models:
[
{
kind: enum ,
}
,
]
,
retrievalReasoningEffort:
{
kind: enum ,
}
,
outputMode: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
description: string ,
retrievalInstructions: string ,
answerInstructions: string ,
}
,
}

⚐ Response (200)

{
name: string ,
knowledgeSources:
[
{
name: string ,
}
,
]
,
models:
[
{
kind: enum ,
}
,
]
,
retrievalReasoningEffort:
{
kind: enum ,
}
,
outputMode: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
description: string ,
retrievalInstructions: string ,
answerInstructions: string ,
}

⚐ Response (201)

{
name: string ,
knowledgeSources:
[
{
name: string ,
}
,
]
,
models:
[
{
kind: enum ,
}
,
]
,
retrievalReasoningEffort:
{
kind: enum ,
}
,
outputMode: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
description: string ,
retrievalInstructions: string ,
answerInstructions: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeBases_Delete (updated)
Description Deletes a knowledge base.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeBases_Delete",
  "$parameters": {
    "@added_1210ae22daa64c65bedc8d2e9a3bd6e0": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

DELETE:  /knowledgebases('{knowledgeBaseName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
x-ms-client-request-id: string ,
knowledgeBaseName: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeRetrieval_Retrieve (updated)
Description KnowledgeBase retrieves relevant data from backing stores.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeRetrieval_Retrieve",
  "$parameters": {
    "@added_28807e41625c4093a69e7f2c56f5f35e": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /knowledgebases('{knowledgeBaseName}')/retrieve
{
api-version: string ,
Accept: string ,
knowledgeBaseName: string ,
x-ms-query-source-authorization: string ,
x-ms-client-request-id: string ,
retrievalRequest:
{
messages:
[
{
role: string ,
content:
[
{
type: enum ,
}
,
]
,
}
,
]
,
intents:
[
{
type: enum ,
}
,
]
,
maxRuntimeInSeconds: integer ,
maxOutputSize: integer ,
retrievalReasoningEffort:
{
kind: enum ,
}
,
includeActivity: boolean ,
outputMode: enum ,
knowledgeSourceParams:
[
{
knowledgeSourceName: string ,
includeReferences: boolean ,
includeReferenceSourceData: boolean ,
alwaysQuerySource: boolean ,
rerankerThreshold: number ,
kind: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
response:
[
{
role: string ,
content:
[
{
type: enum ,
}
,
]
,
}
,
]
,
activity:
[
{
id: integer ,
type: enum ,
elapsedMs: integer ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
references:
[
{
type: enum ,
id: string ,
activitySource: integer ,
sourceData: object ,
rerankerScore: number ,
}
,
]
,
}

⚐ Response (206)

{
response:
[
{
role: string ,
content:
[
{
type: enum ,
}
,
]
,
}
,
]
,
activity:
[
{
id: integer ,
type: enum ,
elapsedMs: integer ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
references:
[
{
type: enum ,
id: string ,
activitySource: integer ,
sourceData: object ,
rerankerScore: number ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeSources_List (updated)
Description Lists all knowledge sources available for a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeSources_List",
  "$parameters": {
    "@added_676e9b33e74344b39d5b655f22980e52": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /knowledgesources
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
description: string ,
kind: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeSources_Create (updated)
Description Creates a new knowledge source.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeSources_Create",
  "$parameters": {
    "@added_dc2c6224b565491f857ac36a73205dd0": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /knowledgesources
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
knowledgeSource:
{
name: string ,
description: string ,
kind: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
}

⚐ Response (201)

{
name: string ,
description: string ,
kind: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeSources_Get (updated)
Description Retrieves a knowledge source definition.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeSources_Get",
  "$parameters": {
    "@added_75617afb3c47459a807cec3c568786a0": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /knowledgesources('{sourceName}')
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
sourceName: string ,
}

⚐ Response (200)

{
name: string ,
description: string ,
kind: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeSources_CreateOrUpdate (updated)
Description Creates a new knowledge source or updates an knowledge source if it already exists.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeSources_CreateOrUpdate",
  "$parameters": {
    "@added_4f4e179ffa004f239e172e1220178253": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

PUT:  /knowledgesources('{sourceName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
Prefer: string ,
x-ms-client-request-id: string ,
sourceName: string ,
knowledgeSource:
{
name: string ,
description: string ,
kind: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
name: string ,
description: string ,
kind: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (201)

{
name: string ,
description: string ,
kind: enum ,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeSources_Delete (updated)
Description Deletes an existing knowledge source.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeSources_Delete",
  "$parameters": {
    "@added_5c602c378789429ba460ade791afde46": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

DELETE:  /knowledgesources('{sourceName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
x-ms-client-request-id: string ,
sourceName: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
KnowledgeSources_GetStatus (updated)
Description Retrieves the status of a knowledge source.
Reference Link ¶

⚶ Changes

{
  "#id": "KnowledgeSources_GetStatus",
  "$parameters": {
    "@added_8122fcddc2f8438f83896da4b49ef009": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /knowledgesources('{sourceName}')/status
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
sourceName: string ,
}

⚐ Response (200)

{
synchronizationStatus: enum ,
synchronizationInterval: string ,
currentSynchronizationState:
{
startTime: string ,
itemsUpdatesProcessed: integer ,
itemsUpdatesFailed: integer ,
itemsSkipped: integer ,
}
,
lastSynchronizationState:
{
startTime: string ,
endTime: string ,
itemsUpdatesProcessed: integer ,
itemsUpdatesFailed: integer ,
itemsSkipped: integer ,
}
,
statistics:
{
totalSynchronization: integer ,
averageSynchronizationDuration: string ,
averageItemsProcessedPerSynchronization: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GetServiceStatistics (updated)
Description Gets service level statistics for a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "GetServiceStatistics",
  "$parameters": {
    "@added_174c734f865a4e35a7454760b9806918": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /servicestats
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
counters:
{
aliasesCount:
{
usage: integer ,
quota: integer ,
}
,
documentCount:
{
usage: integer ,
quota: integer ,
}
,
indexesCount:
{
usage: integer ,
quota: integer ,
}
,
indexersCount:
{
usage: integer ,
quota: integer ,
}
,
dataSourcesCount:
{
usage: integer ,
quota: integer ,
}
,
storageSize:
{
usage: integer ,
quota: integer ,
}
,
synonymMaps:
{
usage: integer ,
quota: integer ,
}
,
skillsetCount:
{
usage: integer ,
quota: integer ,
}
,
vectorIndexSize:
{
usage: integer ,
quota: integer ,
}
,
}
,
limits:
{
maxFieldsPerIndex: integer ,
maxFieldNestingDepthPerIndex: integer ,
maxComplexCollectionFieldsPerIndex: integer ,
maxComplexObjectsInCollectionsPerDocument: integer ,
maxStoragePerIndex: integer ,
maxCumulativeIndexerRuntimeSeconds: integer ,
}
,
indexersRuntime:
{
usedSeconds: integer ,
remainingSeconds: integer ,
beginningTime: string ,
endingTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Skillsets_List (updated)
Description List all skillsets in a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "Skillsets_List",
  "$parameters": [
    {
      "@added_6e487bef59554955a00a983f7c24db9f": {
        "#name": "Accept",
        "Description": "The Accept header.",
        "Required": true,
        "Type": "string"
      }
    },
    {
      "#name": "$select",
      "Type": {
        "new": "array",
        "old": "string"
      }
    }
  ]
}

⚼ Request

GET:  /skillsets
{
api-version: string ,
Accept: string ,
$select: array ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
description: string ,
skills:
[
{
@odata.type: string ,
name: string ,
description: string ,
context: string ,
inputs:
[
{
name: string ,
source: string ,
sourceContext: string ,
inputs:
[
string ,
]
,
}
,
]
,
outputs:
[
{
name: string ,
targetName: string ,
}
,
]
,
}
,
]
,
cognitiveServices:
{
@odata.type: string ,
description: string ,
}
,
knowledgeStore:
{
storageConnectionString: string ,
projections:
[
{
tables:
[
{
generatedKeyName: string ,
tableName: string ,
}
,
]
,
objects:
[
object ,
]
,
files:
[
object ,
]
,
}
,
]
,
identity:
{
@odata.type: string ,
}
,
parameters:
{
synthesizeGeneratedKeyName: boolean ,
}
,
}
,
indexProjections:
{
selectors:
[
{
targetIndexName: string ,
parentKeyFieldName: string ,
sourceContext: string ,
mappings:
[
{
name: string ,
source: string ,
sourceContext: string ,
inputs:
[
string ,
]
,
}
,
]
,
}
,
]
,
parameters:
{
projectionMode: enum ,
}
,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Skillsets_Create (updated)
Description Creates a new skillset in a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "Skillsets_Create",
  "$parameters": {
    "@added_78b5f141e49b485e85e195bf262d804b": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /skillsets
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
skillset:
{
name: string ,
description: string ,
skills:
[
{
@odata.type: string ,
name: string ,
description: string ,
context: string ,
inputs:
[
{
name: string ,
source: string ,
sourceContext: string ,
inputs:
[
string ,
]
,
}
,
]
,
outputs:
[
{
name: string ,
targetName: string ,
}
,
]
,
}
,
]
,
cognitiveServices:
{
@odata.type: string ,
description: string ,
}
,
knowledgeStore:
{
storageConnectionString: string ,
projections:
[
{
tables:
[
{
generatedKeyName: string ,
tableName: string ,
}
,
]
,
objects:
[
object ,
]
,
files:
[
object ,
]
,
}
,
]
,
identity:
{
@odata.type: string ,
}
,
parameters:
{
synthesizeGeneratedKeyName: boolean ,
}
,
}
,
indexProjections:
{
selectors:
[
{
targetIndexName: string ,
parentKeyFieldName: string ,
sourceContext: string ,
mappings:
[
{
name: string ,
source: string ,
sourceContext: string ,
inputs:
[
string ,
]
,
}
,
]
,
}
,
]
,
parameters:
{
projectionMode: enum ,
}
,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
}

⚐ Response (201)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Skillsets_Get (updated)
Description Retrieves a skillset in a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "Skillsets_Get",
  "$parameters": {
    "@added_a27b424481f344b9a3b913be60ee9993": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /skillsets('{skillsetName}')
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
skillsetName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Skillsets_CreateOrUpdate (updated)
Description Creates a new skillset in a search service or updates the skillset if it already exists.
Reference Link ¶

⚶ Changes

{
  "#id": "Skillsets_CreateOrUpdate",
  "$parameters": {
    "@added_cea1f6670c114a69a7b8f1ceb5ce0169": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

PUT:  /skillsets('{skillsetName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
Prefer: string ,
ignoreResetRequirements: boolean ,
disableCacheReprocessingChangeDetection: boolean ,
x-ms-client-request-id: string ,
skillsetName: string ,
skillset:
{
name: string ,
description: string ,
skills:
[
{
@odata.type: string ,
name: string ,
description: string ,
context: string ,
inputs:
[
{
name: string ,
source: string ,
sourceContext: string ,
inputs:
[
string ,
]
,
}
,
]
,
outputs:
[
{
name: string ,
targetName: string ,
}
,
]
,
}
,
]
,
cognitiveServices:
{
@odata.type: string ,
description: string ,
}
,
knowledgeStore:
{
storageConnectionString: string ,
projections:
[
{
tables:
[
{
generatedKeyName: string ,
tableName: string ,
}
,
]
,
objects:
[
object ,
]
,
files:
[
object ,
]
,
}
,
]
,
identity:
{
@odata.type: string ,
}
,
parameters:
{
synthesizeGeneratedKeyName: boolean ,
}
,
}
,
indexProjections:
{
selectors:
[
{
targetIndexName: string ,
parentKeyFieldName: string ,
sourceContext: string ,
mappings:
[
{
name: string ,
source: string ,
sourceContext: string ,
inputs:
[
string ,
]
,
}
,
]
,
}
,
]
,
parameters:
{
projectionMode: enum ,
}
,
}
,
@odata.etag: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (201)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Skillsets_Delete (updated)
Description Deletes a skillset in a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "Skillsets_Delete",
  "$parameters": {
    "@added_15d22f414b464e4485259671dee7641d": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

DELETE:  /skillsets('{skillsetName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
x-ms-client-request-id: string ,
skillsetName: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Skillsets_ResetSkills (updated)
Description Reset an existing skillset in a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "Skillsets_ResetSkills",
  "$parameters": {
    "@added_b139c031e76448ebaf0cff58ceacc5e4": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /skillsets('{skillsetName}')/search.resetskills
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
skillsetName: string ,
skillNames:
{
skillNames:
[
string ,
]
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SynonymMaps_List (updated)
Description Lists all synonym maps available for a search service.
Reference Link ¶

⚶ Changes

{
  "#id": "SynonymMaps_List",
  "$parameters": [
    {
      "@added_b266986ccccb44c3993df65dc64400d9": {
        "#name": "Accept",
        "Description": "The Accept header.",
        "Required": true,
        "Type": "string"
      }
    },
    {
      "#name": "$select",
      "Type": {
        "new": "array",
        "old": "string"
      }
    }
  ]
}

⚼ Request

GET:  /synonymmaps
{
api-version: string ,
Accept: string ,
$select: array ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
format: enum ,
synonyms: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
@odata.etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SynonymMaps_Create (updated)
Description Creates a new synonym map.
Reference Link ¶

⚶ Changes

{
  "#id": "SynonymMaps_Create",
  "$parameters": {
    "@added_2dbf36e1ccf14787b1975690e7a0e2d1": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

POST:  /synonymmaps
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
synonymMap:
{
name: string ,
format: enum ,
synonyms: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
@odata.etag: string ,
}
,
}

⚐ Response (201)

{
name: string ,
format: enum ,
synonyms: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SynonymMaps_Get (updated)
Description Retrieves a synonym map definition.
Reference Link ¶

⚶ Changes

{
  "#id": "SynonymMaps_Get",
  "$parameters": {
    "@added_c1e95329a91a41c4a5ed4a46d554c591": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /synonymmaps('{synonymMapName}')
{
api-version: string ,
Accept: string ,
x-ms-client-request-id: string ,
synonymMapName: string ,
}

⚐ Response (200)

{
name: string ,
format: enum ,
synonyms: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SynonymMaps_CreateOrUpdate (updated)
Description Creates a new synonym map or updates a synonym map if it already exists.
Reference Link ¶

⚶ Changes

{
  "#id": "SynonymMaps_CreateOrUpdate",
  "$parameters": {
    "@added_0bb7be3a642640268c116a7bf1de6543": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

PUT:  /synonymmaps('{synonymMapName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
Prefer: string ,
x-ms-client-request-id: string ,
synonymMapName: string ,
synonymMap:
{
name: string ,
format: enum ,
synonyms: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
@odata.etag: string ,
}
,
}

⚐ Response (200)

{
name: string ,
format: enum ,
synonyms: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
@odata.etag: string ,
}

⚐ Response (201)

{
name: string ,
format: enum ,
synonyms: string ,
encryptionKey:
{
keyVaultKeyName: string ,
keyVaultKeyVersion: string ,
keyVaultUri: string ,
accessCredentials:
{
applicationId: string ,
applicationSecret: string ,
}
,
identity:
{
@odata.type: string ,
}
,
}
,
@odata.etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SynonymMaps_Delete (updated)
Description Deletes a synonym map.
Reference Link ¶

⚶ Changes

{
  "#id": "SynonymMaps_Delete",
  "$parameters": {
    "@added_52dac420f2aa4460bc3badeb11deca5f": {
      "#name": "Accept",
      "Description": "The Accept header.",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

DELETE:  /synonymmaps('{synonymMapName}')
{
api-version: string ,
Accept: string ,
If-Match: string ,
If-None-Match: string ,
x-ms-client-request-id: string ,
synonymMapName: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}