List your scripts
GET
/scripts- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
listScripts
Query parameters#
kindstring · ScriptKindqstringSubstring match on slug, name and description.
cursorstringOpaque cursor from a previous page's next_cursor.
limitintegerResponses#
200OKapplication/json
A page of scripts (no source).
object
Includes Page
next_cursorstringNullabledataarray of object · ScriptSummaryShow item fields
idstringThe script's id for the Terminal SDK and partner API: ind_<n> for an indicator, flw_<n> for a definition. Pass it to cn.scripts.publish({ script }) or chart.scripts.add. Absent for a study.
slugstringkindstring · ScriptKindnamestringdescriptionstringvisibilitystring · VisibilityStudies are always private; setting visibility on a study is refused with 400.
latest_versionintegerupdated_atstring (date-time)app_urlstring (uri)Opens this script in the Chartnaut app.
ErrorAny other statusapplication/json
Error.
object · Error
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring