Get latest completed export job
Retrieve the most recent completed export job of a destination. A failed or running job never replaces it, so you always get the last good snapshot. integration_id is optional when the organization has exactly one connected destination. Returns 404 when the destination has no completed export.
Authorizations
Response
OK
Sanitized view of an export job. Infra fields (s3_key, crawler/ETL jobs) are never included.
Link to download the .tar.gz archive. It is set only on a completed job of a parquet_archive destination. The link is valid for a limited time, so request the job again when you need a new link. Do not store the link. It is null when the job completed more than 30 days ago, because the archive is then deleted. A caller with access to only some companies gets no link, because the archive holds every company of the organization.