Skip to content

How do I combine two providers' video job statuses in one dashboard without showing false success?

Define your own display states based on guarantees you've checked for each supplier. A provider may report that generation has completed before your app has verified a downloadable result. Keep the provider's original status in the diagnostic record so you can tell where a failure occurred.

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

Map leaf states to actions

For each supplier, name when you can poll, when failure is final, and when you can fetch media. Add a separate “result ready to deliver” state after your download check.

Exercise the mapping offline

Feed one example of a queued job, a completed job with a good asset and a nominally completed job with a missing asset. Verify that only the first two use their expected user-visible states.

Example

Provider A returns a completed task with a URL that still needs credentials. Provider B returns a ready file through its documented download endpoint. Your review screen can say “generated, retrieving file” in the first case until verification.

Pass condition

A failed or missing delivery never appears as a completed customer handoff solely because for one vendor a status label reads “completed.”

Sources

One task. A recoverable workflow.

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

Open API documentation