social.grain.admin.searchRecords

Search the indexed records. q is an at:// URI, a DID (that account's records) or text; with no q, the newest records the firehose brought. Requires an admin session.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · query
Kindquery
Authorityadmin.grain.social
Commit rev3n2mx2lfy4hbg
Indexed

Query

query · GET

Parameters

query string

cursor

string

limit

integer
  • minimum: 1
  • maximum: 100
  • default: 20

q

string

Output

application/json

cursor

string

records

requiredarray

Similar lexicons

semantic match

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

  • computer.localnetwork.directory.listRecords

    query not from the namespace authority

    List the records of one collection in one account's repo that the directory indexed, by record key, last first, like com.atproto.repo.listRecords.

  • A community space's records, newest first, hidden ones included. Effective admins and the community identity only.

  • List a range of records in a repository, matching a specific collection. Does not require auth.

  • Get list of accounts that matches your search query.

  • Records of one collection from the host's index, newest first. Without `repo`, a collection the group's site declares it reads, from the group (answered to anyone) or its members (members only). With `repo`, that one account's records — the group's or a member's — of any collection, kept on demand once asked for; members only. `field` and `equals` keep only records whose field (a name, or a path like subject.uri) equals that value. With `from: "network"`, everyone's records of the collection, fr