POST
/
v1
/
sources
/
curl --request POST \
  --url https://api.rask.ai/v1/sources/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "provider_type": "http",
  "title": "<string>",
  "transcription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "uri": "<string>"
}'
{
  "created": "2023-11-07T05:31:56Z",
  "detected_language": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "language": "<string>",
  "provider": "youtube",
  "provider_uri": "<string>",
  "status": "deleted",
  "title": "<string>",
  "transcript_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
headerrequired

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

Body

provider_type
enum<string>
default: http
Available options:
http,
youtube
title
string | null
transcription_id
string | null
uri
string
required

Response

201 - application/json
created
string
required
detected_language
string | null
required
id
string
required
language
string | null
required
provider
enum<string>
required
Available options:
youtube,
http,
upload
provider_uri
string | null
required
status
enum<string>
required
Available options:
deleted,
pending,
processing,
processed,
uploaded,
uploading,
upload_failed,
processing_failed
title
string
required
transcript_id
string | null
updated
string | null
required
user_id
string
required