Ingest
Auto-match ingest items
Auto-match scored ingest items into participating schemas.
POST
/
api
/
v2
/
ingest
/
items
/
auto-match
/
Queue classification for claimable items
curl --request POST \
--url https://api.example.com/api/v2/ingest/items/auto-match/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"item_ids": [
"<string>"
]
}
'import requests
url = "https://api.example.com/api/v2/ingest/items/auto-match/"
payload = { "item_ids": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({item_ids: ['<string>']})
};
fetch('https://api.example.com/api/v2/ingest/items/auto-match/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"queued": 123,
"skipped": [
{
"item_id": "<string>",
"reason": "<string>"
}
]
}{}{}{}Claims unmatched/needs-review items the classifier already scored high enough. Auth0 + allowlist. Entitlement is checked before the claim so a refusal cannot strand items in RECEIVED.
Body
application/json
⌘I
Queue classification for claimable items
curl --request POST \
--url https://api.example.com/api/v2/ingest/items/auto-match/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"item_ids": [
"<string>"
]
}
'import requests
url = "https://api.example.com/api/v2/ingest/items/auto-match/"
payload = { "item_ids": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({item_ids: ['<string>']})
};
fetch('https://api.example.com/api/v2/ingest/items/auto-match/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"queued": 123,
"skipped": [
{
"item_id": "<string>",
"reason": "<string>"
}
]
}{}{}{}
