import requests
url = "http://localhost:3000/v1/transcription/{call_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_date": "2023-11-07T05:31:56Z",
"role": "user",
"content": "<string>",
"tool_call": {
"name": "<string>",
"arguments": {}
}
}
]Retrieve a specific transcription by ID.
import requests
url = "http://localhost:3000/v1/transcription/{call_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_date": "2023-11-07T05:31:56Z",
"role": "user",
"content": "<string>",
"tool_call": {
"name": "<string>",
"arguments": {}
}
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier for the call
Successful Response
The unique identifier for the message
The datetime when the message was created during the call
The role associated with the message. It can be assistant, user or tool.
user, assistant, tool The content of the message. That is, the message said by the user or the assistant.