PATCH
/
v2
/
projects
/
{project_id}
/
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": [
    {
      "src": {
        "text": "<string>",
        "lang": "<string>"
      },
      "dst": {
        "text": "<string>",
        "lang": "<string>"
      },
      "speaker": "<string>",
      "start": "<string>",
      "end": "<string>",
      "id": "<string>",
      "status": "processing"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Project ID

Body

application/json
segments
object[]
required

List of project transcriotion segments to update. Only the fields that need to be updated must be specified.

Response

200
application/json
Patched transcription segments
segments
object[]
required

List of segments