Named type · one of 310 shapes of what is sent and answered
ForeignArchive
Each entry describes a backup archive from another control panel and its current status on the Import page.
First published 14 Oct 2026
0.2.0Unchanged since publicationUsed by 5 operations.
Fields
accountstring or nullUsername of the account created by the import.
changedbooleanWhether the file's size or modification time differs from the recorded value. If either differs, the saved inspection is stale and state is new.
choicesForeignArchiveChoicesThese options apply when inspecting or importing a tracked archive. They have the same meaning as in ForeignImportRequest.
dirstringDirectory containing the archive, given from the root of the reseller's home directory for reseller archives.
errorstring or nullReason the import failed.
idintegerimportobject or nullFull inspection response, including what the import would create and the check results. Only GET /foreign/archives/{id} returns this field.
jobobject or nullImport job details while the job record is available. Includes id, status, progress, step (the last line of the job log), started_at and finished_at, with error if the job failed.
mtimestringFile modification time in UTC.
namestringownerstring or nullReseller who owns the archive entry, or null for a server-level entry.
pathstringpresentbooleanWhether the archive file is still present.
read_atstring or nullread_errorstring or nullReason the most recent inspection failed.
seen_atstringsizeintegerCurrent file size in bytes, or the last recorded size if the file is missing.
statestring, one of new, read, unreadable, importing, imported, failedsummaryobject or nullSummary of the saved inspection. It includes ok, stops, installs and warnings, account details in name, old_name, package and owner, counts for domains, databases, skipped_databases, mailboxes, forwarders, certificates, ftp, cron_jobs and not_carried, and the archive's panel_version and hostname.
Used by
5 operationsGET/foreign/archivesList tracked hosting account archivesforeignPOST/foreign/archives/scanScan a directory for account archives or add a single archiveforeignGET/foreign/archives/{id}Get a tracked archive and its saved inspectionforeignPOST/foreign/archives/{id}/importQueue an import for a tracked archiveforeignPOST/foreign/archives/{id}/inspectInspect a tracked archive and save the reportforeign
Generated from release 0.2.35 (current) · API named typeThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/api/types/ForeignArchive/