Create Tavily Search Feed

User Intent

"How do I continuously search the web with Tavily? Show me web search feed configuration."

Note: Tavily API key is not required. Graphlit provides Tavily access by default and bills you for usage.

Operation

SDK Method: createFeed() with FeedTypes.Search Auth: None required (Graphlit provides Tavily access, bills you for usage)


Code Example (TypeScript)

import { Graphlit } from 'graphlit-client';
import { FeedTypes, SearchServiceTypes } from 'graphlit-client/dist/generated/graphql-types';

const graphlit = new Graphlit();

const feed = await graphlit.createFeed({
  name: 'AI News Search',
  type: FeedTypes.Search,
  search: {
    type: SearchServiceTypes.Tavily,
    text: 'artificial intelligence news',
    readLimit: 20,
  },
  // Optional: add workflow for content processing
  // workflow: { id: workflow.createWorkflow.id }
});

console.log(`Created Tavily search feed: ${feed.createFeed.id}`);

Configuration

text: Search query text readLimit: Number of results per execution type: SearchServiceTypes.Tavily


What Gets Indexed

  • Web page titles and URLs

  • Page summaries and content

  • Publication dates

  • Relevance scores


Use Cases

News Monitoring:

text: 'artificial intelligence regulation policy'

Research Topics:

text: 'quantum computing breakthroughs 2024'

Company Mentions:

text: 'YourCompany product reviews'

Technical Documentation:

text: 'GraphQL best practices tutorials'

Search Service Alternatives

  • Tavily - General web search (this guide)

  • Exa - Semantic web search with embeddings

  • Podscan - Podcast episode search


Last updated

Was this helpful?