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

# Search

> Choose a target or let Vsyble infer it from the query. Add structured filters for the selected target when needed.

Choose `target` explicitly when you know whether you need people or companies. Start with `search_type: auto` and a specific natural-language query.

REST filters use camelCase inside `filters`. MCP uses snake\_case fields at the top level; see the [MCP search contract](https://docs.vsyble.com/mcp/tools/search.md).

Keep the response's `request_id` and ordered results together for [selected enrichment](https://docs.vsyble.com/guides/search-and-enrich.md). A result count is a request, not a guarantee that enough qualifying public evidence exists.


## OpenAPI

````yaml openapi.json POST /v1/search
openapi: 3.1.0
info:
  title: Vsyble API
  version: 1.0.0
  description: >-
    Search for people and companies, enrich selected results, and manage
    outreach through scoped credentials. Requests and responses use JSON, and
    every operation requires a revocable Vsyble API key.
servers:
  - url: https://api.vsyble.com
    description: Production
security:
  - VsybleApiKey: []
tags:
  - name: Search
    description: Find people or companies from public sources.
  - name: Enrichment
    description: >-
      Enrich explicitly selected, 1-based result numbers from a completed search
      made with this credential.
externalDocs:
  description: Vsyble API documentation
  url: https://vsyble.com/docs/api
paths:
  /v1/search:
    post:
      tags:
        - Search
      summary: Search for people or companies
      description: >-
        Choose a target or let Vsyble infer it from the query. Add structured
        filters for the selected target when needed.
      operationId: search
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchRequest'
            examples:
              people:
                value:
                  target: people
                  query: Revenue leaders at B2B software companies
                  limit: 5
                  search_type: fast
                  filters:
                    seniority: executive
                    requireLinkedIn: true
              companies:
                value:
                  target: companies
                  query: AI infrastructure companies hiring sales leaders
                  limit: 10
                  search_type: auto
                  filters:
                    employeeRange: 51-200
                    fundingStage: series_a
                    hiringOnly: true
                    technology: Kubernetes
      responses:
        '200':
          description: >-
            Search completed. Fewer results can be returned when the available
            public evidence does not satisfy the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResponse'
              example:
                request_id: 11111111-1111-4111-8111-111111111111
                tool: people_search
                result_count: 1
                duration_ms: 1840
                people:
                  - name: Jordan Lee
                    jobTitle: VP of Revenue
                    company: Example Cloud
                    linkedinUrl: https://www.linkedin.com/in/example-jordan-lee
                companies: []
                search_results:
                  - title: Jordan Lee - VP of Revenue
                    url: https://example.com/jordan-lee
                citations:
                  - https://example.com/jordan-lee
                model: vsyble-people-fast
        '400':
          description: The JSON body or one of its fields is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: invalid_request
                  message: limit must be an integer between 1 and 100
                  retry_after_seconds: 0
        '401':
          description: The API key is missing, malformed, expired, revoked, or unknown.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: invalid_api_key
                  message: Missing or invalid API key
        '403':
          description: The API key or account cannot use this operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: insufficient_scope
                  message: API key does not have the required permission
                  retry_after_seconds: 0
        '405':
          description: The route only accepts POST requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: method_not_allowed
                  message: Only POST is supported
        '409':
          description: The request ID conflicts with an existing search request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: duplicate_request
                  message: This request ID has already been used
                  request_id: 33333333-3333-4333-8333-333333333333
                  retry_after_seconds: 0
        '413':
          description: The request body exceeds 16 KiB.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: request_too_large
                  message: Request body is too large
        '429':
          description: >-
            An edge rate limit, account quota, or credential spend limit was
            reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: api_rate_limit_exceeded
                  message: Too many Vsyble API requests
                  retry_after_seconds: 60
          headers:
            Retry-After:
              description: Seconds to wait before retrying, when available.
              schema:
                type: integer
                minimum: 0
        '500':
          description: >-
            The search failed unexpectedly. The response remains safe for
            callers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: internal_error
                  message: The search could not be completed
                  request_id: 33333333-3333-4333-8333-333333333333
                  retry_after_seconds: 0
        '502':
          description: The upstream search provider returned an unusable response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: search_provider_error
                  message: The search provider could not complete the request
                  request_id: 33333333-3333-4333-8333-333333333333
                  retry_after_seconds: 0
        '503':
          description: >-
            The gateway, credential verifier, quota service, or another required
            dependency is temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: api_unavailable
                  message: The Vsyble API is temporarily unavailable
        '504':
          description: The search provider did not finish before the request deadline.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: search_timeout
                  message: The search provider did not respond before the timeout
                  request_id: 33333333-3333-4333-8333-333333333333
                  retry_after_seconds: 0
components:
  schemas:
    SearchRequest:
      type: object
      additionalProperties: false
      required:
        - query
        - limit
      properties:
        query:
          type: string
          minLength: 2
          maxLength: 500
          description: Natural-language description of the people or companies to find.
          example: Revenue leaders at B2B software companies
        limit:
          type: integer
          minimum: 1
          maximum: 100
          description: Exact requested number of results, from 1 to 100.
          example: 5
        target:
          type: string
          enum:
            - auto
            - people
            - companies
          default: auto
          description: Specify the type of results or infer it from the query.
        search_type:
          type: string
          enum:
            - auto
            - instant
            - fast
            - deep-lite
            - deep
            - deep-reasoning
            - neural
          default: auto
          description: >-
            Search strategy. Auto is recommended; instant and fast prioritize
            latency, while deep modes add research depth. Neural is a legacy
            alias for auto.
        filters:
          type: object
          additionalProperties: false
          description: Optional structured filters for the selected target.
          properties:
            includeInternational:
              type: boolean
              description: >-
                False requires the United States or Canada, true allows global
                results, and omission follows the query.
            minYearsExperience:
              type: integer
              minimum: 0
              maximum: 80
              description: Minimum years of professional experience.
            seniority:
              type: string
              enum:
                - any
                - founder
                - executive
                - manager
                - individual_contributor
              default: any
              description: Required seniority category.
            requireLinkedIn:
              type: boolean
              default: false
              description: Require each returned person to have a LinkedIn profile URL.
            employeeRange:
              type: string
              enum:
                - any
                - 1-10
                - 11-50
                - 51-200
                - 201-500
                - 501-1000
                - 1001-5000
                - 5001+
              default: any
              description: Required employee-count range.
            fundingStage:
              type: string
              enum:
                - any
                - bootstrapped
                - seed
                - series_a
                - series_b_plus
                - public
              default: any
              description: Required funding stage.
            hiringOnly:
              type: boolean
              default: false
              description: Restrict results to companies with current hiring evidence.
            technology:
              type: string
              minLength: 1
              maxLength: 80
              description: Technology that matching companies should use.
    SearchResponse:
      type: object
      additionalProperties: false
      required:
        - request_id
        - tool
        - result_count
        - duration_ms
        - people
        - companies
        - search_results
        - citations
        - model
      properties:
        request_id:
          type: string
          format: uuid
          description: Stable request identifier for support and request-scoped history.
        tool:
          type: string
          enum:
            - people_search
            - company_search
        result_count:
          type: integer
          minimum: 0
          description: Number of primary people or company results returned.
        duration_ms:
          type: integer
          minimum: 0
          description: End-to-end search duration in milliseconds.
        people:
          type: array
          description: People results. Empty when the result type is companies.
          items:
            $ref: '#/components/schemas/PublicResult'
        companies:
          type: array
          description: Company results. Empty when the result type is people.
          items:
            $ref: '#/components/schemas/PublicResult'
        search_results:
          type: array
          description: >-
            Supporting public-source result records returned by the search
            provider.
          items:
            $ref: '#/components/schemas/PublicResult'
        citations:
          type: array
          items:
            type: string
            format: uri
          description: Public evidence URLs supporting the results.
        model:
          type:
            - string
            - 'null'
          description: Search model identifier, when reported.
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Stable machine-readable error code.
            message:
              type: string
              description: Concise, caller-safe description of the outcome.
            request_id:
              type: string
              format: uuid
              description: Request identifier, when available.
            retry_after_seconds:
              type: number
              minimum: 0
              description: Recommended retry delay, when applicable.
    PublicResult:
      type: object
      additionalProperties: true
      description: >-
        A sanitized public-source result. Available fields vary with the entity
        and evidence returned.
  securitySchemes:
    VsybleApiKey:
      type: apiKey
      in: header
      name: X-Vsyble-Api-Key
      description: >-
        Create and revoke scoped API keys at https://app.vsyble.com/mcp. Keep
        each key outside source control and use a separate key per application
        or environment.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.