Runtype’s /now flow is backed by public JSON import endpoints. You can use them to preview a product architecture from a hosted JSON file or pasted JSON, then create the product once the preview looks correct.
Raw FPO documents and FPO templates currently require version: "1.0". Templates also require productObject.version: "1.0".
The import APIs support explicit JSON sources only:
The following are intentionally unsupported:
GitHub URLs are supported only when they point to a specific JSON file. github.com/.../blob/... URLs and raw GitHub file URLs are normalized automatically before fetch. Gists must use a raw gist file URL that points to one concrete JSON file.
The import flow has three steps:
POST /v1/quick-start/imports/previewGET /v1/quick-start/imports/:tokenPOST /v1/quick-start/createPreview endpoints are public. Product creation requires authentication.
Use a URL source when you want /now or your own app to preview a public JSON file directly.
Use a JSON source when you already have the document in memory and do not want to host it first.
Preview responses return an importToken. Use it to restore the same preview after an auth redirect or page refresh.
Preview sessions currently expire after 30 minutes. If the token is missing or expired, the API returns SESSION_NOT_FOUND.
Use the import token to create the product after the preview is accepted.
For raw FPO imports:
For FPO template imports, pass the variable values collected from your UI:
Secret template values are used to resolve the final product object, but they are not stored in preview payloads, quick-start provenance metadata, or the create response.
For repository buttons, link directly to a hosted JSON document:
The hosted example files used in this guide live at:
docs/templates/quick-start/customer-support-fpo.jsondocs/templates/quick-start/customer-support-fpo-template.jsondocs/templates/quick-start/deploy-to-runtype.md