Skip to content

Should an API dashboard show upload complete when a video is still being validated?

Use labels that distinguish the receipt of data from the media becoming eligible for a generation request. A server can have the source bytes before confirming format, duration or another constraint.

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

Show a stage-specific status

Record that the media was received, then wait for the documented response or validation result before showing that the source is ready. Include a clear error if intake fails.

Test the transition offline

Simulate an accepted upload followed by an unsupported-duration failure. Make sure the user sees the correct stage and a usable correction path, with no empty job row marked ready.

Example

A transfer bar reaches 100 percent. The exported video still contains an extra tail that makes it fail the duration check.

Pass condition

The UI offers generation only once the exact input has been validated according to the provider's contract.

Sources

One task. A recoverable workflow.

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

Open API documentation