pet.trezy.getNewPets

The pets adopted in the 7 days before asOf, for the weekly arrivals post. Live pets only: a pet retired inside the same week is not an arrival any more. ⚠ `total` IS THE TRUE COUNT AND `pets` IS ONLY WHAT FITS ON STAGE — the post's number must be how many animals arrived, not how many the renderer could draw. Carries no keeper DID and no pet name, because the post says neither — `#pet` carries `rkey` rather than the at-URI so the caller never even receives the keeper's DID, which sits in the URI's authority segment.

Repository @trezy.pet did:plc:ollch4g7tes2reb5eceiwuol namespace authority
Details · query
Kindquery
Authoritytrezy.pet
Indexed

Query

query · GET

Parameters

query string

asOf

requiredstring · datetime

The moment the week is measured back from. Never the clock, so a dry run and the real run agree.

limit

integer
  • minimum: 1
  • maximum: 50
  • default: 24

Output

application/json

pets

requiredarray
itemsref
Reference

total

requiredinteger

Every qualifying pet, including the ones beyond `limit`.

  • minimum: 0

#pet

object

Properties

createdAt

requiredstring · datetime

rkey

requiredstring

The pet's own record key, never the at-URI: the URI's authority segment is the keeper's DID, and this endpoint names no keeper.

species

requiredstring

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • One week's arrivals post, held in the publisher's repo, keyed by the ISO week (e.g. 2026-W40). It is both the history and the idempotency guard: a run that finds this week's record posts nothing. ⚠ ONLY THE PUBLISHER'S COPY COUNTS — the index refuses this collection from any other repo, or anybody could stop the week's post by writing their own.

  • Keepers who could be Pet of the Week as of a moment, and for each the pets that could be featured. A keeper qualifies when they have a featureConsent record, an activity record in the 14 days before asOf, no refused record in the 90 days before it, were not the keeper of a feature picked in the 365 days before it, and were not passed over in the 84 days before it. A pet qualifies when it is not retired and has at least 3 interactions. Every window is measured from asOf, never from the clock, so

  • The at-uris of a player's pets, newest first, optionally filtered by state. Returns IDs only by default.

  • Feature records, newest week first, with what a reader needs to show them: the pet's facts, the keeper's reply and consent. Public: every field here is already public in somebody's repo.