Create Web Feed
Create Web feed to ingest website pages.
Websites are a common source for online knowledge, and Graphlit supports creating Web feeds to ingest and index web pages from any website.
The createFeed
mutation enables the creation of a feed by accepting the feed name
, type
and web
feed parameters and it returns essential details, including the ID, name, state, and type of the newly generated feed.
Depending on the specified type
parameter, Graphlit requires the specific feed parameters including the website uri
.
Mutation:
mutation CreateFeed($feed: FeedInput!) {
createFeed(feed: $feed) {
id
name
state
type
}
}
Variables:
{
"feed": {
"type": "WEB",
"web": {
"uri": "https://openai.com/blog"
},
"name": "OpenAI Blog"
}
}
Response:
{
"type": "WEB",
"id": "251c884b-913a-44b0-893c-1f389c5f53e4",
"name": "OpenAI Blog",
"state": "ENABLED"
}
Last updated
Was this helpful?