Skip to main content
GET
/
api
/
v1
/
dma
/
v2
/
projects
/
{project_id}
/
translate
/
jobs
/
{job_id}
Check status of a DMA translation job
curl --request GET \
  --url https://app.datafold.com/api/v1/dma/v2/projects/{project_id}/translate/jobs/{job_id} \
  --header 'Authorization: <api-key>'
{
  "status": "needs_confirmation",
  "task_id": "<string>",
  "translated_models": [
    {
      "asset_id": "<string>",
      "asset_name": "<string>",
      "translation_status": "no_translation_attempts",
      "datadiff_id": 123,
      "failure_summary": {
        "error_message": "<string>",
        "problem": "<string>",
        "reason": "max_iterations",
        "solution": "<string>",
        "location": "<string>"
      },
      "source_filename": "<string>",
      "source_sql": "<string>",
      "target_sql": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use the 'Authorization' header with the format 'Key '

Path Parameters

project_id
integer
required
job_id
string
required

Response

Successful Response

Response for translation task.

status
enum<string>
required
Available options:
needs_confirmation,
needs_authentication,
waiting,
processing,
done,
failed,
cancelled
task_id
string
required
translated_models
ApiTranslatedModel · object[] | null