Create travel trip data and activities for reporting and analytics, and read back, or delete, what SQUAKE stored.
POST /v2/travel-data ingests trips and returns their emissions. The trip endpoints (/v2/travel-data/trips) then serve the stored records: a trip carries its own attributes and the IDs of its activities, and each activity carries its traveler and every calculation persisted for it — including the ones from additional methodologies, which the flat items array of a submission does not report.
To ingest travel data you need to have it enabled for your account — please contact us. Until then, POST /v2/travel-data and the CSV imports respond with 404 and error code travel_data_not_found. On the read endpoints that same response covers every miss: a trip that does not exist and a trip you cannot access are deliberately indistinguishable.