Numeno Article Recommender API
Introduction
Use the Numeno Article Recommender API to receive a curated selection of articles from across the web.
See below for the steps to creating a Feed, as well as an introduction to the top-level concepts making up the Article Recommender API.
Steps to creating a Feed
- Create a Feed -
/feeds
- Create a number of Stream queries associated with the Feed -
/feeds/:feedId/streams
- Pull from the Feed as the Feed refreshes -
/feeds/:feedId/articles
- Use those Article IDs to look up metadata for the Articles -
/articles/:id
- Visit the Article links and render to your server DB or client app.
Sources, Articles and Topics
A Source is a place where Articles come from, typically a website, a blog, or a knowledgebase endpoint. Sources can be queried for activity via the /sources
endpoint. Beyond the Sources Numeno regaularly indexes, additional Sources can be associated with Stream queries, and Sources can be allowlist
/denylist
'd.
Articles are the documents produced by Sources, typically pages from a blogpost or website, articles from a news source, or posts from a social platform or company intranet. See the /articles
endpoint.
Topics - Numeno has millions of Topics that it associates with Articles when they are sourced. Topics are used in Stream queries, which themselves are composed to create Feeds. Get topics via the /topics
endpoint.
Feeds
A Feed is a collection of Streams. Feeds are configured to refresh on a regular schedule. No new Articles are published to a Feed except when it's refreshed. Feeds can be refreshed manually if the API Key Scopes allow.
You can ask for Articles chronologically or by decreasing score. You can also limit Articles to a date-range, meaning that you can produce Feeds from historical content.
Interact with Feeds via the /feeds
endpoint.
Streams
Think of a Stream as a search query with a "volume control knob". It's a collection of Topics that you're interested and a collection of Sources you'd explicitly like to include or exclude. Streams are associated with a Feed, and a collection of Streams produce the sequence of Articles that appear when a Feed is refreshed.
The "volume control knob" on a Stream is a way to decide how many of the search results from the Stream query are included in the Feed. Our searches are "soft", and with a such a rich Article x Topic
space to draw on, the "volume control" allows you to put a cuttoff on what you'd like included.
Streams are a nested resource of /feeds
- get started by explorting /feeds/:feedId/streams
.
Authentication
- API Key: ApiKeyAuth
Each Numeno API call identifies each of your requests by your unique API Key, which can be found on the Numeno Dashboard or using the Numeno Administration API.
All endpoints expect the API Key to be passed as an HTTP header:
curl -s -X POST \
-H 'X-Numeno-Key: YOUR_API_KEY' \
-H 'Content-type: application/json' \
-data '{“feedID”:”feedString”,“limit”:10}' \
https://api.numeno.ai/art-rec/v1/feed/getPosts
Important: when calling any public Numeno API, you should always use the secure HTTPS endpoint to protect your credentials.
Security Scheme Type: | apiKey |
---|---|
Header parameter name: | X-Numeno-Key |
Terms of Service
https://numeno.ai/terms/License
Apache 2.0