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

# Execute Open Urls

> Fetch content for specific URLs using the configured content provider.
Intended to complement `/search-lite` when you need content for a subset of URLs.



## OpenAPI

````yaml POST /web-search/open-urls
openapi: 3.1.0
info:
  title: Onyx API
  description: Onyx API for AI-powered enterprise search and chat
  version: Development
servers:
  - url: https://cloud.onyx.app/api
security: []
paths:
  /web-search/open-urls:
    post:
      tags:
        - public
      summary: Execute Open Urls
      description: >-
        Fetch content for specific URLs using the configured content provider.

        Intended to complement `/search-lite` when you need content for a subset
        of URLs.
      operationId: execute_open_urls
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenUrlsToolRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenUrlsToolResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    OpenUrlsToolRequest:
      properties:
        urls:
          items:
            type: string
          type: array
          minItems: 1
          title: Urls
          description: URLs to fetch using the configured content provider.
      type: object
      required:
        - urls
      title: OpenUrlsToolRequest
    OpenUrlsToolResponse:
      properties:
        results:
          items:
            $ref: '#/components/schemas/LlmOpenUrlResult'
          type: array
          title: Results
        provider_type:
          anyOf:
            - $ref: '#/components/schemas/WebContentProviderType'
            - type: 'null'
      type: object
      required:
        - results
      title: OpenUrlsToolResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LlmOpenUrlResult:
      properties:
        document_citation_number:
          type: integer
          title: Document Citation Number
        unique_identifier_to_strip_away:
          anyOf:
            - type: string
            - type: 'null'
          title: Unique Identifier To Strip Away
        type:
          type: string
          const: open_url
          title: Type
          default: open_url
        content:
          type: string
          title: Content
      type: object
      required:
        - document_citation_number
        - content
      title: LlmOpenUrlResult
      description: Result from opening/fetching a URL
    WebContentProviderType:
      type: string
      enum:
        - onyx_web_crawler
        - firecrawl
        - exa
      title: WebContentProviderType
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authorization header with Bearer token

````