curl --request PATCH \
--url https://api.rask.ai/v2/projects/{project_id}/transcription/segments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"segments": [
{
"id": "<string>",
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>"
}
]
}
'{
"segments": [
{
"start": "<string>",
"end": "<string>",
"id": "<string>",
"status": "processing",
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>"
}
]
}Patch existing project transcription segments.
curl --request PATCH \
--url https://api.rask.ai/v2/projects/{project_id}/transcription/segments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"segments": [
{
"id": "<string>",
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>"
}
]
}
'{
"segments": [
{
"start": "<string>",
"end": "<string>",
"id": "<string>",
"status": "processing",
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Project ID
List of project transcriotion segments to update. Only the fields that need to be updated must be specified.
Show child attributes
Segment ID
Speaker identifier. Must be specified in SPEAKER_XX format (case-sensitive), where XX corresponds to Speaker's index, starting with 00.
Segment start time. Must be valid HH:MM:SS,mmm timestamp
Segment end time. Must be valid HH:MM:SS,mmm timestamp
Patched transcription segments
List of segments
Show child attributes
Segment start time. Must be valid HH:MM:SS,mmm timestamp
Segment end time. Must be valid HH:MM:SS,mmm timestamp
Segment ID
Segment status
processing, updated, done, error Speaker identifier. Must be specified in SPEAKER_XX format (case-sensitive), where XX corresponds to Speaker's index, starting with 00.