Discovery Feeds
Get Discovery Feed Item
GET
/
v1
/
discovery
/
feeds
/
{feed_slug}
/
items
/
{item_id}
Get Discovery Feed Item
curl --request GET \
--url https://api.upriver.ai/v1/discovery/feeds/{feed_slug}/items/{item_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.upriver.ai/v1/discovery/feeds/{feed_slug}/items/{item_id}"
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}/items/{item_id}', 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}/items/{item_id}",
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}/items/{item_id}"
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}/items/{item_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.upriver.ai/v1/discovery/feeds/{feed_slug}/items/{item_id}")
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",
"is_current": true,
"item": {
"item_id": "<string>",
"kind": "topic",
"facets": [
"<string>"
],
"latest": {},
"history_scope": "selected_occurrences_in_view",
"other_occurrences_in_latest_window": [],
"previous_occurrences": [],
"related_items": []
},
"provenance": {},
"research_history": {
"as_of": "2023-11-07T05:31:56Z",
"attempts": [
{
"attempt_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"status": "queued",
"origin": "operator",
"outcome": "results_saved",
"report_id": "<string>"
}
],
"scope": "current_research_history",
"has_more": false,
"latest_completed": {
"report": {
"sha256": "<string>",
"byte_count": 1,
"locator": "<string>"
},
"candidate_id": "<string>",
"proposal_fingerprint": "<string>",
"generation": {
"sha256": "<string>",
"byte_count": 1,
"locator": "<string>"
},
"completed_at": "2023-11-07T05:31:56Z",
"direct": {
"role": "direct",
"definition": {
"definition": "<string>",
"include": [],
"exclude": []
},
"definition_fingerprint": "<string>",
"screening_policy": {},
"relationship": "<string>",
"totals": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"creator_count": 1,
"accepted_creator_count": 1,
"missing_creator_sources": 1,
"recent_buckets": [
{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"counts": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"creator_count": 1,
"accepted_creator_count": 1,
"missing_creator_sources": 1,
"partial": true
}
],
"unknown_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"future_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"inferred_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"unassessed_reasons": {},
"review_budget_skipped": 1,
"binning": "day",
"as_of": "2023-11-07T05:31:56Z"
},
"broader_context": {
"role": "direct",
"definition": {
"definition": "<string>",
"include": [],
"exclude": []
},
"definition_fingerprint": "<string>",
"screening_policy": {},
"relationship": "<string>",
"totals": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"creator_count": 1,
"accepted_creator_count": 1,
"missing_creator_sources": 1,
"recent_buckets": [
{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"counts": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"creator_count": 1,
"accepted_creator_count": 1,
"missing_creator_sources": 1,
"partial": true
}
],
"unknown_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"future_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"inferred_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"unassessed_reasons": {},
"review_budget_skipped": 1,
"binning": "day",
"as_of": "2023-11-07T05:31:56Z"
},
"collection": {
"search_requests": 1,
"listing_requests": 1,
"failed_search_requests": 1,
"failed_listing_requests": 1,
"skipped_listing_attempts": 1,
"stop_reasons": {},
"search_limits": {
"max_requests": 3,
"max_pages_per_query": 1,
"results_per_page": 10
},
"listing_limits": {
"max_listing_urls": 3,
"max_pages_per_listing": 3,
"max_requests": 9,
"max_consecutive_no_new_pages": 2
}
},
"review_budget": {
"maximum_source_scope_reviews": 1,
"new_source_scope_reviews": 0,
"new_review_calls": 0,
"new_search_requests": 0,
"new_listing_requests": 0
},
"contract": "candidate-research-summary-v1",
"qualification": "Counts describe distinct sources retrieved by topic-directed searches, not a population or measured growth. Direct support and broader context use separate definitions and reviews. Broader context does not establish direct membership or a narrow-topic surge. Creator counts use retained provider identities; missing identities remain visible.",
"population_inference": false,
"cpf_admission": false
},
"selected_report_id": "<string>"
},
"research_history_status": "not_requested"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Query Parameters
Response
Successful Response
⌘I
Get Discovery Feed Item
curl --request GET \
--url https://api.upriver.ai/v1/discovery/feeds/{feed_slug}/items/{item_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.upriver.ai/v1/discovery/feeds/{feed_slug}/items/{item_id}"
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}/items/{item_id}', 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}/items/{item_id}",
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}/items/{item_id}"
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}/items/{item_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.upriver.ai/v1/discovery/feeds/{feed_slug}/items/{item_id}")
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",
"is_current": true,
"item": {
"item_id": "<string>",
"kind": "topic",
"facets": [
"<string>"
],
"latest": {},
"history_scope": "selected_occurrences_in_view",
"other_occurrences_in_latest_window": [],
"previous_occurrences": [],
"related_items": []
},
"provenance": {},
"research_history": {
"as_of": "2023-11-07T05:31:56Z",
"attempts": [
{
"attempt_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"status": "queued",
"origin": "operator",
"outcome": "results_saved",
"report_id": "<string>"
}
],
"scope": "current_research_history",
"has_more": false,
"latest_completed": {
"report": {
"sha256": "<string>",
"byte_count": 1,
"locator": "<string>"
},
"candidate_id": "<string>",
"proposal_fingerprint": "<string>",
"generation": {
"sha256": "<string>",
"byte_count": 1,
"locator": "<string>"
},
"completed_at": "2023-11-07T05:31:56Z",
"direct": {
"role": "direct",
"definition": {
"definition": "<string>",
"include": [],
"exclude": []
},
"definition_fingerprint": "<string>",
"screening_policy": {},
"relationship": "<string>",
"totals": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"creator_count": 1,
"accepted_creator_count": 1,
"missing_creator_sources": 1,
"recent_buckets": [
{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"counts": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"creator_count": 1,
"accepted_creator_count": 1,
"missing_creator_sources": 1,
"partial": true
}
],
"unknown_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"future_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"inferred_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"unassessed_reasons": {},
"review_budget_skipped": 1,
"binning": "day",
"as_of": "2023-11-07T05:31:56Z"
},
"broader_context": {
"role": "direct",
"definition": {
"definition": "<string>",
"include": [],
"exclude": []
},
"definition_fingerprint": "<string>",
"screening_policy": {},
"relationship": "<string>",
"totals": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"creator_count": 1,
"accepted_creator_count": 1,
"missing_creator_sources": 1,
"recent_buckets": [
{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"counts": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"creator_count": 1,
"accepted_creator_count": 1,
"missing_creator_sources": 1,
"partial": true
}
],
"unknown_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"future_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"inferred_dates": {
"retrieved": 1,
"accepted": 1,
"rejected": 1,
"unresolved": 1,
"unassessed": 1
},
"unassessed_reasons": {},
"review_budget_skipped": 1,
"binning": "day",
"as_of": "2023-11-07T05:31:56Z"
},
"collection": {
"search_requests": 1,
"listing_requests": 1,
"failed_search_requests": 1,
"failed_listing_requests": 1,
"skipped_listing_attempts": 1,
"stop_reasons": {},
"search_limits": {
"max_requests": 3,
"max_pages_per_query": 1,
"results_per_page": 10
},
"listing_limits": {
"max_listing_urls": 3,
"max_pages_per_listing": 3,
"max_requests": 9,
"max_consecutive_no_new_pages": 2
}
},
"review_budget": {
"maximum_source_scope_reviews": 1,
"new_source_scope_reviews": 0,
"new_review_calls": 0,
"new_search_requests": 0,
"new_listing_requests": 0
},
"contract": "candidate-research-summary-v1",
"qualification": "Counts describe distinct sources retrieved by topic-directed searches, not a population or measured growth. Direct support and broader context use separate definitions and reviews. Broader context does not establish direct membership or a narrow-topic surge. Creator counts use retained provider identities; missing identities remain visible.",
"population_inference": false,
"cpf_admission": false
},
"selected_report_id": "<string>"
},
"research_history_status": "not_requested"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}