A short-lived download URL of the list artifact that the calling node must load (node side).
const url = 'https://api.opdns.io/v1/nodes/self/lists/latest';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.opdns.io/v1/nodes/self/lists/latest \ --header 'Authorization: Bearer <token>'An authorized download of the current list artifact (the one that
GET /v1/nodes/self/profile names in lists), so the object storage of the
artifact does not have to be public. url is a presigned object-storage URL
that works without other credentials for 10 minutes (until expires_at). When
the cloud does not presign, url is the announced URL of the artifact
(expires_at null). Fetch url without the node token. version and sha256
name the artifact. Before the download, a node can make sure that it is the
artifact it was told about. After the download, the node verifies the artifact
signature as usual. Never cached (Cache-Control: no-store). Ask again for
each download.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Where to download the artifact.
object
The absolute artifact URL. Presigned when expires_at is set.
The artifact version. 0 when only a flag configures it.
The hex SHA-256 of the artifact. It can be empty.
When the presigned url stops working (10 minutes after the request). Null when it is not presigned.
The presigned URL of the list-signing trust.json next to the artifact, valid until expires_at. Fetch it without the node token. Absent when url is not presigned (trust.json is then in the same directory as url), or when the cloud failed to sign it (use the announced trust.json).
Example
{ "url": "https://objects.opdns.io/opdns/lists/fleet/v12.bin?X-Amz-Expires=600&X-Amz-Signature=0f3c", "version": 12, "sha256": "9f2b6c1e4d7a8b3c5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d", "expires_at": "2026-10-03T12:10:00Z", "trust_url": "https://objects.opdns.io/opdns/lists/fleet/trust.json?X-Amz-Expires=600&X-Amz-Signature=7a1d"}Headers
Section titled “Headers”The node token is missing or unknown (unauthenticated), or the node is revoked (node_revoked).
object
Stable machine code.
object
Seconds, the same value as the Retry-After header (rate limits, offline nodes).
The plan limit that a plan_limit problem reached.
object
The value of the limit in the plan.
Where to change to a larger plan.
The scope that the API token did not have (insufficient_scope).
Example
{ "type": "https://opdns.io/problems/node_revoked", "title": "Unauthorized", "status": 401, "code": "node_revoked", "detail": "This node was removed from your account, so its token no longer works. Enroll the node again to reconnect it.", "request_id": "5f2c9a0e7b1d4c38"}Not found (also for resources of another organization).
object
Stable machine code.
object
Seconds, the same value as the Retry-After header (rate limits, offline nodes).
The plan limit that a plan_limit problem reached.
object
The value of the limit in the plan.
Where to change to a larger plan.
The scope that the API token did not have (insufficient_scope).
Example
{ "type": "https://opdns.io/problems/not_found", "title": "Not Found", "status": 404, "code": "not_found", "detail": "We did not find that. The link is wrong, or the item no longer exists.", "request_id": "5f2c9a0e7b1d4c38"}Rate limited (rate_limited). For an API token, the organization used all of the rate of its plan until RateLimit-Reset.
object
Stable machine code.
object
Seconds, the same value as the Retry-After header (rate limits, offline nodes).
The plan limit that a plan_limit problem reached.
object
The value of the limit in the plan.
Where to change to a larger plan.
The scope that the API token did not have (insufficient_scope).
Example
{ "type": "https://opdns.io/problems/rate_limited", "title": "Too Many Requests", "status": 429, "code": "rate_limited", "detail": "You sent too many requests in a short time. Wait a moment, then try again.", "request_id": "5f2c9a0e7b1d4c38", "retry_after": 6}Headers
Section titled “Headers”On every response to an API token: the rate of the plan of the organization, in requests per one-minute window (api_requests_per_minute).
On every response to an API token: the requests left to the organization in the current window.
On every response to an API token: the seconds until the current window ends and the count resets.
On every response to an API token: the quota policy, <limit>;w=60.