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

# Vector Search

> Search in vector stores



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/runtime/v1/vectors/search
openapi: 3.0.0
info:
  title: Runflow Runtime API
  description: >-
    Programmatic surface for the Runflow platform — used by the SDK, the CLI,
    the execution engine, and any server-to-server caller. Authenticate with an
    `x-api-key` header (or `Authorization: Bearer ...`).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.runflow.ai
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags: []
paths:
  /api/v1/runtime/v1/vectors/search:
    post:
      tags:
        - Runtime API - Vector Search
      summary: Vector Search
      description: Search in vector stores
      operationId: RuntimeVectorController_search
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VectorSearchDto'
      responses:
        '201':
          description: >-
            Search results: { results: [{ content, score, metadata }, ...] }.
            Empty array if the named store is missing.
        '401':
          description: Missing or invalid API key.
      security:
        - bearer: []
components:
  schemas:
    VectorSearchDto:
      type: object
      properties:
        query:
          type: string
          description: Search query
        vectorStore:
          type: string
          description: Vector store name
        k:
          type: number
          description: Number of results
        threshold:
          type: number
          description: Similarity threshold
        filters:
          type: object
          description: Search filters
      required:
        - query

````