ChartnautDocs

List versions, newest first

GET/scripts/{slug}/versions
Base URL
https://api.chartnaut.com/v1
Auth
Bearer key
Operation ID
listScriptVersions

Path parameters#

slugstringRequired

Your script's slug, optionally pinned as slug@N.

Pattern ^[a-z0-9][a-z0-9-]{1,62}(@[0-9]+)?$Example vwap-reclaim@3

Query parameters#

cursorstring

Opaque cursor from a previous page's next_cursor.

limitinteger
Default 501 to 500

Responses#

200OKapplication/json

A page of versions.

object

Includes Page

next_cursorstringNullable
dataarray of object · VersionSummary
Show item fields
versioninteger
change_summarystring
authorstring

you, app-agent, api or a model id.

created_atstring (date-time)
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