diff --git a/docs/api-reference/leaksdb/endpoints/get-credentials-v2.mdx b/docs/api-reference/leaksdb/endpoints/get-credentials-v2.mdx index cb5bd959..489eab6f 100644 --- a/docs/api-reference/leaksdb/endpoints/get-credentials-v2.mdx +++ b/docs/api-reference/leaksdb/endpoints/get-credentials-v2.mdx @@ -11,7 +11,7 @@ authMethod: "bearer" This endpoint will return a list of all crendentials in Flare's database, meant to be used as a feed. -Results are returned in ascending order by id, and optional parameters can be added to the query to fetch and filter large amounts (or all) of results. +Results are returned in ascending order of import date (`imported_at`), and optional parameters can be added to the query to fetch and filter large amounts (or all) of results. @@ -66,6 +66,13 @@ This endpoint supports the The `next` value from the last response. + + Return only credentials imported to Flare's database on or after this date. + Accepts a date such as `2026-10-01` or an ISO-formatted datetime such as `2026-10-01T12:00:00+00:00`. + When used together with `from`, results resume from whichever of the two is later. + Only supported with `order=asc`. + + Order in which you want to browse the credentials. One of `asc` or `desc`. It defaults to `asc` which is the recommended way to use the API to obtain newly imported passwords.