Skip to main content
GET
The blank template for a declared import.

Authorizations

Authorization
string
header
required

An API key issued with object_model scopes: Authorization: Bearer sk_…. The scopes: object_model:records:read, object_model:records:write, object_model:facts:read, object_model:facts:write, object_model:model:read, object_model:model:configure, object_model:actions:run, object_model:changes:read. An operation's security lists the scopes it needs; several entries mean any one of them will do. A person field (ref(user), ref_list(user)) holds a user id: look people up by email or id with GET /v1/users, outside this API, with a key that also has users:read.

Scopes

object_model:records:write
object_model:facts:write

Path Parameters

import_id
string
required

Response

Answered.

error
string

The file could not be read: the wrong format, a missing required heading, or too many rows.

inspection
object

With inspect: what the file holds, to map its columns.

invalidated_definitions
string[]

Figures whose values the import changes, by id.

issue_rows
object[]

The first rows with issues, in file order.

report
object

The blank template (with template), or a copy of the file marking each row's issues, for the app to download. This API can't download it yet: read issue_rows instead.

rows_with_issues
integer

How many rows have an issue or did not save. issue_rows lists the first of them.

saved
integer

Rows written (or replayed on a retry). An import with columns saves nothing unless every row passes; a tracker import saves each row on its own.

total_rows
integer

Data rows read from the file.

tracker
object

A tracker import's answer, in place of the issue rows: each row's match and changes, and the flags to answer in choices.