Make an insight active, so it shows on your charts of its definition, instrument and timeframe
/insights/{insight_id}/activate- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
activateInsight
Works for your own insights and ones you added. One insight is active per definition,
instrument and timeframe: activating where another is active replaces it (replaced), and
never needs a slot. Otherwise it takes one of the plan's Forward Insights on charts
(Free 1, Pro 5); when they are full the refusal names the
active ones, so you can deactivate one first. Activating one that is already active
changes nothing.
Path parameters#
insight_idstringRequiredResponses#
200OKapplication/json
Active.
insightstringRequiredactivebooleanRequiredstatestringRequiredpaused when the account is over its plan's limit (after a downgrade): active but not shown until it fits.
replacedarray of stringThe insights it took the place of on the same definition, instrument and timeframe. Absent when none.
in_useintegerRequiredActive insights now, live and paused.
The plan's Forward Insights on charts: a number, or unlimited.
Show options
One of
integer
string
400Bad requestapplication/json
invalid_request: the insight cannot be made active (for example its series no longer resolves).
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring403Forbiddenapplication/json
plan_limit: your charts hold the plan's Forward Insights on charts. details.limit is the limit and details.active the active insights (ActiveInsight); deactivate one and try again.
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring404Not foundapplication/json
not_found: no such insight in your list.
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstringErrorAny other statusapplication/json
Error.
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring