Transcription
Add segments
Transcription
Add segments
Add new segments to existing project transcription.
POST
/
v2
/
projects
/
{project_id}
/
transcription
/
segments
curl --request POST \
--url https://api.rask.ai/v2/projects/{project_id}/transcription/segments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>"
}
]
}'
{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>",
"id": "<string>",
"status": "processing"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
List of segments to add to the existing project transcription
Segment start time. Must be valid HH:MM:SS,mmm
timestamp
Segment end time. Must be valid HH:MM:SS,mmm
timestamp
Speaker identifier. Must be specified in SPEAKER_XX
format (case-sensitive), where XX
corresponds to Speaker's index, starting with 00.
Response
200
application/json
Added transcription segments
List of segments
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
Available options:
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.
curl --request POST \
--url https://api.rask.ai/v2/projects/{project_id}/transcription/segments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>"
}
]
}'
{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>",
"id": "<string>",
"status": "processing"
}
]
}