Skip to content

What should my app show if I cancel a local queue item before it reaches the video API?

Show whether cancellation happened before dispatch. A local queue item canceled before send is different from a submitted provider job whose outcome still needs reconciliation.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Keep a dispatch record

Record whether an authenticated request actually left your system. Release only your own local reservation when you know it was never sent.

Handle uncertainty separately

If a worker may have sent it, use the stored request or job identity to reconcile state and credit. Avoid claiming that a local cancel stopped provider processing.

Test an injected delay

Cancel before and after dispatch in the mock worker and compare actions.

Pass condition

The status accurately identifies what was canceled and never silently voids a real or unresolved charge.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation