Ingest
Latest ingest batch
Get the latest default batch for an ingest schema.
GET
/
api
/
v2
/
ingest
/
schemas
/
{slug}
/
batches
/
latest
/
Latest batch filed for a schema
curl --request GET \
--url https://api.example.com/api/v2/ingest/schemas/{slug}/batches/latest/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/ingest/schemas/{slug}/batches/latest/"
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/schemas/{slug}/batches/latest/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"batch": {
"id": 123,
"name": "<string>",
"web_url": "<string>"
}
}{}{}{}The default black-hole batch for one participating schema. Auth0 + allowlist.
⌘I
Latest batch filed for a schema
curl --request GET \
--url https://api.example.com/api/v2/ingest/schemas/{slug}/batches/latest/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/ingest/schemas/{slug}/batches/latest/"
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/schemas/{slug}/batches/latest/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"batch": {
"id": 123,
"name": "<string>",
"web_url": "<string>"
}
}{}{}{}
