POST
/
v1
/
sources
/
{source_id}
/
outputs
/
curl --request POST \
  --url https://api.rask.ai/v1/sources/{source_id}/outputs/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "language": "<string>",
  "num_speakers": 1,
  "transcription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "created": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "language": "<string>",
  "source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending",
  "updated": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

source_id
string
required

Body

application/json
language
string
required
num_speakers
integer | null
transcription_id
string | null

Response

200 - application/json
created
string
required
id
string
required
language
string
required
source_id
string
required
status
enum<string>
required
Available options:
pending,
processing,
translated
updated
string | null
required