KintsugiKintsugi
API reference / Get a download link for an import's error artifact

Get a download link for an import's error artifact

GET/imports/{import_id}/error-file

Return download instructions for the validation or import error artifact. Pass phase=import for row-processing errors; validation errors are the default.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Organization-Idstring

Narrow the request to one organization (Organization-Id selector).

Connection-Idstring

Narrow the request to a connection's organization.

Entity-Idstring

Narrow the request to a platform entity's organization.

Entity-Sourcestring

Optional source to disambiguate an Entity-Id.

Path parameters

import_idstringRequired

The unique identifier of the import.

Query

Every query parameter below is optional. Combine as many as you need and append them to the endpoint as a query string. The example shows a few to get you started.

/imports/{import_id}/error-file?phase=<phase>
phasestring

'validation' (default) or 'import'.

Response

downloadUrlstringRequired

Presigned URL to download the error artifact. Empty when the bytes are returned inline instead.

expiresInSecondsintegerRequired

How long downloadUrl stays valid, in seconds. 0 when downloadUrl is empty.

inlineContentBase64string

Base64-encoded error artifact bytes, present only when downloadUrl is empty.

200

Successful Response

400

The request was invalid.

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

422

The request failed validation.

cURL
GET /imports/{import_id}/error-file?phase={phase}
-H "Api-Key: ***"
-H "Api-Version: 2026-07-21"
Example request
https://api.trykintsugi.com/imports/{import_id}/error-file?phase={phase}
Response
{
"downloadUrl": "https://www.example.com",
"expiresInSeconds": 1,
"inlineContentBase64": "inline content base64"
}
Get a download link for an import's error artifact (2026-07-21) | Kintsugi API Reference