Record collector coverage for an entity/platform scope
curl --request POST \
--url https://agent.crowdlisten.com/agent/v1/ingest/coverage \
--header 'Content-Type: application/json' \
--data '
{
"entity_id": "<string>",
"coverage_state": "<string>",
"collector": "unknown",
"collection_scope": "unknown",
"run_id": "<string>",
"query": "<string>",
"started_at": "<string>",
"finished_at": "<string>",
"targets": [
{
"target": "<string>",
"target_type": "account",
"role": "unknown",
"source_group": "<string>",
"sender_type": "<string>",
"status": "unknown",
"items_found": 0,
"items_stored": 0,
"cursor_start": "<string>",
"cursor_end": "<string>",
"reached_end": true,
"error": "<string>",
"metadata": {}
}
],
"totals": {},
"notes": "<string>"
}
'import requests
url = "https://agent.crowdlisten.com/agent/v1/ingest/coverage"
payload = {
"entity_id": "<string>",
"coverage_state": "<string>",
"collector": "unknown",
"collection_scope": "unknown",
"run_id": "<string>",
"query": "<string>",
"started_at": "<string>",
"finished_at": "<string>",
"targets": [
{
"target": "<string>",
"target_type": "account",
"role": "unknown",
"source_group": "<string>",
"sender_type": "<string>",
"status": "unknown",
"items_found": 0,
"items_stored": 0,
"cursor_start": "<string>",
"cursor_end": "<string>",
"reached_end": True,
"error": "<string>",
"metadata": {}
}
],
"totals": {},
"notes": "<string>"
}
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>',
coverage_state: '<string>',
collector: 'unknown',
collection_scope: 'unknown',
run_id: '<string>',
query: '<string>',
started_at: '<string>',
finished_at: '<string>',
targets: [
{
target: '<string>',
target_type: 'account',
role: 'unknown',
source_group: '<string>',
sender_type: '<string>',
status: 'unknown',
items_found: 0,
items_stored: 0,
cursor_start: '<string>',
cursor_end: '<string>',
reached_end: true,
error: '<string>',
metadata: {}
}
],
totals: {},
notes: '<string>'
})
};
fetch('https://agent.crowdlisten.com/agent/v1/ingest/coverage', 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/coverage",
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>',
'coverage_state' => '<string>',
'collector' => 'unknown',
'collection_scope' => 'unknown',
'run_id' => '<string>',
'query' => '<string>',
'started_at' => '<string>',
'finished_at' => '<string>',
'targets' => [
[
'target' => '<string>',
'target_type' => 'account',
'role' => 'unknown',
'source_group' => '<string>',
'sender_type' => '<string>',
'status' => 'unknown',
'items_found' => 0,
'items_stored' => 0,
'cursor_start' => '<string>',
'cursor_end' => '<string>',
'reached_end' => true,
'error' => '<string>',
'metadata' => [
]
]
],
'totals' => [
],
'notes' => '<string>'
]),
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/coverage"
payload := strings.NewReader("{\n \"entity_id\": \"<string>\",\n \"coverage_state\": \"<string>\",\n \"collector\": \"unknown\",\n \"collection_scope\": \"unknown\",\n \"run_id\": \"<string>\",\n \"query\": \"<string>\",\n \"started_at\": \"<string>\",\n \"finished_at\": \"<string>\",\n \"targets\": [\n {\n \"target\": \"<string>\",\n \"target_type\": \"account\",\n \"role\": \"unknown\",\n \"source_group\": \"<string>\",\n \"sender_type\": \"<string>\",\n \"status\": \"unknown\",\n \"items_found\": 0,\n \"items_stored\": 0,\n \"cursor_start\": \"<string>\",\n \"cursor_end\": \"<string>\",\n \"reached_end\": true,\n \"error\": \"<string>\",\n \"metadata\": {}\n }\n ],\n \"totals\": {},\n \"notes\": \"<string>\"\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/coverage")
.header("Content-Type", "application/json")
.body("{\n \"entity_id\": \"<string>\",\n \"coverage_state\": \"<string>\",\n \"collector\": \"unknown\",\n \"collection_scope\": \"unknown\",\n \"run_id\": \"<string>\",\n \"query\": \"<string>\",\n \"started_at\": \"<string>\",\n \"finished_at\": \"<string>\",\n \"targets\": [\n {\n \"target\": \"<string>\",\n \"target_type\": \"account\",\n \"role\": \"unknown\",\n \"source_group\": \"<string>\",\n \"sender_type\": \"<string>\",\n \"status\": \"unknown\",\n \"items_found\": 0,\n \"items_stored\": 0,\n \"cursor_start\": \"<string>\",\n \"cursor_end\": \"<string>\",\n \"reached_end\": true,\n \"error\": \"<string>\",\n \"metadata\": {}\n }\n ],\n \"totals\": {},\n \"notes\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.crowdlisten.com/agent/v1/ingest/coverage")
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 \"coverage_state\": \"<string>\",\n \"collector\": \"unknown\",\n \"collection_scope\": \"unknown\",\n \"run_id\": \"<string>\",\n \"query\": \"<string>\",\n \"started_at\": \"<string>\",\n \"finished_at\": \"<string>\",\n \"targets\": [\n {\n \"target\": \"<string>\",\n \"target_type\": \"account\",\n \"role\": \"unknown\",\n \"source_group\": \"<string>\",\n \"sender_type\": \"<string>\",\n \"status\": \"unknown\",\n \"items_found\": 0,\n \"items_stored\": 0,\n \"cursor_start\": \"<string>\",\n \"cursor_end\": \"<string>\",\n \"reached_end\": true,\n \"error\": \"<string>\",\n \"metadata\": {}\n }\n ],\n \"totals\": {},\n \"notes\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"entity_id": "<string>",
"run_id": "<string>",
"coverage_state": "<string>",
"targets_recorded": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}ingest
Record collector coverage for an entity/platform scope
Record what a collector attempted and whether coverage is proven.
This is intentionally separate from row insertion: a collector can prove a target is blocked or fully exhausted even when zero new rows were stored because all posts were already deduplicated.
POST
/
agent
/
v1
/
ingest
/
coverage
Record collector coverage for an entity/platform scope
curl --request POST \
--url https://agent.crowdlisten.com/agent/v1/ingest/coverage \
--header 'Content-Type: application/json' \
--data '
{
"entity_id": "<string>",
"coverage_state": "<string>",
"collector": "unknown",
"collection_scope": "unknown",
"run_id": "<string>",
"query": "<string>",
"started_at": "<string>",
"finished_at": "<string>",
"targets": [
{
"target": "<string>",
"target_type": "account",
"role": "unknown",
"source_group": "<string>",
"sender_type": "<string>",
"status": "unknown",
"items_found": 0,
"items_stored": 0,
"cursor_start": "<string>",
"cursor_end": "<string>",
"reached_end": true,
"error": "<string>",
"metadata": {}
}
],
"totals": {},
"notes": "<string>"
}
'import requests
url = "https://agent.crowdlisten.com/agent/v1/ingest/coverage"
payload = {
"entity_id": "<string>",
"coverage_state": "<string>",
"collector": "unknown",
"collection_scope": "unknown",
"run_id": "<string>",
"query": "<string>",
"started_at": "<string>",
"finished_at": "<string>",
"targets": [
{
"target": "<string>",
"target_type": "account",
"role": "unknown",
"source_group": "<string>",
"sender_type": "<string>",
"status": "unknown",
"items_found": 0,
"items_stored": 0,
"cursor_start": "<string>",
"cursor_end": "<string>",
"reached_end": True,
"error": "<string>",
"metadata": {}
}
],
"totals": {},
"notes": "<string>"
}
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>',
coverage_state: '<string>',
collector: 'unknown',
collection_scope: 'unknown',
run_id: '<string>',
query: '<string>',
started_at: '<string>',
finished_at: '<string>',
targets: [
{
target: '<string>',
target_type: 'account',
role: 'unknown',
source_group: '<string>',
sender_type: '<string>',
status: 'unknown',
items_found: 0,
items_stored: 0,
cursor_start: '<string>',
cursor_end: '<string>',
reached_end: true,
error: '<string>',
metadata: {}
}
],
totals: {},
notes: '<string>'
})
};
fetch('https://agent.crowdlisten.com/agent/v1/ingest/coverage', 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/coverage",
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>',
'coverage_state' => '<string>',
'collector' => 'unknown',
'collection_scope' => 'unknown',
'run_id' => '<string>',
'query' => '<string>',
'started_at' => '<string>',
'finished_at' => '<string>',
'targets' => [
[
'target' => '<string>',
'target_type' => 'account',
'role' => 'unknown',
'source_group' => '<string>',
'sender_type' => '<string>',
'status' => 'unknown',
'items_found' => 0,
'items_stored' => 0,
'cursor_start' => '<string>',
'cursor_end' => '<string>',
'reached_end' => true,
'error' => '<string>',
'metadata' => [
]
]
],
'totals' => [
],
'notes' => '<string>'
]),
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/coverage"
payload := strings.NewReader("{\n \"entity_id\": \"<string>\",\n \"coverage_state\": \"<string>\",\n \"collector\": \"unknown\",\n \"collection_scope\": \"unknown\",\n \"run_id\": \"<string>\",\n \"query\": \"<string>\",\n \"started_at\": \"<string>\",\n \"finished_at\": \"<string>\",\n \"targets\": [\n {\n \"target\": \"<string>\",\n \"target_type\": \"account\",\n \"role\": \"unknown\",\n \"source_group\": \"<string>\",\n \"sender_type\": \"<string>\",\n \"status\": \"unknown\",\n \"items_found\": 0,\n \"items_stored\": 0,\n \"cursor_start\": \"<string>\",\n \"cursor_end\": \"<string>\",\n \"reached_end\": true,\n \"error\": \"<string>\",\n \"metadata\": {}\n }\n ],\n \"totals\": {},\n \"notes\": \"<string>\"\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/coverage")
.header("Content-Type", "application/json")
.body("{\n \"entity_id\": \"<string>\",\n \"coverage_state\": \"<string>\",\n \"collector\": \"unknown\",\n \"collection_scope\": \"unknown\",\n \"run_id\": \"<string>\",\n \"query\": \"<string>\",\n \"started_at\": \"<string>\",\n \"finished_at\": \"<string>\",\n \"targets\": [\n {\n \"target\": \"<string>\",\n \"target_type\": \"account\",\n \"role\": \"unknown\",\n \"source_group\": \"<string>\",\n \"sender_type\": \"<string>\",\n \"status\": \"unknown\",\n \"items_found\": 0,\n \"items_stored\": 0,\n \"cursor_start\": \"<string>\",\n \"cursor_end\": \"<string>\",\n \"reached_end\": true,\n \"error\": \"<string>\",\n \"metadata\": {}\n }\n ],\n \"totals\": {},\n \"notes\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.crowdlisten.com/agent/v1/ingest/coverage")
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 \"coverage_state\": \"<string>\",\n \"collector\": \"unknown\",\n \"collection_scope\": \"unknown\",\n \"run_id\": \"<string>\",\n \"query\": \"<string>\",\n \"started_at\": \"<string>\",\n \"finished_at\": \"<string>\",\n \"targets\": [\n {\n \"target\": \"<string>\",\n \"target_type\": \"account\",\n \"role\": \"unknown\",\n \"source_group\": \"<string>\",\n \"sender_type\": \"<string>\",\n \"status\": \"unknown\",\n \"items_found\": 0,\n \"items_stored\": 0,\n \"cursor_start\": \"<string>\",\n \"cursor_end\": \"<string>\",\n \"reached_end\": true,\n \"error\": \"<string>\",\n \"metadata\": {}\n }\n ],\n \"totals\": {},\n \"notes\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"entity_id": "<string>",
"run_id": "<string>",
"coverage_state": "<string>",
"targets_recorded": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Required string length:
1 - 100Available options:
reddit, youtube, tiktok, twitter, instagram, linkedin, hackernews, producthunt, github, threads, web, granola, slack, agent, claude_code, codex Whether the collector proved full coverage for the declared scope/window.
Pattern:
^(exhaustive|sampled|bounded|blocked|unknown)$Maximum string length:
200Maximum string length:
200Maximum string length:
200Maximum string length:
5000Maximum array length:
200Show child attributes
Show child attributes
Maximum string length:
5000