Get a single transcription source
curl --request GET \
--url https://api.scripe.io/v1/sources/{sourceId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scripe.io/v1/sources/{sourceId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.scripe.io/v1/sources/{sourceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scripe.io/v1/sources/{sourceId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.scripe.io/v1/sources/{sourceId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.scripe.io/v1/sources/{sourceId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scripe.io/v1/sources/{sourceId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "src_a1b2c3d4e5f6g7h8",
"projectId": "<string>",
"status": "Done",
"durationSeconds": 123,
"createdAt": "2023-11-07T05:31:56Z",
"textPreview": "<string>",
"textPreviewTruncated": true,
"hasFullText": true,
"name": "<string>",
"fileType": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"topics": [
{
"id": "tpc_a1b2c3d4e5f6g7h8",
"title": "<string>",
"summary": "<string>",
"keyTakeaways": [
"<string>"
],
"ranking": 123,
"score": 123,
"fromSeconds": 123,
"toSeconds": 123,
"hooks": [
{
"id": "hk_a1b2c3d4e5f6g7h8",
"content": "<string>",
"postType": "<string>",
"contentType": "<string>"
}
]
}
]
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"request_id": "req_a1b2c3d4e5f6",
"docs_url": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"request_id": "req_a1b2c3d4e5f6",
"docs_url": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"request_id": "req_a1b2c3d4e5f6",
"docs_url": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"request_id": "req_a1b2c3d4e5f6",
"docs_url": "<string>",
"details": "<unknown>"
}
}Sources
Get a single transcription source
Returns the source row plus a 2000-character text preview. The full transcript is intentionally never exposed via the public API. S3 storage keys are stripped from the response.
GET
/
sources
/
{sourceId}
Get a single transcription source
curl --request GET \
--url https://api.scripe.io/v1/sources/{sourceId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scripe.io/v1/sources/{sourceId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.scripe.io/v1/sources/{sourceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scripe.io/v1/sources/{sourceId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.scripe.io/v1/sources/{sourceId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.scripe.io/v1/sources/{sourceId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scripe.io/v1/sources/{sourceId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "src_a1b2c3d4e5f6g7h8",
"projectId": "<string>",
"status": "Done",
"durationSeconds": 123,
"createdAt": "2023-11-07T05:31:56Z",
"textPreview": "<string>",
"textPreviewTruncated": true,
"hasFullText": true,
"name": "<string>",
"fileType": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"topics": [
{
"id": "tpc_a1b2c3d4e5f6g7h8",
"title": "<string>",
"summary": "<string>",
"keyTakeaways": [
"<string>"
],
"ranking": 123,
"score": 123,
"fromSeconds": 123,
"toSeconds": 123,
"hooks": [
{
"id": "hk_a1b2c3d4e5f6g7h8",
"content": "<string>",
"postType": "<string>",
"contentType": "<string>"
}
]
}
]
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"request_id": "req_a1b2c3d4e5f6",
"docs_url": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"request_id": "req_a1b2c3d4e5f6",
"docs_url": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"request_id": "req_a1b2c3d4e5f6",
"docs_url": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"request_id": "req_a1b2c3d4e5f6",
"docs_url": "<string>",
"details": "<unknown>"
}
}Authorizations
Pass Authorization: Bearer scripe_sk_live_<...> (or
scripe_sk_test_<...> for test keys) on every request. Keys
are scoped to a single workspace and can be revoked from the
Scripe dashboard.
Headers
Pin the API version. Format YYYY-MM-DD. Omit to receive the
currently rolling default. Unknown versions return 400 version_unsupported.
Example:
"2026-08-01"
Path Parameters
Example:
"src_a1b2c3d4e5f6g7h8"
Response
Source found.
Show child attributes
Show child attributes
⌘I