Filter discovered content for relevance before deep extraction
curl --request POST \
--url https://agent.crowdlisten.com/agent/v1/ingest/filter \
--header 'Content-Type: application/json' \
--data '
{
"entity_id": "<string>",
"question": "<string>",
"sources": [
{
"url": "",
"title": "",
"snippet": "",
"engagement": {
"likes": 1,
"comments": 1,
"views": 1,
"score": 1,
"shares": 1
}
}
]
}
'import requests
url = "https://agent.crowdlisten.com/agent/v1/ingest/filter"
payload = {
"entity_id": "<string>",
"question": "<string>",
"sources": [
{
"url": "",
"title": "",
"snippet": "",
"engagement": {
"likes": 1,
"comments": 1,
"views": 1,
"score": 1,
"shares": 1
}
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
entity_id: '<string>',
question: '<string>',
sources: [
{
url: '',
title: '',
snippet: '',
engagement: {likes: 1, comments: 1, views: 1, score: 1, shares: 1}
}
]
})
};
fetch('https://agent.crowdlisten.com/agent/v1/ingest/filter', 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://agent.crowdlisten.com/agent/v1/ingest/filter",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entity_id' => '<string>',
'question' => '<string>',
'sources' => [
[
'url' => '',
'title' => '',
'snippet' => '',
'engagement' => [
'likes' => 1,
'comments' => 1,
'views' => 1,
'score' => 1,
'shares' => 1
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://agent.crowdlisten.com/agent/v1/ingest/filter"
payload := strings.NewReader("{\n \"entity_id\": \"<string>\",\n \"question\": \"<string>\",\n \"sources\": [\n {\n \"url\": \"\",\n \"title\": \"\",\n \"snippet\": \"\",\n \"engagement\": {\n \"likes\": 1,\n \"comments\": 1,\n \"views\": 1,\n \"score\": 1,\n \"shares\": 1\n }\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://agent.crowdlisten.com/agent/v1/ingest/filter")
.header("Content-Type", "application/json")
.body("{\n \"entity_id\": \"<string>\",\n \"question\": \"<string>\",\n \"sources\": [\n {\n \"url\": \"\",\n \"title\": \"\",\n \"snippet\": \"\",\n \"engagement\": {\n \"likes\": 1,\n \"comments\": 1,\n \"views\": 1,\n \"score\": 1,\n \"shares\": 1\n }\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.crowdlisten.com/agent/v1/ingest/filter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"entity_id\": \"<string>\",\n \"question\": \"<string>\",\n \"sources\": [\n {\n \"url\": \"\",\n \"title\": \"\",\n \"snippet\": \"\",\n \"engagement\": {\n \"likes\": 1,\n \"comments\": 1,\n \"views\": 1,\n \"score\": 1,\n \"shares\": 1\n }\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"verdicts": [
{
"index": 123,
"url": "<string>",
"verdict": "<string>",
"platform": "<string>",
"status": "unreviewed",
"model": "<string>"
}
],
"recommended_for_extraction": [
"<string>"
],
"stats": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}ingest
Filter discovered content for relevance before deep extraction
Filter discovered content for relevance before deep extraction.
Runs the LLM relevance classifier on a list of lightweight source items and returns per-item verdicts plus a recommended-for-extraction URL list. Designed to be called between discovery (search) and expensive extraction (transcript / full-text fetch) so that only relevant or marginal sources are extracted.
POST
/
agent
/
v1
/
ingest
/
filter
Filter discovered content for relevance before deep extraction
curl --request POST \
--url https://agent.crowdlisten.com/agent/v1/ingest/filter \
--header 'Content-Type: application/json' \
--data '
{
"entity_id": "<string>",
"question": "<string>",
"sources": [
{
"url": "",
"title": "",
"snippet": "",
"engagement": {
"likes": 1,
"comments": 1,
"views": 1,
"score": 1,
"shares": 1
}
}
]
}
'import requests
url = "https://agent.crowdlisten.com/agent/v1/ingest/filter"
payload = {
"entity_id": "<string>",
"question": "<string>",
"sources": [
{
"url": "",
"title": "",
"snippet": "",
"engagement": {
"likes": 1,
"comments": 1,
"views": 1,
"score": 1,
"shares": 1
}
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
entity_id: '<string>',
question: '<string>',
sources: [
{
url: '',
title: '',
snippet: '',
engagement: {likes: 1, comments: 1, views: 1, score: 1, shares: 1}
}
]
})
};
fetch('https://agent.crowdlisten.com/agent/v1/ingest/filter', 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://agent.crowdlisten.com/agent/v1/ingest/filter",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entity_id' => '<string>',
'question' => '<string>',
'sources' => [
[
'url' => '',
'title' => '',
'snippet' => '',
'engagement' => [
'likes' => 1,
'comments' => 1,
'views' => 1,
'score' => 1,
'shares' => 1
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://agent.crowdlisten.com/agent/v1/ingest/filter"
payload := strings.NewReader("{\n \"entity_id\": \"<string>\",\n \"question\": \"<string>\",\n \"sources\": [\n {\n \"url\": \"\",\n \"title\": \"\",\n \"snippet\": \"\",\n \"engagement\": {\n \"likes\": 1,\n \"comments\": 1,\n \"views\": 1,\n \"score\": 1,\n \"shares\": 1\n }\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://agent.crowdlisten.com/agent/v1/ingest/filter")
.header("Content-Type", "application/json")
.body("{\n \"entity_id\": \"<string>\",\n \"question\": \"<string>\",\n \"sources\": [\n {\n \"url\": \"\",\n \"title\": \"\",\n \"snippet\": \"\",\n \"engagement\": {\n \"likes\": 1,\n \"comments\": 1,\n \"views\": 1,\n \"score\": 1,\n \"shares\": 1\n }\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.crowdlisten.com/agent/v1/ingest/filter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"entity_id\": \"<string>\",\n \"question\": \"<string>\",\n \"sources\": [\n {\n \"url\": \"\",\n \"title\": \"\",\n \"snippet\": \"\",\n \"engagement\": {\n \"likes\": 1,\n \"comments\": 1,\n \"views\": 1,\n \"score\": 1,\n \"shares\": 1\n }\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"verdicts": [
{
"index": 123,
"url": "<string>",
"verdict": "<string>",
"platform": "<string>",
"status": "unreviewed",
"model": "<string>"
}
],
"recommended_for_extraction": [
"<string>"
],
"stats": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json