AlertAttempt
end_timestampEnd of the query window used (== the start the next run dedups against).
execution_finished_atWhen this execution finished.
outcomeTerminal state of this execution.
item_countItems found in the window (0 on no_data / endpoint_error).
AlertCreationResponse
messageConfirmation message indicating successful creation of the alert.
alert_idThe unique identifier of the created alert.
nameThe resolved name of the alert (provided or auto-generated).
A sample of the payload envelope that will be delivered to each receiver.
AlertDelivery
end_timestampEnd of the query window used.
delivered_atLatest successful per-receiver delivery time.
The envelope that was delivered ({name, response}).
Per-receiver delivery outcomes.
AlertInstructions
pathThe path of the desired endpoint.
A dictionary of arguments to call the endpoint with. Do not include 'start_timestamp' or 'end_timestamp' because the alert owns the polling window.
interval_minutesHow often (in minutes) the alert checks the endpoint. Must be a multiple of 5.
1 to 2 delivery targets. Duplicate targets are rejected.
Optional human label for the alert, unique per user. Defaults to the endpoint name plus an index if omitted.
Rolling lookback window (in minutes). Defaults to interval_minutes if omitted.
thresholdMinimum number of matching items in the window before the alert fires.
AlertRecord
alert_idUnique identifier for the alert.
nameHuman label for the alert.
statusCurrent status of the alert.
pathThe endpoint the alert polls.
The endpoint arguments.
interval_minutesHow often the alert checks the endpoint, in minutes.
lookback_minutesRolling lookback window, in minutes.
thresholdMinimum item count before the alert fires.
The configured delivery targets.
end_timestamp of the last successful delivery, or null.
Recent execution attempts (no payload).
Recent deliveries (includes payload).
created_atWhen the alert was created.
DevelopmentFromDB
development_idLogical identifier for the development across updates.
timestampCanonical backtest system timestamp of this development version.
source_timestampMost recent timestamp of any source used for the development.
occurrence_timestampActual (estimate of) real world time that the development took place.
occurrence_timestamp_confidence_scoreConfidence score in estimate of occurrence_timestamp.
nameName of the development.
descriptionDescription of the development.
development_typeType of the development.
occurrence_statusStatus of the real world occurrence.
rationaleExplanation for all decisions made.
List of involved stakeholders and their impacts.
importance_scoreLLM heuristic of general development importance.
surprise_scoreLLM heuristic of how surprising the development is to the market.
confidence_scoreLLM heuristic of its confidence in everything it presents.
List of events this development is associated with, resolved to their most recent known state.
List of sources used for this development.
DevelopmentSearchParams
Semantic search query. If None, retrieves all developments matching the filters.
Filter for results >= this ISO 8601 timestamp. None means realtime mode.
Filter for results <= this ISO 8601 timestamp. None means realtime mode.
Filter for occurrence_timestamp >= this ISO 8601 timestamp. None means no limit.
Filter for occurrence_timestamp <= this ISO 8601 timestamp. None means no limit.
Filter by development type.
Filter by stakeholder symbol.
Minimum impact score filter in [-1, 1]. If both min and max are provided, matching is directional OR (impact >= min OR impact <= max).
Maximum impact score filter in [-1, 1]. If both min and max are provided, matching is directional OR (impact >= min OR impact <= max).
Minimum importance score in [0, 1].
Minimum surprise score in [0, 1].
Minimum confidence score in [0, 1].
limitMaximum number of results to return.
DevelopmentSummary
development_idLogical identifier for the development across updates.
timestampCanonical backtest system timestamp of this development version.
occurrence_timestampActual (estimate of) real world time that the development took place.
occurrence_timestamp_confidence_scoreConfidence score in estimate of occurrence_timestamp.
nameName of the development.
descriptionDescription of the development.
development_typeType of the development.
occurrence_statusStatus of the real world occurrence.
importance_scoreLLM heuristic of general development importance.
surprise_scoreLLM heuristic of how surprising the development is to the market.
confidence_scoreLLM heuristic of its confidence in everything it presents.
event_idsRaw list of event IDs this development is associated with.
EventFromDB
event_idLogical identifier for the event.
nameName of the event.
descriptionDescription of the event.
event_typeType of the event.
Most recent developments for this event (count controlled by developments_per_event param), ordered by occurrence_timestamp descending.
EventSearchParams
Semantic search query over event descriptions. If None, returns events ordered by recency of event creation.
Filter for events with development activity >= this ISO 8601 timestamp.
Filter for events with development activity <= this ISO 8601 timestamp. None means realtime mode.
Filter by event type.
limitMaximum number of events to return.
developments_per_eventNumber of most recent developments to embed per event result, ordered by occurrence_timestamp descending.
include_future_developmentsWhether to include developments whose occurrence_timestamp is in the future (relative to end_timestamp, or current time if end_timestamp is None) in the embedded per-event development list. Set to False to restrict to already-occurred developments.
EventSummary
event_idLogical identifier for the event across updates.
nameName of the event.
descriptionDescription of the event.
event_typeType of the event.
EventWithDevelopments
event_idLogical identifier for the event.
nameName of the event.
descriptionDescription of the event.
event_typeType of the event.
Developments associated with this event, ordered by occurrence_timestamp descending (real-world timeline).
Factor
nameUnique snake_case primary key for the factor. Name must be entirely self contained and describe the situation unambiguously. Name should be consistent and reusable across separate calls.
descriptionWhat the factor represents. This will be embedded for semantic retrieval, so write it as a clean, general definition.
factor_scaleScale of factor.
rubricMandatory scoring rubric for consistency. Keep it short but explicit. This should ensure absolute consistency globally across separate calls.
Only for CATEGORICAL: enum of allowed category strings.
FactorAssessment
rationaleA brief explanation of the reasoning behind the assessment for this stakeholder given the factor.
Assessed value (type depends on factor_type). 1. BINARY -> bool; 2. CONTINUOUS -> float in [0,1]; 3. SIGNED_CONTINUOUS -> float in [-1,1]; 4. CATEGORICAL -> str in allowed_values.
List of sources that support this factor assessment.
FactorMatrixRow
Factor definition.
Map: stakeholder symbol -> assessment object for this factor.
PublisherSourceMetadataFilter
keyThe source_metadata key to filter. Phase 1 supports publisher only.
Exact publisher values to include. At least one match is required when provided.
Exact publisher values to exclude. Every listed value is excluded when provided.
ReceiverResult
typeThe receiver channel.
targetWhere it was delivered (webhook url, telegram chat id, or account email).
statusWhether delivery to this receiver succeeded.
When this receiver was successfully delivered to, or null on failure.
Failure reason, or null on success.
RetrieveDevelopmentParams
development_idThe ID of the development to retrieve.
Filter for results <= this ISO 8601 timestamp. None means realtime mode.
RetrieveEventDevelopmentsParams
event_idThe event_id to retrieve developments for.
Filter developments with timestamp >= this ISO 8601 timestamp. None means no lower bound.
Filter developments with timestamp <= this ISO 8601 timestamp. None means realtime mode.
limitMaximum number of developments to return, ordered by occurrence_timestamp descending.
include_future_developmentsWhether to include developments whose occurrence_timestamp is in the future (relative to end_timestamp, or current time if end_timestamp is None). Set to False to restrict results to developments that have already occurred.
SemanticSearchMultiParams
queriesList of semantic search queries.
total_top_kBest-effort target number of results to return after flattening and deduplication.
Filter for results >= this ISO 8601 timestamp.
Filter for results <= this ISO 8601 timestamp.
Filter results for cosine similarity >= this value.
Optional exact-match source metadata filters. Each filter specifies a supported source_metadata key and include_any / exclude_any values.
Optional overlap filter for chunk entity types. Returns chunks containing at least one requested entity type.
Filter results for utility_score >= this value.
Filter results for sentiment_score >= this value. Mutually exclusive with sentiment_score_le.
Filter results for sentiment_score <= this value. Mutually exclusive with sentiment_score_ge.
strategyRanking strategy for consolidating results across queries. Final output is always ordered by cosine_similarity. - 'cosine_similarity': rank purely by cosine similarity. - 'round_robin': interleave results from each query in a round-robin fashion to promote diversity across queries. - 'rank_sum': assign a score to each chunk based on its rank in each query's results and sum these scores across queries, promotes duplicates.
SemanticSearchParams
queryThe semantic search query string.
top_kNumber of results to return.
Filter for results >= this ISO 8601 timestamp.
Filter for results <= this ISO 8601 timestamp.
Filter results for cosine similarity >= this value.
Optional exact-match source metadata filters. Each filter specifies a supported source_metadata key and include_any / exclude_any values.
Optional overlap filter for chunk entity types. Returns chunks containing at least one requested entity type.
Filter results for utility_score >= this value.
Filter results for sentiment_score >= this value. Mutually exclusive with sentiment_score_le.
Filter results for sentiment_score <= this value. Mutually exclusive with sentiment_score_ge.
SemanticSearchResult
cosine_similarityCosine similarity score between the query and the chunk embedding.
idUnique identifier for the chunk.
timestampSystem timestamp.
document_idIdentifier of the source document.
Title of the source document, if available.
contentContent of the chunk.
canonical_entity_namesCanonical entity names associated with the chunk.
utility_scoreUtility score of the chunk between 0.0 and 1.0.
sentiment_scoreSentiment score of the chunk between -1.0 and 1.0.
Source information.
Source
source_timestampTimestamp of the source item.
source_tableTable (Type) of the source item (e.g., 'news', 'earnings_calls', 'press_releases', etc.)
source_id'id' of the source item
Additional metadata about the source item.
SourceMetadata
URL of the source material, if applicable.
Title of the source material, if applicable.
Publisher of the source material, if applicable.
SourceWithQuotes
source_timestampTimestamp of the source item.
source_tableTable (Type) of the source item (e.g., 'news', 'earnings_calls', 'press_releases', etc.)
source_id'id' of the source item
Additional metadata about the source item.
quotesList of EXACT quotes from the source material.
StakeholderBase
nameName of the stakeholder
stakeholder_typeThe type of stakeholder. ONLY the following are allowed: [PUBLIC_COMPANY].
symbolTicker symbol of the stakeholder
StakeholderIdentificationParams
queryThe query / subject for which to identify stakeholders for.
Optional additional context to help identify stakeholders.
Optional additional instructions to guide stakeholder identification.
Filter for results >= this ISO 8601 timestamp.
Filter for results <= this ISO 8601 timestamp.
StakeholderIdentificationResponse
List of identified stakeholders with their impact details.
Factor matrix providing scoring for each stakeholder across defined factors.
StakeholderImpact
The stakeholder being identified.
impact_scoreImpact score (-1.0 to 1.0) indicating the estimated magnitude and direction of the impact on the stakeholder.
confidence_scoreConfidence score (0.0 to 1.0) indicating level of certainty in the stakeholder being materially impacted.
rationaleA brief explanation of why this stakeholder is relevant to the query
List of sources (with quotes) that support the identification of this stakeholder.