Prudai Developer API: feed
The operations of this part (Feed).
Base URL https://api.prudai.com/v1. Logging in is in Login, scopes in Scopes and permissions, errors in Errors. Overview.
| Method | Path | What it does | State |
|---|---|---|---|
GET | /v1/feed | The LEO news feed, newest day first | Coming soon |
GET | /v1/feed/{id} | One news item with the article and its citations | Coming soon |
The LEO news feed, newest day first
GET /v1/feed
Personal tokens only; the feed of LEO or LEO Fiscaal as the app’s “Voor jou” day overview: per day
(Europe/Amsterdam) and per legal area (group), with the same ranking, visibility rules and cursors as the
app. Each item has source (name and link to the original), topics, group, day, is_new, and url
(the original source; appUrl is the item in LEO). topics filters on specialisation node ids
(comma-separated; ancestor or descendant matches); source filters on the source name (per page).
Office posts, comments and Nuttig/Bewaren stay in the app. 404 feed_not_available when the organisation
has neither LEO nor LEO Fiscaal; 403 feed_disabled when the owner switched the feed off.
- State: coming soon, not in production yet.
- Scope:
prudai:feed:read - Approval:
none, no extra step.
Parameters
product
Which feed; default the first of the organisation’s products. One of:leo,leo-fiscaaltopics
Comma-separated specialisation node ids (legal areas), e.g.fiscaal.btw. max length 2000source
Only items whose source name contains this text (case-insensitive), per page. max length 200limit
default:20· min 1 · max 50cursor
max length 2000
Responses
| Status | Meaning |
|---|---|
200 | News items. |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
404 | Unknown model, source or document. |
422 | Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body). |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
curl -s "https://api.prudai.com/v1/feed" \ -H "Authorization: Bearer $PRUDAI_TOKEN"prudai leo feed listOne news item with the article and its citations
GET /v1/feed/{id}
Personal tokens only. The item as in LEO: article_md (the written article), citations (label and URL of
each source) and url (the original source). 404 feed_item_not_found when it is not visible to you.
- State: coming soon, not in production yet.
- Scope:
prudai:feed:read - Approval:
none, no extra step.
Parameters
idrequiredproduct
One of:leo,leo-fiscaal
Responses
| Status | Meaning |
|---|---|
200 | The item. |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
404 | Unknown model, source or document. |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
curl -s "https://api.prudai.com/v1/feed/<id>" \ -H "Authorization: Bearer $PRUDAI_TOKEN"prudai leo feed get