For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • POSTCreate embeddings
      • POSTSpeech to text
      • POSTText to speech
      • GETRetrieve AssemblyAI transcript
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferenceMultimodal

Retrieve AssemblyAI transcript

GET
https://api.respan.ai/api/assemblyai/v2/transcript/:transcript_id
GET
/api/assemblyai/v2/transcript/:transcript_id
$curl https://api.respan.ai/api/assemblyai/v2/transcript/transcript_id \
> -H "Authorization: Bearer sk_live_xxxxx" \
> -H "X-Assemblyai-Api-Key: X-Assemblyai-Api-Key" \
> -H "Content-Type: application/json"
1{
2 "id": "a1b2c3d4e5f67890123456789abcdef0",
3 "status": "completed",
4 "text": "Hello, this is a sample transcript from AssemblyAI.",
5 "words": [
6 {
7 "text": "Hello",
8 "start": 0,
9 "end": 500,
10 "confidence": 0.98
11 },
12 {
13 "text": "this",
14 "start": 501,
15 "end": 800,
16 "confidence": 0.95
17 },
18 {
19 "text": "is",
20 "start": 801,
21 "end": 900,
22 "confidence": 0.96
23 },
24 {
25 "text": "a",
26 "start": 901,
27 "end": 950,
28 "confidence": 0.97
29 },
30 {
31 "text": "sample",
32 "start": 951,
33 "end": 1300,
34 "confidence": 0.94
35 },
36 {
37 "text": "transcript",
38 "start": 1301,
39 "end": 1800,
40 "confidence": 0.93
41 },
42 {
43 "text": "from",
44 "start": 1801,
45 "end": 2100,
46 "confidence": 0.92
47 },
48 {
49 "text": "AssemblyAI.",
50 "start": 2101,
51 "end": 2600,
52 "confidence": 0.99
53 }
54 ]
55}
Retrieve an AssemblyAI transcript by ID. Proxied through Respan for logging.
Was this page helpful?
Previous

Create an API key

Next
Built with

Path parameters

transcript_idstringRequired
The AssemblyAI transcript ID to retrieve.

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

X-Assemblyai-Api-KeystringRequired
Your AssemblyAI API key for authentication with AssemblyAI services.

Response

Transcript details.
idstring
Transcript ID.
statusenum
Transcript status.
Allowed values:
textstring
Transcribed text.
wordslist of objects

Word-level details.

Errors

401
Unauthorized Error
404
Not Found Error