Skip to main content
PATCH
Update a saved chart

Authorizations

x-api-key
string
header
required

Raw API key shown once when created in the Allocait app (Settings > API keys). Send it verbatim in this header; the server stores and compares only its SHA-256 hash. Allocait generates every key: alc_ followed by 64 lowercase hex characters. Keys issued before 2026-10-10 are 64 hex characters with no prefix and keep working. A key may carry an expiry (90 days or 1 year, or never). A malformed, unknown, revoked or expired key gets 401 with no further detail, and a malformed one is refused before any lookup. Keys cannot be created through this API.

Path Parameters

id
string<uuid>
required

chart_id

Body

application/json
name
string
Maximum string length: 100
input_ids
string<uuid>[]
level_marker_ids
string<uuid>[]
ticker_symbol
string | null
clear_ticker_symbol
boolean

Set true to move a single-symbol chart to the whole-portfolio reading.

date_range
enum<string>
Available options:
7,
14,
30,
60,
90,
180
pinned
boolean
source_type
enum<string>
Available options:
single,
positions,
watchlist,
custom
source_watchlist_id
string<uuid> | null
custom_symbols
string[]

Response

The chart was updated

success
boolean
chart
object

The full chart record, as returned by create/update (distinct field names from the SavedChart list-view above; id, not chart_id).