Magidoc

Query
Object

Fields

#

executeCypher

[ JSON ]

Executes a Cypher query against the Neo4j database. Only read queries are allowed. The function will reject queries containing write operations. The maximum number of records to return. If the query already contains a LIMIT clause, it will be adjusted to enforce a hard limit. The maximum limit is 1000.

articles

[ Article !]!
Non-null

Fetches a list of articles based on various filters such as publication dates, keywords, and sentiment scores. limit (number, optional, default=100): Maximum number of records to return (0-2000). offset (number, optional, default=0): Number of records to skip (0-1000). orderByDateTimePub (string, optional): Order by publication date (ASC or DESC, default is DESC). keywords (string[], optional): Keywords to filter articles (max 50). articleSymbols (string[], optional): Article symbols to filter articles (max 50).

article

Retrieves a single article based on its unique URI.

findArticlePairs

Finds pairs of articles connected by up to a specified number of relational steps, filtered by shared keywords. limit (number, optional, default=100): Maximum number of article pairs to return. Must be between 1 and 250. maxPathLength (number, optional, default=3): Maximum path length to search for article pairs. Must be between 1 and 4.

getTrendingKeywords

Retrieves keywords trending within a specified period based on article frequency and associated details. limit (number): The maximum number of trending keywords to return. Must be between 1 and 250.

negativeSentimentAnalysis

Analyzes the negative sentiment associated with specific keywords over a defined period. limit (number, optional, default=10): The maximum number of keywords to return. Must be between 1 and 1000.

positiveSentimentAnalysis

Analyzes the positive sentiment associated with specific keywords over a defined period. limit (number, optional, default=10): The maximum number of keywords to return. Must be between 1 and 1000.

neutralSentimentAnalysis

Analyzes the neutral sentiment associated with specific keywords over a defined period. limit (number, optional, default=10): The maximum number of keywords to return. Must be between 1 and 1000.

articlesByProduct

Fetches articles related to specified products, optionally filtered by publication dates. limit (number, optional, default=10): The maximum number of articles to return. Must be between 1 and 1000. productNames (string[], optional): The names of products to filter articles (max 50).

articlesBySymbol

Fetches articles related to specified symbols, optionally filtered by publication dates. limit (number, optional, default=10): The maximum number of articles to return. Must be between 1 and 1000. symbolNames (string[], optional): The names of symbols to filter articles (max 50).