Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.upriver.ai/v1/discovery/feeds/{feed_slug} \ --header 'X-API-Key: <api-key>'
import requests url = "https://api.upriver.ai/v1/discovery/feeds/{feed_slug}" headers = {"X-API-Key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}}; fetch('https://api.upriver.ai/v1/discovery/feeds/{feed_slug}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.upriver.ai/v1/discovery/feeds/{feed_slug}", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "X-API-Key: <api-key>" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.upriver.ai/v1/discovery/feeds/{feed_slug}" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("X-API-Key", "<api-key>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
HttpResponse<String> response = Unirest.get("https://api.upriver.ai/v1/discovery/feeds/{feed_slug}") .header("X-API-Key", "<api-key>") .asString();
require 'uri' require 'net/http' url = URI("https://api.upriver.ai/v1/discovery/feeds/{feed_slug}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["X-API-Key"] = '<api-key>' response = http.request(request) puts response.read_body
{ "feed": { "slug": "<string>", "label": "<string>", "version": "<string>", "facets": [ { "slug": "<string>", "label": "<string>" } ] }, "release_id": "<string>", "published_at": "2023-11-07T05:31:56Z", "freshness": { "status": "ready", "evaluated_at": "2023-11-07T05:31:56Z", "collection_checked_through": "2023-11-07T05:31:56Z", "discovery_processed_through": "2023-11-07T05:31:56Z", "max_lag_seconds": 123, "notes": [ "Coverage describes the examined sources, not the whole platform.", "Cited examples are not discussion volume or measured growth." ] }, "examined_window_start": "2023-11-07T05:31:56Z", "examined_window_end": "2023-11-07T05:31:56Z", "time_basis": "published", "status": "pending", "refresh_status": "pending", "last_attempt_at": "2023-11-07T05:31:56Z", "is_current": true, "items": [ { "item_id": "<string>", "kind": "topic", "facets": [ "<string>" ], "latest": {}, "history_scope": "selected_occurrences_in_view", "other_occurrences_in_latest_window": [], "previous_occurrences": [], "related_items": [] } ], "provenance": {} }
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
^[0-9a-f]{64}$
Successful Response
Show child attributes
Saved edition identifier. Null before the first successful refresh.
When this edition was published, separate from source publication.
published
observed
publication_proxy
mixed
pending
ready
empty
running
succeeded
failed
Whether this is the feed's current edition.
Selected discoveries with exact examples and qualified meanings.