get-translation-jobs-job-id

Check the progress of a translation job

Returns the latest counts and status for a job started with POST /translation.

Job state is held in memory for recent jobs and is cleared if the translation service restarts.

Authentication

Authorization: Bearer <workos_access_token>.

Path parameters

ParameterDescription
job_idThe job_id returned by POST /translation

Response 200 OK

The same job object as POST /translation. When status is completed_with_errors, check translations_failed and error.

{
  "job_id": "00000000-0000-0000-0000-000000000001",
  "status": "running",
  "translations_scheduled": 24,
  "translations_completed": 10,
  "translations_failed": 0
}

Example

curl "$MEDIAN_API_URL/translation-jobs/$JOB_ID" \
  -H "Authorization: Bearer $TOKEN"

Errors

StatusCause
401Missing or invalid token
404Unknown job, or the service restarted since it ran