Objects

Envelope

The fields every JSON response carries.

Every JSON response, keyed or not, carries these fields beside the route’s own. They say which nightly session the answer describes, where the data came from, and the disclaimer an agent must repeat when it presents a setup as something the user might act on.

Fields

FieldTypeDescription
api_versionstringThe contract version, always v1. Field names in v1 do not change, and v1 stays available at least 12 months after a v2 ships. Always v1.
as_of_sessiondate · nullableThe last trading session the data describes, as an ISO date. Setups change nightly, so say it when presenting data and do not cache setups across days. Null on routes that do not read a dated artifact (account, tickers, history, families, universe and the demo index).
data_versionstring · nullableIdentifier of the stored artifact the answer came from: the candidate-book generation for patterns, the sealed manifest for family records. Null when the route reads no versioned artifact.
sourceobjectWho produced the data. Constant on every response.
source.namestringAlways "TradingPal".
source.urlurlAlways https://tradingpal.io.
disclaimerstringThe educational-use disclaimer, constant on every response. Repeat it when presenting a setup as something the user might act on. Always Educational breakout-pattern analysis from TradingPal, not investment advice. Past results do not guarantee future outcomes..

Example

Envelope
{
  "api_version": "v1",
  "as_of_session": "2026-09-25"
}