Import calls from a raw ZIP export
Calls
Import calls from a raw ZIP export
Accepts a multipart/form-data upload of a ZIP archive produced by /call/export-raw. Phase A inserts bundled workflows/agents/versions (ON CONFLICT DO NOTHING, flagged is_imported) so imported calls preserve their call → agent → workflow → version FK chain inside the target workspace. Phase B creates calls (flagged is_imported), uploads recordings to the target workspace S3 path, and inserts related tags/feedbacks/assertion results. Workspace-scoped; requires the calls:import permission.
POST
Import calls from a raw ZIP export
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.