ChartnautDocs

List your Forward Insights, newest change first

GET/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#

definitionstring

Only insights on this definition slug.

studystring

Only insights made from this study slug.

instrumentstring

Only insights on this instrument.

Example BTC
timeframestring · Timeframe
One of 1m 5m 15m 30m 1h 2h 4h 1d 1w 1mo
limitinteger
Default 501 to 200
cursorstring

Opaque cursor from a previous page's next_cursor.

Responses#

200OKapplication/json

A page of insights.

object

Includes Page

next_cursorstringNullable
dataarray of object · Insight
Show item fields
idstringRequired
Example ins_61
namestringRequired
descriptionstringRequired
definitionstringRequired

The definition slug whose events show the card.

studystringRequired

The study slug.

study_versionintegerRequiredNullable
instrumentstringRequired
Example BTC
timeframestring · TimeframeRequired
One of 1m 5m 15m 30m 1h 2h 4h 1d 1w 1mo
profilestringRequiredNullable

The definition profile of the run. The card shows on charts using this profile.

windowobject · WindowRequired

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.

laststring
Pattern ^[0-9]+[dwmy]$Example 90d
barsinteger
At least 1Example 2000
scope_dimensionsarray of stringRequired

pin_cell's indexedBy. Empty for one global card.

is_ownerbooleanRequired

false for someone else's shared insight you added in the app (read-only).

authorstring

The username of whoever shared it. Only when is_owner is false.

app_urlstringRequired

Opens the insight's study run in the app. Empty when is_owner is false.

created_atstring (date-time)Required
updated_atstring (date-time)Required
problemsarray of object

What 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
codestringRequired
kindstringRequired
namestringRequired
addstring
reasonstring
activebooleanRequired

It shows on your charts of its definition, instrument and timeframe (POST /insights/{insight_id}/activate).

active_statestringNullable

Only when active: live, or paused when the account is over its plan's Forward Insights on charts (after a downgrade).

One of live paused null
valid_fromstring (date-time)RequiredNullable

The 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.

headlineobjectRequiredNullable

The 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
valuestringRequired
labelstringRequired
basisstringRequired
One of this_setup all_setups
404Not foundapplication/json

unknown_instrument: the instrument filter names no instrument.

object · Error
errorobjectRequired
Show fields
codestringRequired

Stable. Branch on this, never on message.

One of unauthorized forbidden_scope plan_limit not_found version_conflict script_invalid in_use out_of_coverage unknown_instrument ambiguous_instrument unsupported_timeframe run_not_finished rate_limited busy invalid_request forbidden conflict not_in_library confirmation_required not_shared not_installable not_implemented authorization_pending slow_down access_denied expired_token internal
messagestringRequired
detailsobject
docs_urlstring (uri)
request_idstring
ErrorAny other statusapplication/json

Error.

object · Error
errorobjectRequired
Show fields
codestringRequired

Stable. Branch on this, never on message.

One of unauthorized forbidden_scope plan_limit not_found version_conflict script_invalid in_use out_of_coverage unknown_instrument ambiguous_instrument unsupported_timeframe run_not_finished rate_limited busy invalid_request forbidden conflict not_in_library confirmation_required not_shared not_installable not_implemented authorization_pending slow_down access_denied expired_token internal
messagestringRequired
detailsobject
docs_urlstring (uri)
request_idstring