Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Introducing Web Search API via AI Gateway

Cloudflare AI Gateway now supports native web search API integration in partnership with Ceramic.ai, Exa, and Linkup. Developers can now inject real-time web context into model inference calls via AI Gateway, REST APIs, or Workers bindings.

Share
Introducing Web Search API via AI Gateway

Overview of Web Search API Integration

Cloudflare AI Gateway has introduced a new feature that allows developers to integrate web search APIs directly into their applications. This integration is made possible through partnerships with several web search providers, including Ceramic.ai, Exa, and Linkup. The primary goal of this feature is to enhance the context available to AI models by providing them with real-time information from the web.

Enhancing AI Model Capabilities

AI models are typically trained on static data, which limits their ability to provide up-to-date information. By integrating web search APIs, developers can ensure that their AI models have access to the latest information available on the internet. This is particularly useful in scenarios where the information required by the model is constantly changing, such as in the case of new product releases or evolving news events.

Industry Standards and Compliance

Cloudflare has set a high standard for web search integration by ensuring that all partners comply with specific bot crawling standards. These standards include transparency, honesty, and respect for bot rules and preferences. This approach not only benefits developers but also ensures that site owners have control over how their content is used.

Integration Options

Cloudflare AI Gateway serves as the primary integration point for the new Web Search API product. Developers can use AI Gateway credits to consume web search services, collect logs, and manage access controls. Additionally, direct REST API calls are supported, allowing developers to query web search results through standard endpoints. For those building on Cloudflare Workers, integration is simplified with a single line of code.

Future Developments

Cloudflare is actively working on integrating native server tools directly into AI Gateway. These tools will be built into the control plane, reducing the need for developers to define and manage tools manually. Web search is expected to be one of the first tools incorporated into this new stack, further streamlining the development process.

Source: Cloudflare. Analysis based on publicly available information; no hands-on testing is claimed.

Read more