会議記録
会議記録のエンドポイントを使用すると、システムから会議の作成、音声ファイルのインポートと文字起こし、文字起こしと要約の取得、ナレッジベースへの文字起こしの保存ができます。音声ファイルをインポートする前に、POST /api/v1/upload-presigned-url/(modelName は meeting-record、fieldName は audio)を使用してファイルをアップロードしてください。詳しくは添付ファイルとファイルをご覧ください。機能の説明はユーザーマニュアルの会議記録をご覧ください。
会議記録の一覧を取得
GET /api/v1/meeting-records/
パラメータ
endDate
❌
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
query
❌
startDate
❌
status
❌
string
`uploading`: Uploading ; `pending`: Pending ; `recording`: Recording ; `processing`: Processing ; `completed`: Completed ; `failed`: Failed;
コード例
# API 呼び出しの例 (Shell)
curl -X GET "https://api.maiagent.ai/api/v1/meeting-records/?endDate=example&page=1&pageSize=1&query=example&startDate=example&status=completed" \
-H "Authorization: Api-Key YOUR_API_KEY"
# 実行前に YOUR_API_KEY を置き換え、リクエストデータを確認してください。const axios = require('axios');
// リクエストヘッダーを設定します
const config = {
headers: {
'Authorization': 'Api-Key YOUR_API_KEY'
}
};
axios.get("https://api.maiagent.ai/api/v1/meeting-records/?endDate=example&page=1&pageSize=1&query=example&startDate=example&status=completed", config)
.then(response => {
console.log('レスポンスを取得しました:');
console.log(response.data);
})
.catch(error => {
console.error('リクエストでエラーが発生しました:');
console.error(error.response?.data || error.message);
});レスポンスボディ
ステータスコード: 200
レスポンス構造の例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
会議記録を作成
POST /api/v1/meeting-records/
リクエストボディ
リクエストパラメータ
sttContext
string
いいえ
sttContextLlmId
string (uuid)
いいえ
eventContext
object
いいえ
meetingRecordSttProviderId
string (uuid)
いいえ
enableTranslation
boolean
いいえ
targetLanguages
array[string]
いいえ
Target language codes for live transcript translation.
translationLlmId
string (uuid)
いいえ
knowledgeBaseId
string (uuid)
いいえ
meetingName
string
はい
participants
object
いいえ
List of meeting participants
durationSeconds
number (double)
いいえ
status
string (enum: uploading, pending, recording, processing, completed, failed)
いいえ
uploading: Uploading ; pending: Pending ; recording: Recording ; processing: Processing ; completed: Completed ; failed: Failed;
sourceLanguages
object
いいえ
Source languages for transcription
translationInputTokens
integer (int64)
いいえ
Cumulative LLM input tokens consumed by realtime translation. Atomically incremented per translate() call; settled at egress completion.
translationOutputTokens
integer (int64)
いいえ
Cumulative LLM output tokens consumed by realtime translation.
deletedAt
string (timestamp)
いいえ
translationLlm
string (uuid)
いいえ
LLM model to use for translation when enabled
リクエスト構造の例
リクエスト値の例
コード例
レスポンスボディ
ステータスコード: 201
レスポンス構造の例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
特定の会議記録の取得
GET /api/v1/meeting-records/{id}/
パラメータ
id
✅
string
A UUID string identifying this Meeting Record.
コード例
レスポンスボディ
ステータスコード: 200
レスポンス構造の例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
会議記録の部分更新
PATCH /api/v1/meeting-records/{id}/
パラメータ
id
✅
string
A UUID string identifying this Meeting Record.
リクエストボディ
リクエストパラメータ
sttContext
string
いいえ
sttContextLlmId
string (uuid)
いいえ
eventContext
object
いいえ
meetingRecordSttProviderId
string (uuid)
いいえ
enableTranslation
boolean
いいえ
targetLanguages
array[string]
いいえ
Target language codes for live transcript translation.
translationLlmId
string (uuid)
いいえ
knowledgeBaseId
string (uuid)
いいえ
meetingName
string
いいえ
participants
object
いいえ
List of meeting participants
durationSeconds
number (double)
いいえ
status
string (enum: uploading, pending, recording, processing, completed, failed)
いいえ
uploading: Uploading ; pending: Pending ; recording: Recording ; processing: Processing ; completed: Completed ; failed: Failed;
sourceLanguages
object
いいえ
Source languages for transcription
translationInputTokens
integer (int64)
いいえ
Cumulative LLM input tokens consumed by realtime translation. Atomically incremented per translate() call; settled at egress completion.
translationOutputTokens
integer (int64)
いいえ
Cumulative LLM output tokens consumed by realtime translation.
deletedAt
string (timestamp)
いいえ
translationLlm
string (uuid)
いいえ
LLM model to use for translation when enabled
リクエスト構造の例
リクエスト値の例
コード例
レスポンスボディ
ステータスコード: 200
レスポンス構造の例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
会議記録を削除
DELETE /api/v1/meeting-records/{id}/
パラメータ
id
✅
string
A UUID string identifying this Meeting Record.
コード例
レスポンスボディ
204
No response body
4XX
Error response; X-Error-Code carries its code (see "Error codes").
音声ファイルをインポートして文字起こしを開始
POST /api/v1/meeting-records/import-audio/
リクエストボディ
リクエストパラメータ
sttContext
string
いいえ
sttContextLlmId
string (uuid)
いいえ
offlineTranscriptProviderId
string (uuid)
はい
asrOptions
object
いいえ
Nested ASR selection shared by every ASR entry point: languages (at least one), provider payload keys governed by the provider row request_option_specs contract, and the diarization selection (source ...
meetingName
string
はい
audioFilePath
string
はい
clientSurface
object
いいえ
Client uploading the audio. Omitting it stays unknown instead of claiming web. unknown: Unknown ; web: Web ; desktop: Desktop;
リクエスト構造の例
リクエスト値の例
コード例
レスポンスボディ
ステータスコード: 202
レスポンス構造の例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
会議の文字起こしを取得(JSON)
GET /api/v1/meeting-records/{id}/transcript/
パラメータ
id
✅
string
A UUID string identifying this Meeting Record.
コード例
レスポンスボディ
ステータスコード: 200
レスポンススキーマの例
レスポンスの値の例
ステータスコード: 400 - No response body
会議サマリー一覧を取得
GET /api/v1/meeting-records/{meetingRecordPk}/summaries/
パラメータ
meetingRecordPk
✅
string
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
コード例
レスポンス
ステータスコード: 200
レスポンス構造の例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
会議サマリーを生成
POST /api/v1/meeting-records/{meetingRecordPk}/summaries/generate/
パラメータ
meetingRecordPk
✅
string
リクエストボディ
リクエストパラメータ
transcriptOptimizationId
string (uuid)
いいえ
Optional re-transcribed pass to summarize, from GET /meeting-records/{id}/transcript-optimizations/; it must be completed and belong to this meeting. Omit it to summarize the meeting's own transcript.
chatbotId
string (uuid)
いいえ
Optional summary agent; when set, the agent generates the summary itself, reading the transcript through the transcript-reading tool.
largeLanguageModelId
string (uuid)
いいえ
Optional LLM override for the base (no-agent) mode; mutually exclusive with chatbot_id, whose agent always uses its own configured model.
knowledgeBaseIds
array[string]
いいえ
Optional RBAC-filtered knowledge base ids for the base (no-agent) mode; mutually exclusive with chatbot_id, whose agent always uses its own configured knowledge bases.
customInstructions
string
いいえ
Optional extra instructions appended to the built-in summary prompt.
clientPlatform
object
いいえ
Client platform triggering this generation; stamped on the summary conversation. web: Web ; desktop: Desktop;
リクエスト構造の例
リクエスト値の例
コード例
レスポンス
ステータスコード: 200
レスポンス構造の例
レスポンス値の例
ステータスコード: 202
レスポンス構造の例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
特定の会議サマリーを取得
GET /api/v1/meeting-records/{meetingRecordPk}/summaries/{id}/
パラメータ
id
✅
string
meetingRecordPk
✅
string
コード例
レスポンス
ステータスコード: 200
レスポンス構造の例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
文字起こしをナレッジベースにアップロード
POST /api/v1/meeting-records/{id}/upload-transcript/
パラメータ
id
✅
string
A UUID string identifying this Meeting Record.
リクエスト内容
リクエストパラメータ
knowledgeBaseId
string (uuid)
いいえ
Knowledge base ID to upload transcript to. If not provided, uses existing knowledge base.
リクエストスキーマの例
リクエストの例
コード例
レスポンス内容
202
No response body
400
No response body
404
No response body
SRT 字幕ファイルをダウンロード
GET /api/v1/meeting-records/{id}/download-srt/
パラメータ
id
✅
string
A UUID string identifying this Meeting Record.
コード例
レスポンス内容
ステータスコード: 200 - SRT 字幕ファイルの内容
レスポンススキーマの例
レスポンスの例
ステータスコード: 400 - No response body
MP3 音声ファイルをダウンロード
GET /api/v1/meeting-records/{id}/download-mp3/
パラメータ
id
✅
string
A UUID string identifying this Meeting Record.
コード例
レスポンス内容
ステータスコード: 200
レスポンススキーマの例
レスポンスの例
ステータスコード: 400 - No response body
最終更新
役に立ちましたか?