02 Wait For Plots And Capture Audit Task
โถStep 2: Wait for the ingest to finish โ and capture the create task
Poll GET /ingestions/{{fp_plot_task_id}} until its attributes carry
audit_trail_task_id. The fast path stamps that field the moment
the worker dispatches the auto-create task (just after the upload
reaches completed / completed_with_errors). That id is the only
handle you need to follow the rest of the chain โ there is no manual
POST /audit-trail in this workflow.
Captures {{fp_plot_audit_task}}.
If this step exhausts its poll budget (no
audit_trail_task_idever appears on acompletedtask), it means the worker reached the terminal but its fast-path dispatch failed and was swallowed server-side โ further polling won't help. Check the worker logs forfast-path audit-trail: dispatch failed. The create task is re-dispatched on the next ingest re-run (the pointer is persisted before dispatch), so it is not lost.
โ Step 3: Poll Plot Create Task.