Translate this call transcript to English (cached after first run)
curl --request POST \
--url https://api.pineyard.ai/calls/{id}/transcript-translation \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/calls/{id}/transcript-translation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/calls/{id}/transcript-translation"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"lang": "<string>",
"alreadyEnglish": true,
"turns": [
{
"role": "<string>",
"text": "<string>"
}
]
}Calls
Translate this call transcript to English (cached after first run)
POST
/
calls
/
{id}
/
transcript-translation
Translate this call transcript to English (cached after first run)
curl --request POST \
--url https://api.pineyard.ai/calls/{id}/transcript-translation \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/calls/{id}/transcript-translation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/calls/{id}/transcript-translation"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"lang": "<string>",
"alreadyEnglish": true,
"turns": [
{
"role": "<string>",
"text": "<string>"
}
]
}Required scope:
calls.view, and API keys additionally need calls.edit.
