Control routing and fallbacks
Call a workspace preset, give requests backup models, and set provider routing rules in the request body.
Lessons
- Use a preset
Referencing
@preset/slugs and overriding parameters per request.Lesson 1, 7 min - Keep working when a model fails
Configuring backup
modelsarrays and fallback billing.Lesson 2, 7 min - Control provider routing in requests
Passing the
providerobject in requests (sort,order,only,ignore,allow_fallbacks,zdr).Lesson 3, 9 min