Skip to content

get_import

Poll an import job by job_id. Returns: job_id (str) — import job UUID; status (str) — current job state; target_workspace_id (str|null) — destination workspace; target_repo_name (str|null) — destination project; message (str) — status summary; error (str|null) — failure detail when present.

read-only · idempotent

NameTypeRequiredDefaultDescription
job_idAnnotated[str, Field(description='UUID of the import job to check.')]Yes

Returns a structured object. Top-level fields:

  • job_id (string)
  • status (string)
  • target_workspace_id (string)
  • target_repo_name (string)
  • message (string)

See the response example below for the full payload shape.

{
"name": "get_import",
"arguments": {
"job_id": "cccccccc-cccc-cccc-cccc-cccccccccccc"
}
}
{
"job_id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
"status": "success",
"target_workspace_id": "dddddddd-dddd-dddd-dddd-dddddddddddd",
"target_repo_name": "forecasts-imported",
"message": "Import completed."
}
  • Module: Imports
  • Requires authentication via API token or Auth0 JWT.