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

2025/04/30 • 2 updated methods

ConversationAuthoringListTrainingJobs (updated)
Description Lists the non-expired training jobs created for a project.
Reference Link ¶

⚶ Changes

{
  "#id": "ConversationAuthoringListTrainingJobs",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "result": [
              {
                "@added_85ebbb52985f44fd9f40975fc08c6a2f": {
                  "#name": "dataGenerationStatus",
                  "Description": "Represents the model data generation status.",
                  "Required": true,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "percentComplete",
                      "Description": "Represents progress percentage.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    },
                    {
                      "#name": "startDateTime",
                      "Description": "Represents the start date time.",
                      "Format": "date-time",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "endDateTime",
                      "Description": "Represents the end date time.",
                      "Format": "date-time",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "status",
                      "Description": "Represents the status of the sub-operation.",
                      "Enum": [
                        [
                          "notStarted",
                          ""
                        ],
                        [
                          "running",
                          ""
                        ],
                        [
                          "succeeded",
                          ""
                        ],
                        [
                          "failed",
                          ""
                        ],
                        [
                          "cancelled",
                          ""
                        ],
                        [
                          "cancelling",
                          ""
                        ],
                        [
                          "partiallyCompleted",
                          ""
                        ]
                      ],
                      "Required": true,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /authoring/analyze-conversations/projects/{projectName}/train/jobs
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
jobId: string ,
createdDateTime: string ,
lastUpdatedDateTime: string ,
expirationDateTime: string ,
status: enum ,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
result:
{
modelLabel: string ,
trainingConfigVersion: string ,
trainingMode: enum ,
trainingStatus:
{
percentComplete: integer ,
startDateTime: string ,
endDateTime: string ,
status: enum ,
}
,
dataGenerationStatus:
{
percentComplete: integer ,
startDateTime: string ,
endDateTime: string ,
status: enum ,
}
,
evaluationStatus:
{
percentComplete: integer ,
startDateTime: string ,
endDateTime: string ,
status: enum ,
}
,
estimatedEndDateTime: 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 ,
}
,
}
,
}
,
}
ConversationAuthoringProject_GetTrainingStatus (updated)
Description Gets the status for a training job.
Reference Link ¶

⚶ Changes

{
  "#id": "ConversationAuthoringProject_GetTrainingStatus",
  "$responses": {
    "200": {
      "$properties": {
        "result": [
          {
            "@added_f248811c2bb945f79b89a658304c08ee": {
              "#name": "dataGenerationStatus",
              "Description": "Represents the model data generation status.",
              "Required": true,
              "Type": "object",
              "$properties": [
                {
                  "#name": "percentComplete",
                  "Description": "Represents progress percentage.",
                  "Format": "int32",
                  "Required": true,
                  "Type": "integer"
                },
                {
                  "#name": "startDateTime",
                  "Description": "Represents the start date time.",
                  "Format": "date-time",
                  "Required": false,
                  "Type": "string"
                },
                {
                  "#name": "endDateTime",
                  "Description": "Represents the end date time.",
                  "Format": "date-time",
                  "Required": false,
                  "Type": "string"
                },
                {
                  "#name": "status",
                  "Description": "Represents the status of the sub-operation.",
                  "Enum": [
                    [
                      "notStarted",
                      ""
                    ],
                    [
                      "running",
                      ""
                    ],
                    [
                      "succeeded",
                      ""
                    ],
                    [
                      "failed",
                      ""
                    ],
                    [
                      "cancelled",
                      ""
                    ],
                    [
                      "cancelling",
                      ""
                    ],
                    [
                      "partiallyCompleted",
                      ""
                    ]
                  ],
                  "Required": true,
                  "Type": "string"
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/analyze-conversations/projects/{projectName}/train/jobs/{jobId}
{
api-version: string ,
projectName: string ,
jobId: string ,
}

⚐ Response (200)

{
jobId: string ,
createdDateTime: string ,
lastUpdatedDateTime: string ,
expirationDateTime: string ,
status: enum ,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
result:
{
modelLabel: string ,
trainingConfigVersion: string ,
trainingMode: enum ,
trainingStatus:
{
percentComplete: integer ,
startDateTime: string ,
endDateTime: string ,
status: enum ,
}
,
dataGenerationStatus:
{
percentComplete: integer ,
startDateTime: string ,
endDateTime: string ,
status: enum ,
}
,
evaluationStatus:
{
percentComplete: integer ,
startDateTime: string ,
endDateTime: string ,
status: enum ,
}
,
estimatedEndDateTime: string ,
}
,
}

⚐ Response (default)

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