Route Discovery
Endpoints
Route Discovery
Discover available post-upload processing routes
GET
Route Discovery
Overview
The route discovery endpoint returns a list of available API routes that can be called after a file upload completes. This allows integrations (like the WordPress plugin) to dynamically discover what processing options are available.This endpoint is public and does not require authentication. This allows clients to discover available routes before the user authenticates.
Request
Response
List of available post-upload processing routes
API version for the route schema (currently
1.0)Example Response
Usage
WordPress Plugin
The WordPress plugin uses this endpoint to populate the “Post-Upload Processing” settings field. Routes are cached for 1 hour using WordPress transients.JavaScript
Frontend integrations can fetch available routes to build dynamic UIs:Calling Discovered Routes
After discovering routes, call them with the file URL and delegation token:Caching Recommendations
- Cache duration: Routes rarely change, so cache for 1-24 hours
- Cache invalidation: Provide a manual refresh option for administrators
- Fallback: If the endpoint is unreachable, use a hardcoded default route list

