Strategy
Get a strategy by id, including its validation state
Reports that the strategy is registered — implied by a 200 at all — and what validating it found.
A 404 means one thing: no such registered strategy for this user. It is never a stale or expired answer; registration and verdict are stored durably, not cached.
get/strategy/{strategyId}
Request
- Base URL: https://api.qtsurfer.net/v1
- URL: https://api.qtsurfer.net/v1/strategy/{strategyId}
- Auth: HTTP bearer
Path parameters
strategyIdstring required
Unique identifier for a compiled strategy, derived from the source itself: the same code always yields the same id, for every caller. How much formatting the id ignores depends on the language — see POST /strategy for exactly which rewrites preserve it and which do not.
Example:6bsh31ikwkuivhtgcoa6s4
The id returned by POST /strategy
Response
Strategy state
Example response
{
"strategyId": "6bsh31ikwkuivhtgcoa6s4",
"validation": "passed",
"compiledAt": "2026-08-04T16:23:04Z",
"requiredSources": [
"Ticker"
],
"validatedAt": "2026-08-04T16:24:11Z",
"notices": [
{
"level": "WARN",
"code": "indicator.bar-data-on-ticker-path",
"message": "Indicator requires bar data but is on the ticker path",
"provenance": "compile-dry-run"
}
],
"_links": {
"code": {
"href": "/v1/strategy/6bsh31ikwkuivhtgcoa6s4/code"
}
}
}Changes
No operation changes recorded.