List a definition's events
GET
/scripts/{slug}/events- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
listDefinitionEvents
Every event this definition has collected in Chartnaut — from the app or through
collectDefinition — across instruments, timeframes and windows. Studies read these.
Runs return only their own events; this is the stored history. Own definitions only.
Path parameters#
slugstringRequiredYour script's slug, optionally pinned as slug@N.
Query parameters#
instrumentstringtimeframestring · TimeframeeventstringDeclared event id.
fromstring (date-time)Events starting at or after (RFC 3339).
tostring (date-time)Events ending at or before (RFC 3339).
versionintegerOnly events collected by this version.
wherestringPayload filters as JSON: [{"key":"range","op":"gt","value":10}]. Ops: eq neq contains gt gte lt lte between (valueTo) is_empty is_not_empty.
formatstringcursorstringOpaque cursor from a previous page's next_cursor.
limitintegerResponses#
200OKapplication/json
ErrorAny other statusapplication/json
Error.
object · Error
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring