TickerTrac historical thesis replay API
The historical thesis replay API from TickerTrac — 2 operation(s) for historical thesis replay.
The historical thesis replay API from TickerTrac — 2 operation(s) for historical thesis replay.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tickertrac-com:tickertrac-com-historical-thesis-replay-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: TickerRAG historical thesis replay API
version: 0.1.0
tags:
- name: historical thesis replay
paths:
/watchlists/{watchlist_id}/theses/{ticker}/historical-replay:
get:
tags:
- historical thesis replay
summary: Get Historical Replay
description: 'Return cached replay results plus the number of public candidates available.
The read path may populate the global ledger from existing local documents, but it
does not call a model. Explicit POST is required before any event is evaluated.'
operationId: get_historical_replay_watchlists__watchlist_id__theses__ticker__historical_replay_get
security:
- HTTPBearer: []
- APIKeyHeader: []
parameters:
- name: watchlist_id
in: path
required: true
schema:
type: integer
title: Watchlist Id
- name: ticker
in: path
required: true
schema:
type: string
title: Ticker
- name: window_days
in: query
required: false
schema:
type: integer
default: 90
title: Window Days
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/HistoricalReplayOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- historical thesis replay
summary: Create Historical Replay
description: Evaluate up to 25 recent stored public events against the current thesis.
operationId: create_historical_replay_watchlists__watchlist_id__theses__ticker__historical_replay_post
security:
- HTTPBearer: []
- APIKeyHeader: []
parameters:
- name: watchlist_id
in: path
required: true
schema:
type: integer
title: Watchlist Id
- name: ticker
in: path
required: true
schema:
type: string
title: Ticker
- name: window_days
in: query
required: false
schema:
type: integer
default: 90
title: Window Days
responses:
'202':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/HistoricalReplayOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/watchlists/{watchlist_id}/theses/{ticker}/historical-replay/{evaluation_id}/feedback:
put:
tags:
- historical thesis replay
summary: Set Historical Replay Feedback
description: Rate one immutable counterfactual evaluation without changing its judgment.
operationId: set_historical_replay_feedback_watchlists__watchlist_id__theses__ticker__historical_replay__evaluation_id__feedback_put
security:
- HTTPBearer: []
- APIKeyHeader: []
parameters:
- name: watchlist_id
in: path
required: true
schema:
type: integer
title: Watchlist Id
- name: ticker
in: path
required: true
schema:
type: string
title: Ticker
- name: evaluation_id
in: path
required: true
schema:
type: integer
title: Evaluation Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ReplayFeedbackIn'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ReplayFeedbackOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ReplayFeedbackOut:
properties:
replay_evaluation_id:
type: integer
title: Replay Evaluation Id
labels:
items:
type: string
enum:
- useful
- not_useful
- relevant
- not_relevant
- already_known
- changed_view
- wrong_relationship
- wrong_citation
type: array
title: Labels
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- replay_evaluation_id
- labels
- updated_at
title: ReplayFeedbackOut
ReplayFeedbackIn:
properties:
labels:
items:
type: string
enum:
- useful
- not_useful
- relevant
- not_relevant
- already_known
- changed_view
- wrong_relationship
- wrong_citation
type: array
maxItems: 8
title: Labels
comment:
anyOf:
- type: string
maxLength: 1000
- type: 'null'
title: Comment
type: object
required:
- labels
title: ReplayFeedbackIn
ReplayWarmupOut:
properties:
status:
type: string
enum:
- not_started
- pending
- running
- complete
- partial
- failed
title: Status
ready:
type: boolean
title: Ready
candidate_count:
type: integer
title: Candidate Count
default: 0
added_count:
type: integer
title: Added Count
default: 0
attempt_count:
type: integer
title: Attempt Count
default: 0
requested_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Requested At
started_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Started At
finished_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Finished At
last_success_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Success At
error_code:
anyOf:
- type: string
- type: 'null'
title: Error Code
type: object
required:
- status
- ready
title: ReplayWarmupOut
description: Tenant-safe status for shared public-evidence preparation.
TrackRecordBoundaryOut:
properties:
ticker:
type: string
title: Ticker
asserted_formation_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Asserted Formation Date
asserted_formation_recorded_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Asserted Formation Recorded At
asserted_source:
type: string
const: user_claim
title: Asserted Source
default: user_claim
witnessed_since:
type: string
format: date-time
title: Witnessed Since
witnessed_since_source:
type: string
enum:
- version_history
- thesis_updated_at
title: Witnessed Since Source
reconstructed_days:
type: integer
title: Reconstructed Days
default: 0
type: object
required:
- ticker
- witnessed_since
- witnessed_since_source
title: TrackRecordBoundaryOut
description: 'IA-11. Where the investor''s claim ends and TickerTrac''s observation begins.
``asserted_source`` is fixed rather than inferred so no client can render the
date as anything but the user''s own claim. ``witnessed_since`` is the first
moment the product actually monitored this thesis; everything before it is
reconstructed after the fact and must be labeled that way.'
HistoricalReplayOut:
properties:
ticker:
type: string
title: Ticker
thesis_text:
type: string
title: Thesis Text
thesis_updated_at:
type: string
format: date-time
title: Thesis Updated At
window_days:
type: integer
enum:
- 90
- 365
title: Window Days
window_start:
type: string
format: date-time
title: Window Start
transcript_window_start:
type: string
format: date-time
title: Transcript Window Start
candidate_count:
type: integer
title: Candidate Count
newly_evaluated_count:
type: integer
title: Newly Evaluated Count
default: 0
warmup:
$ref: '#/components/schemas/ReplayWarmupOut'
evaluation_job:
anyOf:
- $ref: '#/components/schemas/ReplayEvaluationJobOut'
- type: 'null'
track_record:
anyOf:
- $ref: '#/components/schemas/TrackRecordBoundaryOut'
- type: 'null'
replay_reaches_asserted_start:
type: boolean
title: Replay Reaches Asserted Start
default: true
events:
items:
$ref: '#/components/schemas/HistoricalReplayEventOut'
type: array
title: Events
type: object
required:
- ticker
- thesis_text
- thesis_updated_at
- window_days
- window_start
- transcript_window_start
- candidate_count
- warmup
- events
title: HistoricalReplayOut
HistoricalReplayEventOut:
properties:
id:
type: integer
title: Id
assessment_status:
type: string
enum:
- assessed
- failed
title: Assessment Status
default: assessed
source_event_id:
type: integer
title: Source Event Id
ticker:
type: string
title: Ticker
provider_code:
type: string
enum:
- sec_edgar
- company_ir
- earningscalls_dev
title: Provider Code
source_kind:
type: string
enum:
- filing
- ir_presentation
- earnings_call
title: Source Kind
title:
type: string
title: Title
evidence_excerpt:
type: string
title: Evidence Excerpt
original_url:
type: string
title: Original Url
effective_at:
type: string
format: date-time
title: Effective At
published_at:
type: string
format: date-time
title: Published At
observed_at:
type: string
format: date-time
title: Observed At
ingested_at:
type: string
format: date-time
title: Ingested At
source_content_hash:
type: string
title: Source Content Hash
source_snapshot_basis:
anyOf:
- type: string
enum:
- evaluation_input
- legacy_captured_before_repair
- type: 'null'
title: Source Snapshot Basis
thesis_text:
type: string
title: Thesis Text
thesis_updated_at:
type: string
format: date-time
title: Thesis Updated At
relevant:
type: boolean
title: Relevant
relationship:
type: string
enum:
- support
- contradict
- neutral
title: Relationship
materiality:
type: string
enum:
- material
- immaterial
- uncertain
- unknown
title: Materiality
citation_valid:
type: boolean
title: Citation Valid
directness:
type: string
enum:
- direct
- indirect
- none
- unknown
title: Directness
source_quality:
type: string
enum:
- primary
- reputable_secondary
- weak
- invalid
- unknown
title: Source Quality
bridge_valid:
type: boolean
title: Bridge Valid
thesis_factor:
anyOf:
- type: string
- type: 'null'
title: Thesis Factor
evidence_factor:
anyOf:
- type: string
- type: 'null'
title: Evidence Factor
causal_bridge:
anyOf:
- type: string
- type: 'null'
title: Causal Bridge
thesis_component_id:
anyOf:
- type: integer
- type: 'null'
title: Thesis Component Id
thesis_component_kind:
anyOf:
- type: string
enum:
- claim
- expectation
- invalidation
- type: 'null'
title: Thesis Component Kind
thesis_component_statement:
anyOf:
- type: string
- type: 'null'
title: Thesis Component Statement
source_artifact_version_id:
anyOf:
- type: integer
- type: 'null'
title: Source Artifact Version Id
evidence_source_segment_id:
anyOf:
- type: integer
- type: 'null'
title: Evidence Source Segment Id
evidence_quote:
anyOf:
- type: string
- type: 'null'
title: Evidence Quote
evidence_speaker_name:
anyOf:
- type: string
- type: 'null'
title: Evidence Speaker Name
evidence_section:
anyOf:
- type: string
enum:
- prepared_remarks
- questions_and_answers
- other
- unknown
- type: 'null'
title: Evidence Section
evidence_source_locator:
anyOf:
- type: string
- type: 'null'
title: Evidence Source Locator
thesis_factor_kind:
type: string
enum:
- claim
- expectation
- invalidation
- narrative
- unknown
title: Thesis Factor Kind
default: unknown
thesis_impact:
type: string
enum:
- strengthened
- weakened
- broken
- uncertain
title: Thesis Impact
default: uncertain
reasoning:
type: string
title: Reasoning
evaluator_model:
type: string
title: Evaluator Model
evaluator_version:
type: string
title: Evaluator Version
evaluated_at:
type: string
format: date-time
title: Evaluated At
feedback_labels:
items:
type: string
enum:
- useful
- not_useful
- relevant
- not_relevant
- already_known
- changed_view
- wrong_relationship
- wrong_citation
type: array
title: Feedback Labels
is_historical_replay:
type: boolean
const: true
title: Is Historical Replay
default: true
observation_status:
type: string
enum:
- witnessed
- reconstructed
title: Observation Status
default: reconstructed
type: object
required:
- id
- source_event_id
- ticker
- provider_code
- source_kind
- title
- evidence_excerpt
- original_url
- effective_at
- published_at
- observed_at
- ingested_at
- source_content_hash
- thesis_text
- thesis_updated_at
- relevant
- relationship
- materiality
- citation_valid
- directness
- source_quality
- bridge_valid
- thesis_factor
- evidence_factor
- causal_bridge
- reasoning
- evaluator_model
- evaluator_version
- evaluated_at
title: HistoricalReplayEventOut
description: 'A dated source event evaluated against the user''s current thesis.
This is intentionally distinct from AlertOut: it has no delivery status and no
claim that the thesis existed when the event occurred.'
ReplayEvaluationJobOut:
properties:
stalled:
type: boolean
title: Stalled
default: false
id:
type: integer
title: Id
window_days:
type: integer
enum:
- 90
- 365
title: Window Days
status:
type: string
enum:
- pending
- running
- complete
- failed
title: Status
stage:
type: string
enum:
- queued
- evaluating
- complete
- failed
title: Stage
requested_at:
type: string
format: date-time
title: Requested At
started_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Started At
finished_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Finished At
attempt_count:
type: integer
title: Attempt Count
candidate_count:
type: integer
title: Candidate Count
completed_count:
type: integer
title: Completed Count
created_count:
type: integer
title: Created Count
error_code:
anyOf:
- type: string
enum:
- dispatch_failed
- task_failed
- source_unavailable
- release_mismatch
- type: 'null'
title: Error Code
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- window_days
- status
- stage
- requested_at
- started_at
- finished_at
- attempt_count
- candidate_count
- completed_count
- created_count
- updated_at
title: ReplayEvaluationJobOut
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key