> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequency.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Semantic search over news articles

> Search news articles using natural language via vector embeddings.



## OpenAPI

````yaml /api/openapi.json post /api/graph/v1/news/search
openapi: 3.1.0
info:
  title: Sequency Graph API
  description: >

    # Sequency Graph-Native Trading API


    Graph-native API for trading intelligence, built on FalkorDB.


    ## Features


    - **Screener**: Filter stocks using graph-native queries with relationship
    expansion

    - **Stock Detail**: Complete stock context with all relationships

    - **Confluence Scoring**: Setup quality assessment with weighted components

    - **Strategy Matching**: Find matching options strategies via graph
    traversal

    - **Market Context**: Current market-wide context for trading decisions


    ## Data Sources


    All data is sourced from the FalkorDB knowledge graph, populated by:

    - Pattern detector (Go) - Technical indicators, patterns

    - Graph sync service - Levels, volume profiles, news, day classification
  version: 1.0.0
servers: []
security: []
paths:
  /api/graph/v1/news/search:
    post:
      tags:
        - News
      summary: Semantic search over news articles
      description: Search news articles using natural language via vector embeddings.
      operationId: search_news_api_graph_v1_news_search_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewsSearchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Search News Api Graph V1 News Search Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NewsSearchRequest:
      properties:
        query:
          type: string
          maxLength: 500
          minLength: 3
          title: Query
        catalyst_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Catalyst Ids
        sectors:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Sectors
        impact:
          anyOf:
            - type: string
            - type: 'null'
          title: Impact
        limit:
          type: integer
          maximum: 50
          minimum: 1
          title: Limit
          default: 10
      type: object
      required:
        - query
      title: NewsSearchRequest
      description: Request for semantic news search.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````