Get a run
curl --request GET \
--url https://api.reedapt.com/v1/runs/{run_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.reedapt.com/v1/runs/{run_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.reedapt.com/v1/runs/{run_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "run_4f1a9c2e7b3d5a8c0e6f1b2d",
"dub_id": "<string>",
"status": "done",
"request": "<string>",
"reply": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"object": "run",
"proposal": {
"kind": "changes",
"summary": "<string>",
"lines": 123
},
"options": [
{
"id": "apply",
"label": "<string>"
}
],
"applied_lines": 123
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}Get a run
GET
/
runs
/
{run_id}
Get a run
curl --request GET \
--url https://api.reedapt.com/v1/runs/{run_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.reedapt.com/v1/runs/{run_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.reedapt.com/v1/runs/{run_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "run_4f1a9c2e7b3d5a8c0e6f1b2d",
"dub_id": "<string>",
"status": "done",
"request": "<string>",
"reply": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"object": "run",
"proposal": {
"kind": "changes",
"summary": "<string>",
"lines": 123
},
"options": [
{
"id": "apply",
"label": "<string>"
}
],
"applied_lines": 123
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}Authorizations
Response
Successful Response
A request handed to Reedapt's dubbing agent, and where it got to.