Import Strategy
Frictionless import: paste a strategy (Pine / Python / plain English) → a runnable Quantradin spec. Returns {spec, defaults_applied, mapping_notes, validation, source_type, label}. 503 when AI is off/unconfigured; 429 over the rate cap; 422 on an unknown source_type.
Order is fixed: intake guard FIRST (a manipulation / illegal / reckless / injection / guaranteed-returns request is refused here, before the LLM is asked to translate anything — the safety floor never depends on the model), THEN a source-type-aware AI translation, THEN suggest_defaults fills the safe blanks, THEN validate_spec runs. The engine alone grades — this route only drafts + validates the spec.
GUEST-FRIENDLY: converting is the home funnel, so a logged-OUT visitor may call it (per-IP rate-capped); logged-in callers use the per-user gate. The intake safety guard runs first either way. Running/saving/deploying still needs signup.
Request
- Base URL: https://api.quantradin.com (the document declares no server; this is the origin it was published from)
- URL: https://api.quantradin.com/v1/strategies/import
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.