curl --request GET \
--url https://api.noonum.ai/v2/strategies/{strategyId}/versions/{versionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/strategies/{strategyId}/versions/{versionId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/strategies/{strategyId}/versions/{versionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/strategies/{strategyId}/versions/{versionId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"strategy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective": "<string>",
"exclusions": [
"<string>"
],
"waivers": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"is_active": true,
"status": 123,
"completed": true,
"has_factsheet": true,
"factsheet_status": "ready",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"as_of_date": "2023-12-25",
"latest_run_date": "2023-12-25",
"runs_count": 123
}Retrieve a version and its run state
Returns the version’s metadata and run state. Without asOfDate, the response reports the version’s overall state, meaning the status of its most recent run along with latest_run_date and runs_count. With asOfDate, the response reports the state of the run on that date, and the overall fields are null.
curl --request GET \
--url https://api.noonum.ai/v2/strategies/{strategyId}/versions/{versionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/strategies/{strategyId}/versions/{versionId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/strategies/{strategyId}/versions/{versionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/strategies/{strategyId}/versions/{versionId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"strategy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective": "<string>",
"exclusions": [
"<string>"
],
"waivers": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"is_active": true,
"status": 123,
"completed": true,
"has_factsheet": true,
"factsheet_status": "ready",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"as_of_date": "2023-12-25",
"latest_run_date": "2023-12-25",
"runs_count": 123
}Authorizations
Path Parameters
Query Parameters
Response
The version's metadata and run state.
A saved version of a strategy together with its run state. When no as_of_date is supplied, the response summarizes the version overall and populates latest_run_date and runs_count. When an as_of_date is supplied, the response describes the run on that date, echoes as_of_date, and leaves the summary-only fields null.
Factsheet state of the completed run this payload describes: the run on as_of_date when one was supplied, else the latest completed run. Null when there is no such run. See FactsheetStatus for generating, not_requested and unavailable; ready means the PDF can be downloaded.
ready, generating, not_requested, unavailable