Skip to main content
GET
/
async-response
/
{response_id}
Get async operation result
curl --request GET \
  --url https://api.videodb.io/async-response/{response_id} \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "status": "done",
  "data": {}
}
Retrieves the results of long-running asynchronous operations such as transcoding, processing, or indexing. Use this endpoint to poll the status and final results of async requests that were initiated with a callback or that return a response ID.
import requests

response_id = "async-response-id-123"

response = requests.get(
    f"https://api.videodb.io/async-response/{response_id}",
    headers={"x-access-token": "your_api_key"}
)

result = response.json()
print(f"Status: {result.get('status')}")
print(f"Result: {result.get('result')}")
  • response_id is returned by async operations and included in the URL path
  • Check the status field to determine if processing is complete
  • Results are available once status is “completed” or “done”
  • Typical status values: “pending”, “processing”, “completed”, “failed”

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

response_id
string
required
Example:

"job-12345"

Response

Operation result

success
boolean
Example:

true

status
enum<string>
Available options:
processing,
done,
failed
Example:

"done"

data
object

Result data varies by operation type