cURL
curl --request POST \
--url https://tilt.io/api/v1/backchannel/scenarios/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"include_content": true,
"portfolio_weights": {},
"aggregate_scenarios": false,
"seen_image_ids": [
"<string>"
],
"seen_window": 123,
"viewer_user_id": "<string>"
}
'import requests
url = "https://tilt.io/api/v1/backchannel/scenarios/{id}"
payload = {
"include_content": True,
"portfolio_weights": {},
"aggregate_scenarios": False,
"seen_image_ids": ["<string>"],
"seen_window": 123,
"viewer_user_id": "<string>"
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
include_content: true,
portfolio_weights: {},
aggregate_scenarios: false,
seen_image_ids: ['<string>'],
seen_window: 123,
viewer_user_id: '<string>'
})
};
fetch('https://tilt.io/api/v1/backchannel/scenarios/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tilt.io/api/v1/backchannel/scenarios/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'include_content' => true,
'portfolio_weights' => [
],
'aggregate_scenarios' => false,
'seen_image_ids' => [
'<string>'
],
'seen_window' => 123,
'viewer_user_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://tilt.io/api/v1/backchannel/scenarios/{id}"
payload := strings.NewReader("{\n \"include_content\": true,\n \"portfolio_weights\": {},\n \"aggregate_scenarios\": false,\n \"seen_image_ids\": [\n \"<string>\"\n ],\n \"seen_window\": 123,\n \"viewer_user_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://tilt.io/api/v1/backchannel/scenarios/{id}")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"include_content\": true,\n \"portfolio_weights\": {},\n \"aggregate_scenarios\": false,\n \"seen_image_ids\": [\n \"<string>\"\n ],\n \"seen_window\": 123,\n \"viewer_user_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tilt.io/api/v1/backchannel/scenarios/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"include_content\": true,\n \"portfolio_weights\": {},\n \"aggregate_scenarios\": false,\n \"seen_image_ids\": [\n \"<string>\"\n ],\n \"seen_window\": 123,\n \"viewer_user_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"point_id": "<string>",
"headline": "<string>",
"date": "<string>",
"content": "<string>",
"publication_time": "<string>",
"tilt_source": "",
"importance_rating": 0,
"importance_rationale": "",
"generated_at": "",
"article_image_url": "<string>",
"fallback_image_id": "<string>",
"timeline": [],
"scenarios": [],
"subject_codes": [],
"subject_codes_original": [],
"prediction_markets": [],
"score": 123,
"tilt_asset_ids": [],
"securities": [],
"portfolio_exposure": {
"mad_pct": 123,
"expected_return_pct": 123,
"num_leaf_scenarios": 123,
"leaf_details": [
{
"path": [
"<string>"
],
"title": "<string>",
"joint_probability_pct": 123,
"portfolio_return_pct": 123,
"abs_portfolio_return_pct": 123
}
],
"scenario_level_details": [
{
"title": "<string>",
"description": "<string>",
"probability_pct": 123,
"portfolio_return_mean_pct": 123,
"portfolio_return_std_pct": 123,
"macro_shocks": [
{
"indicator": "<string>",
"mean": 123,
"std": 123
}
],
"sub_scenario_count": 123
}
]
},
"warnings": [
"<string>"
]
}Scenario Analysis
Get Scenario
POST
/
api
/
v1
/
backchannel
/
scenarios
/
{id}
cURL
curl --request POST \
--url https://tilt.io/api/v1/backchannel/scenarios/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"include_content": true,
"portfolio_weights": {},
"aggregate_scenarios": false,
"seen_image_ids": [
"<string>"
],
"seen_window": 123,
"viewer_user_id": "<string>"
}
'import requests
url = "https://tilt.io/api/v1/backchannel/scenarios/{id}"
payload = {
"include_content": True,
"portfolio_weights": {},
"aggregate_scenarios": False,
"seen_image_ids": ["<string>"],
"seen_window": 123,
"viewer_user_id": "<string>"
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
include_content: true,
portfolio_weights: {},
aggregate_scenarios: false,
seen_image_ids: ['<string>'],
seen_window: 123,
viewer_user_id: '<string>'
})
};
fetch('https://tilt.io/api/v1/backchannel/scenarios/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tilt.io/api/v1/backchannel/scenarios/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'include_content' => true,
'portfolio_weights' => [
],
'aggregate_scenarios' => false,
'seen_image_ids' => [
'<string>'
],
'seen_window' => 123,
'viewer_user_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://tilt.io/api/v1/backchannel/scenarios/{id}"
payload := strings.NewReader("{\n \"include_content\": true,\n \"portfolio_weights\": {},\n \"aggregate_scenarios\": false,\n \"seen_image_ids\": [\n \"<string>\"\n ],\n \"seen_window\": 123,\n \"viewer_user_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://tilt.io/api/v1/backchannel/scenarios/{id}")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"include_content\": true,\n \"portfolio_weights\": {},\n \"aggregate_scenarios\": false,\n \"seen_image_ids\": [\n \"<string>\"\n ],\n \"seen_window\": 123,\n \"viewer_user_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tilt.io/api/v1/backchannel/scenarios/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"include_content\": true,\n \"portfolio_weights\": {},\n \"aggregate_scenarios\": false,\n \"seen_image_ids\": [\n \"<string>\"\n ],\n \"seen_window\": 123,\n \"viewer_user_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"point_id": "<string>",
"headline": "<string>",
"date": "<string>",
"content": "<string>",
"publication_time": "<string>",
"tilt_source": "",
"importance_rating": 0,
"importance_rationale": "",
"generated_at": "",
"article_image_url": "<string>",
"fallback_image_id": "<string>",
"timeline": [],
"scenarios": [],
"subject_codes": [],
"subject_codes_original": [],
"prediction_markets": [],
"score": 123,
"tilt_asset_ids": [],
"securities": [],
"portfolio_exposure": {
"mad_pct": 123,
"expected_return_pct": 123,
"num_leaf_scenarios": 123,
"leaf_details": [
{
"path": [
"<string>"
],
"title": "<string>",
"joint_probability_pct": 123,
"portfolio_return_pct": 123,
"abs_portfolio_return_pct": 123
}
],
"scenario_level_details": [
{
"title": "<string>",
"description": "<string>",
"probability_pct": 123,
"portfolio_return_mean_pct": 123,
"portfolio_return_std_pct": 123,
"macro_shocks": [
{
"indicator": "<string>",
"mean": 123,
"std": 123
}
],
"sub_scenario_count": 123
}
]
},
"warnings": [
"<string>"
]
}Authorizations
Path Parameters
Body
application/json
Portfolio weights keyed by tilt_id or CUSIP. Mixed identifiers are allowed; CUSIPs are resolved to tilt_ids server-side.
Show child attributes
Show child attributes
Minimum string length:
1Response
200 - application/json
Get single article scenario
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Securities mentioned in the article, mapping each tilt_asset_id to its CUSIP when known.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I