Microsoft Cognitive Language Service - Analyze Text Authoring (preview:2025-05-15)

2025/09/11 • 6 updated methods

TextAnalysisAuthoringListProjects (updated)
Description :  Lists the existing projects.
Reference :  Link ¶

⚶ Changes

{
  "#id": "TextAnalysisAuthoringListProjects",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "@removed_f2eb49c4f2f3479baa3973f7bc187593": {
              "#name": "storageAccountResourceId",
              "Description": "The project storage account resource ID.",
              "Required": false,
              "Type": "string"
            }
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /authoring/analyze-text/projects
{
api-version: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
createdDateTime: string ,
lastModifiedDateTime: string ,
lastTrainedDateTime: string ,
lastDeployedDateTime: string ,
projectKind: enum ,
storageInputContainerName: string ,
settings:
{
confidenceThreshold: number ,
amlProjectPath: string ,
isLabelingLocked: boolean ,
runGptPredictions: boolean ,
gptPredictiveLookahead: integer ,
}
,
projectName: string ,
multilingual: boolean ,
description: string ,
language: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAuthoringProject_GetProject (updated)
Description :  Gets the details of a project.
Reference :  Link ¶

⚶ Changes

{
  "#id": "TextAuthoringProject_GetProject",
  "$responses": {
    "200": {
      "$properties": {
        "@removed_e9cf318668344a2ba082443f4df4651f": {
          "#name": "storageAccountResourceId",
          "Description": "The project storage account resource ID.",
          "Required": false,
          "Type": "string"
        }
      }
    }
  }
}

⚼ Request

GET:  /authoring/analyze-text/projects/{projectName}
{
api-version: string ,
projectName: string ,
}

⚐ Response (200)

{
createdDateTime: string ,
lastModifiedDateTime: string ,
lastTrainedDateTime: string ,
lastDeployedDateTime: string ,
projectKind: enum ,
storageInputContainerName: string ,
settings:
{
confidenceThreshold: number ,
amlProjectPath: string ,
isLabelingLocked: boolean ,
runGptPredictions: boolean ,
gptPredictiveLookahead: integer ,
}
,
projectName: string ,
multilingual: boolean ,
description: string ,
language: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAuthoringProject_CreateProject (updated)
Description :  The most basic operation that applies to a resource.
Reference :  Link ¶

⚶ Changes

{
  "#id": "TextAuthoringProject_CreateProject",
  "$responses": {
    "200": {
      "$properties": {
        "@removed_202adfb487fd4e3a95da27b7d0d650c6": {
          "#name": "storageAccountResourceId",
          "Description": "The project storage account resource ID.",
          "Required": false,
          "Type": "string"
        }
      }
    },
    "201": {
      "$properties": {
        "@removed_700f7ead71734e8492642ce35ffce88b": {
          "#name": "storageAccountResourceId",
          "Description": "The project storage account resource ID.",
          "Required": false,
          "Type": "string"
        }
      }
    }
  }
}

⚼ Request

PATCH:  /authoring/analyze-text/projects/{projectName}
{
api-version: string ,
projectName: string ,
body:
{
projectKind: enum ,
storageInputContainerName: string ,
settings:
{
confidenceThreshold: number ,
amlProjectPath: string ,
isLabelingLocked: boolean ,
runGptPredictions: boolean ,
gptPredictiveLookahead: integer ,
}
,
projectName: string ,
multilingual: boolean ,
description: string ,
language: string ,
}
,
}

⚐ Response (200)

{
createdDateTime: string ,
lastModifiedDateTime: string ,
lastTrainedDateTime: string ,
lastDeployedDateTime: string ,
projectKind: enum ,
storageInputContainerName: string ,
settings:
{
confidenceThreshold: number ,
amlProjectPath: string ,
isLabelingLocked: boolean ,
runGptPredictions: boolean ,
gptPredictiveLookahead: integer ,
}
,
projectName: string ,
multilingual: boolean ,
description: string ,
language: string ,
}

⚐ Response (201)

{
createdDateTime: string ,
lastModifiedDateTime: string ,
lastTrainedDateTime: string ,
lastDeployedDateTime: string ,
projectKind: enum ,
storageInputContainerName: string ,
settings:
{
confidenceThreshold: number ,
amlProjectPath: string ,
isLabelingLocked: boolean ,
runGptPredictions: boolean ,
gptPredictiveLookahead: integer ,
}
,
projectName: string ,
multilingual: boolean ,
description: string ,
language: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAnalysisAuthoringListDeployments (updated)
Description :  Lists the deployments belonging to a project.
Reference :  Link ¶

⚶ Changes

{
  "#id": "TextAnalysisAuthoringListDeployments",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "assignedResources": {
              "$properties": {
                "@removed_14590efdbf334661a3541aea6b0a1b8a": {
                  "#name": "assignedAoaiResource",
                  "Description": "Represents the AOAI resource assigned for data generation.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "kind",
                      "Description": "Connection type for data generation settings. Currently only supports Azure Open AI.",
                      "Enum": [
                        [
                          "AzureOpenAI",
                          ""
                        ]
                      ],
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "resourceId",
                      "Description": "Resource ID for the data generation resource. Looks something like \"/subscriptions//resourceGroups//providers/Microsoft.CognitiveServices/accounts/\".",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "deploymentName",
                      "Description": "Deployment name of model to be used for synthetic data generation.",
                      "Required": true,
                      "Type": "string"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /authoring/analyze-text/projects/{projectName}/deployments
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
deploymentName: string ,
modelId: string ,
lastTrainedDateTime: string ,
lastDeployedDateTime: string ,
deploymentExpirationDate: string ,
modelTrainingConfigVersion: string ,
assignedResources:
[
{
resourceId: string ,
region: string ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAuthoringDeployment_GetDeployment (updated)
Description :  Gets the details of a deployment.
Reference :  Link ¶

⚶ Changes

{
  "#id": "TextAuthoringDeployment_GetDeployment",
  "$responses": {
    "200": {
      "$properties": {
        "assignedResources": {
          "$properties": {
            "@removed_51fc6ceaa75e4fa481f13f5d37a6c922": {
              "#name": "assignedAoaiResource",
              "Description": "Represents the AOAI resource assigned for data generation.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "kind",
                  "Description": "Connection type for data generation settings. Currently only supports Azure Open AI.",
                  "Enum": [
                    [
                      "AzureOpenAI",
                      ""
                    ]
                  ],
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "resourceId",
                  "Description": "Resource ID for the data generation resource. Looks something like \"/subscriptions//resourceGroups//providers/Microsoft.CognitiveServices/accounts/\".",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "deploymentName",
                  "Description": "Deployment name of model to be used for synthetic data generation.",
                  "Required": true,
                  "Type": "string"
                }
              ]
            }
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /authoring/analyze-text/projects/{projectName}/deployments/{deploymentName}
{
api-version: string ,
projectName: string ,
deploymentName: string ,
}

⚐ Response (200)

{
deploymentName: string ,
modelId: string ,
lastTrainedDateTime: string ,
lastDeployedDateTime: string ,
deploymentExpirationDate: string ,
modelTrainingConfigVersion: string ,
assignedResources:
[
{
resourceId: string ,
region: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TextAuthoringDeployment_DeployProject (updated)
Description :  Creates a new deployment or replaces an existing one.
Reference :  Link ¶

⚶ Changes

{
  "#id": "TextAuthoringDeployment_DeployProject",
  "$parameters": {
    "body": {
      "$properties": {
        "@added_6f957d4390114452afc5f41f5dee6f0f": {
          "#name": "assignedResourceIds",
          "Description": "Represents the resource IDs to be assigned to the deployment. If provided, the deployment will be rolled out to the resources provided here as well as the original resource in which the project is created.",
          "Required": false,
          "Type": "array",
          "$items": {
            "Type": "string"
          }
        },
        "@removed_8467f5a458394b90b861d746ee469371": {
          "#name": "assignedResources",
          "Description": "Represents the resources to be assigned to the deployment. If provided, the deployment will be rolled out to the resources provided here as well as the original resource in which the project is created.",
          "Required": false,
          "Type": "array",
          "$items": {
            "Description": "Represents an Azure resource assigned to a deployment.",
            "Type": "object",
            "$properties": [
              {
                "#name": "resourceId",
                "Description": "Represents the Azure resource Id.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "region",
                "Description": "Represents the resource region.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "assignedAoaiResource",
                "Description": "Represents the AOAI resource assigned for data generation.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "kind",
                    "Description": "Connection type for data generation settings. Currently only supports Azure Open AI.",
                    "Enum": [
                      [
                        "AzureOpenAI",
                        ""
                      ]
                    ],
                    "Required": true,
                    "Type": "string"
                  },
                  {
                    "#name": "resourceId",
                    "Description": "Resource ID for the data generation resource. Looks something like \"/subscriptions//resourceGroups//providers/Microsoft.CognitiveServices/accounts/\".",
                    "Required": true,
                    "Type": "string"
                  },
                  {
                    "#name": "deploymentName",
                    "Description": "Deployment name of model to be used for synthetic data generation.",
                    "Required": true,
                    "Type": "string"
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

PUT:  /authoring/analyze-text/projects/{projectName}/deployments/{deploymentName}
{
api-version: string ,
projectName: string ,
deploymentName: string ,
body:
{
trainedModelLabel: string ,
assignedResourceIds:
[
string ,
]
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}