API reference for retrieving the results of an offline meeting minutes task.
Prerequisites
Activate the service and obtain and configure an API key. To prevent security risks from code leaks, configure the API key as an environment variable instead of hard coding it in your code.
Endpoint
Request method
POST request
Request headers
Request parameters
Name | Type | Required | Description | Sample value |
|---|---|---|---|---|
model | string | Yes | The business type. Set the value to |
|
input | object | Yes | Specify the relevant business parameters. | |
input.task | string | Yes | The task type. Set the value to | getTask |
input.dataId | string | Yes | The ID of the offline meeting minutes task to query. | wkb*** |
Response parameters
Name | Type | Description | Example/Parsing protocol |
|---|---|---|---|
code | string | The error code. | |
message | string | The error message. | |
request_id | string | The request ID. | f97ee37d-0f9c-9b93-b6bf-bd263a232bf9 |
usage | object | Usage. This parameter is currently empty. | {} |
output | object | The business response body. | |
output.status | int | The task status:
| 0 |
output.errorCode | string | The error code returned when the task is submitted but fails to run. This is returned when | TSC.FileError |
output.errorMessage | string | The error message returned when the task is submitted but fails to run. This is returned when | File cannot be read. |
output.playbackUrl | string | The URL for audio playback. The URL is valid for 24 hours. | For information about the parsing protocols for the content in the files at the Object Storage Service (OSS) URLs, see: Note: If the URL string is null, the subtask failed. Otherwise, the subtask succeeded. |
output.transcriptionPath | string | The OSS URL of the transcription result object. | |
output.translationsPath | string | The OSS URL of the translation. | |
output.autoChaptersPath | string | The OSS URL of the chapter overview. | |
output.summarizationPath | string | The OSS URL of the full-text summary, speaker summary, Q&A review, and mind map. | |
output.meetingAssistancePath | string | The OSS URL of the action items and keywords. | |
output.pptExtractionPath | string | The OSS URL of the extracted PPT and summary. | |
output.textPolishPath | string | The OSS URL of the polished text. | |
output.customPromptPath | string | The OSS URL of the custom prompt. |
Parsing protocol for output.transcriptionPath
The outermost layer is an Object. Its fields are as follows:
Name | Type | Description | Example |
|---|---|---|---|
audioInfo | object | The audio information object. | |
audioInfo.Size | long | The audio size in bytes. | 3335756 |
audioInfo.Duration | long | The audio duration in milliseconds. For real-time speech recognition, this field does not represent the actual audio duration. | 104006 |
audioInfo.SampleRate | int | The audio sampling rate. | 16000 |
audioInfo.Language | string | The audio language. | cn |
audioSegments | array<array<int>> | The range of valid audio segments. | |
audioSegments[i][0] | int | The start time of the valid audio segment in milliseconds. | 1690 |
audioSegments[i][1] | int | The end time of the valid audio segment in milliseconds. | 10704 |
paragraphs | array | A list of paragraphs. | |
paragraphs[0].paragraphId | String | Paragraph ID | 16987422100275***** |
paragraphs[0].speakerId | String | The speaker ID. | 1 |
paragraphs[0].words | array | A list of words. | |
paragraphs[0].words[0].id | int | The word ID. | 10 |
paragraphs[0].words[0].sentenceId | int | The sentence ID. | 1 |
paragraphs[0].words[0].start | int | The start time in milliseconds. | 4970 |
paragraphs[0].words[0].end | int | The end time in milliseconds. | 5560 |
paragraphs[0].words[0].text | String | The word text. | Hello, |
Parsing protocol for output.translationsPath
The outermost layer is an Object with the following fields:
Parameter | Type | Description |
|---|---|---|
paragraphs | list[] | A collection of translation results organized by paragraph. This corresponds to the speech recognition result message. |
paragraphs.paragraphId | string | The paragraph ID. This corresponds to the ParagraphId in the speech recognition result. |
paragraphs.sentences | list[] | A collection of translated sentences. |
paragraphs.sentences[i].sentenceId | long | The sentence ID. |
paragraphs.sentences[i].start | long | The start time of the segment relative to the beginning of the audio. This is a relative timestamp in milliseconds. |
paragraphs.sentences[i].end | long | The end time of the segment relative to the beginning of the audio. This is a relative timestamp in milliseconds. |
paragraphs.sentences[i].text | string | The translated text. This corresponds to the speech recognition result message. |
Parsing protocol for output.autoChaptersPath
The outermost layer is an array with the following fields:
Parameter | Type | Description |
|---|---|---|
[i].id | int | The ordinal number of the chapter. |
[i].start | long | The start time of the chapter relative to the beginning of the audio. This is a relative timestamp in milliseconds. |
[i].end | long | The end time of the chapter relative to the beginning of the audio. This is a relative timestamp in milliseconds. |
[i].headline | string | A one-sentence title for the chapter. |
[i].summary | string | The chapter summary. |
Parsing protocol for output.summarizationPath
The root element is an object that contains the following fields:
Parameter | Type | Description |
|---|---|---|
paragraphSummary | string | The full-text summary result. The at sign and hash (
|
conversationalSummary | list[] | A list of speaker summary results. |
conversationalSummary[i].speakerId | string | The speaker ID. |
conversationalSummary[i].speakerName | string | The speaker name. |
conversationalSummary[i].summary | string | The summary for the speaker. |
questionsAnsweringSummary | list[] | A list of Q&A review summary results. |
questionsAnsweringSummary[i].question | string | The question. |
questionsAnsweringSummary[i].sentenceIdsOfQuestion | list[] | A list of SentenceIds from the original Automatic Speech Recognition (ASR) transcription that correspond to the question. |
questionsAnsweringSummary[i].answer | string | The answer to the question. |
questionsAnsweringSummary[i].sentenceIdsOfAnswer | list[] | A list of SentenceIds from the original ASR transcription that correspond to the answer. |
mindMapSummary | list[] | A list of mind map results. |
mindMapSummary[i].title | string | The text content of a single node in the mind map. |
mindMapSummary[i].beginTime | int | The timestamp of a single mind map node relative to the start time, in milliseconds. This field exists only in leaf nodes. |
mindMapSummary[i].topic | list[] | A list of child nodes for a single mind map node. |
Parsing protocol for output.meetingAssistancePath
The root element is an object with the following fields:
Parameter | Type | Description |
|---|---|---|
keywords | list[] | The extracted keywords. |
actions | list[] | A collection of action items and action item summaries. |
actions[i].id | long | The ordinal number of the action item. |
actions[i].sentenceId | long | The ID of the corresponding sentence in the original ASR transcription. |
actions[i].start | long | The start time relative to the beginning of the audio. This is a relative timestamp in milliseconds. |
actions[i].end | long | The end time relative to the beginning of the audio. This is a relative timestamp in milliseconds. |
actions[i].text | string | The content of the action item. |
classifications | object | The scenario classification. Currently, there are three scenario categories. |
classifications.interview | float | The confidence score for the interview scenario. |
classifications.lecture | float | The confidence score for the lecture scenario. |
classifications.meeting | float | The confidence score for the meeting scenario. |
Parsing protocol for output.pptExtractionPath
The root element is an object. Its fields are described below:
Parameter | Type | Description |
|---|---|---|
availableForSummary | boolean | Indicates whether a PPT summary text exists. A value of false means no PPT summary result is available. A value of true means at least one is available. |
keyFrameList | list[] | A list of PPT results, including PPT images and summary text. |
keyFrameList[i].id | long | The ordinal number. |
keyFrameList[i].start | long | The start time relative to the beginning of the audio. This is a relative timestamp in milliseconds. |
keyFrameList[i].end | long | The end time relative to the beginning of the audio. This is a relative timestamp in milliseconds. |
keyFrameList[i].fileUrl | string | The generated PPT image result. This is an HTTP download link. |
keyFrameList[i].summary | string | The corresponding PPT summary. |
Parsing protocol for output.textPolishPath
The root element is an array that contains the following fields:
JSON field | Type | Description |
|---|---|---|
[i].formalParagraphText | string | The polished text result, converted from spoken to written language. |
[i].sentenceIds | list | A list of SentenceIds corresponding to the polished content. |
[i].paragraphId | string | The paragraph ID of the text result. This corresponds to the paragraph ID in the speech recognition result. |
[i].start | long | The start time of the text result in the original audio. This is a relative timestamp in milliseconds. |
[i].end | long | The end time of the text result in the original audio. This is a relative timestamp in milliseconds. |
Parsing protocol for output.customPromptPath
The root element is an array that contains the following fields:
JSON field | Type | Description |
[i].name | string | The dataId corresponding to the task. |
[i].result | string | The result returned by the large model. |
[i].truncated | boolean | Indicates whether the result was truncated. |