get_import
Get an import from import_asset: running, succeeded with the asset it made, or failed with why. Over MCP, while it runs, this waits up to 45 seconds for it to finish before answering: if it's still running, call again right away, with no pause.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"import_id": "<import_id>"
},
"name": "get_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| import_id | Yes | The import, from import_asset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | `imp_…`. | |
| url | Yes | Where it downloads the file from. | |
| name | Yes | The asset it makes. | |
| asset | No | The asset, once it has succeeded. | |
| error | No | Why it failed. | |
| status | Yes | `running`, `succeeded` or `failed`. | |
| created_at | Yes | RFC 3339. | |
| updated_at | Yes | RFC 3339: when its status last changed. |