Create Route
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
Hosted API id (prefixed external id, api_...).
Headers
Request
Lowercase segments of letters, digits, . _ - or a {param}; /openapi.json and /_runs are reserved.
What answers a route. type selects the fields that apply:
store_query (store_id, collection, where, order_by, limit),
store_document (store_id, collection, document_id),
run_latest (trigger_id of a schedule trigger),
run (trigger_id of a webhook trigger, wait_seconds).
Response headers
Response
What answers a route. type selects the fields that apply:
store_query (store_id, collection, where, order_by, limit),
store_document (store_id, collection, document_id),
run_latest (trigger_id of a schedule trigger),
run (trigger_id of a webhook trigger, wait_seconds).
Cache-Control max-age on GET responses; 0 disables caching.