List your Forward Insights, newest change first
/insights- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
listInsights
Your own insights. When sharing is on for your account, the list also includes other people's
shared insights you added in the app, read-only: is_owner is false, author names them,
and study, study_version and app_url are empty. Updating or removing one answers not_found.
Query parameters#
definitionstringOnly insights on this definition slug.
studystringOnly insights made from this study slug.
instrumentstringOnly insights on this instrument.
timeframestring · TimeframelimitintegercursorstringOpaque cursor from a previous page's next_cursor.
Responses#
200OKapplication/json
A page of insights.
Includes Page
next_cursorstringNullabledataarray of object · InsightShow item fields
idstringRequirednamestringRequireddescriptionstringRequireddefinitionstringRequiredThe definition slug whose events show the card.
studystringRequiredThe study slug.
study_versionintegerRequiredNullableinstrumentstringRequiredprofilestringRequiredNullableThe definition profile of the run. The card shows on charts using this profile.
Exactly one of {from,to}, last or bars. Warmup is fetched before
the window automatically and never counted in results. Clamped to the
plan's historical depth.
Show fields
fromstring (date-time)tostring (date-time)Defaults to now.
laststringbarsintegerscope_dimensionsarray of stringRequiredpin_cell's indexedBy. Empty for one global card.
is_ownerbooleanRequiredfalse for someone else's shared insight you added in the app (read-only).
authorstringThe username of whoever shared it. Only when is_owner is false.
app_urlstringRequiredOpens the insight's study run in the app. Empty when is_owner is false.
created_atstring (date-time)Requiredupdated_atstring (date-time)Requiredproblemsarray of objectWhat stops this insight working for you: a dependency of its study that is not in your library, or no longer shared with you. Empty when it works.
Show item fields
codestringRequiredkindstringRequirednamestringRequiredaddstringreasonstringactivebooleanRequiredIt shows on your charts of its definition, instrument and timeframe (POST /insights/{insight_id}/activate).
active_statestringNullableOnly when active: live, or paused when the account is over its plan's Forward Insights on charts (after a downgrade).
valid_fromstring (date-time)RequiredNullableThe first moment its numbers know nothing about (the run's end, plus how far the study read past an event, to the next bar). Setups from then on are out of sample. Null when unknown.
headlineobjectRequiredNullableThe one number its label shows, across every setup. Null when it has none, or an older insight's is not worked out yet.
Show fields
valuestringRequiredlabelstringRequiredbasisstringRequired404Not foundapplication/json
unknown_instrument: the instrument filter names no instrument.
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