Docs

API reference · DNS

List the zone's record imports, newest first

GET/v1/orgs/{org}/zones/{zone}/dns/imports
Permission
dns.records.read
Operation
dns.imports.list

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
zonepathstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
limitqueryintegerno1 to 100; default 50
cursorquerystringno0 to 200 characters
x-obhut-management-assignmentheaderstringnoSelect one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q"

Response 200

FieldTypeRequiredNotes
itemsarray of objectyes
items[].idstringyesfor example "import_01h455vb4pex5vsknk084sn02q"
items[].zoneIdstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
items[].sourcestringyesone of "nameservers", "zonefile"
items[].methodstring or nullyes
items[].statusstringyesone of "queued", "running", "ready", "failed"
items[].completebooleanyes
items[].stoppedEarlybooleanyes
items[].nameserversarray of stringyes
items[].failurestring or nullyes
items[].createdAtstring (date-time)yesUTC, ISO 8601.
items[].finishedAtstring (date-time) or nullyes
items[].appliedAtstring (date-time) or nullyes
items[].candidateCountintegeryes0 to ∞
items[].skippedCountintegeryes0 to ∞
nextCursorstring or nullyes