AI engineering glossary · Web APIs HTTP

What is retry?

Retry: Sending a failed request again, in the hope that a temporary fault has cleared. Sensible clients retry only transient errors such as timeouts, 429 or 5xx, limit the attempts and wait between them.

Level: intermediateTopic: Web APIs HTTP

Retry: an example

A script retries a call up to 3 times when it receives 503 but never retries a 400.

Related terms

More Web APIs HTTP terms

Where you learn it

Retry is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.