Ingest
Ingest items feed
Keyset-cursor feed of ingest items.
GET
/
api
/
v2
/
ingest
/
items
/
Poll the ingest items feed (keyset cursor)
curl --request GET \
--url https://api.example.com/api/v2/ingest/items/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/ingest/items/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v2/ingest/items/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"item_id": "<string>",
"sha256": "<string>",
"filename": "<string>",
"folder_path": "<string>",
"state": "<string>",
"struct": {},
"batch": {},
"processing": {},
"updated_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<string>"
}{}{}{}{}Keyset cursor (
?since= + ?limit=), not ?page=. Auth0 + allowlist. Send X-Agent-Id from Register — the poll bumps last_seen_at. Agents poll this; humans use the organization Black Hole tab.Query Parameters
⌘I
Poll the ingest items feed (keyset cursor)
curl --request GET \
--url https://api.example.com/api/v2/ingest/items/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/ingest/items/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v2/ingest/items/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"item_id": "<string>",
"sha256": "<string>",
"filename": "<string>",
"folder_path": "<string>",
"state": "<string>",
"struct": {},
"batch": {},
"processing": {},
"updated_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<string>"
}{}{}{}{}
