com.atproto.sync.getRepoStatus

atproto-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.",
      "errors": [
        {
          "name": "RepoNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "active": {
              "type": "boolean"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "rev": {
              "description": "Optional field, the current rev of the repo, if active=true",
              "format": "tid",
              "type": "string"
            },
            "status": {
              "description": "If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.",
              "knownValues": [
                "takendown",
                "suspended",
                "deleted",
                "deactivated",
                "desynchronized",
                "throttled"
              ],
              "type": "string"
            }
          },
          "required": [
            "did",
            "active"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "The DID of the repo.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.atproto.sync.getRepoStatus",
  "lexicon": 1
}

Validate Record

Validate a record against com.atproto.sync.getRepoStatus

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:6msi3pj7krzih5qxqtryxlzw
CID
bafyreidv752rhe2abwz2rp2akok2gnopmsk4wlwrwsf22uwhfzst6nh4ry
Indexed At
2026-02-18 19:03 UTC
AT-URI
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.sync.getRepoStatus

Similar Lexicons

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

  • Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.

  • Get the service-specific admin status of a subject (account, record, or blob).

  • Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.

  • Get the current commit CID & revision of the specified repo. Does not require auth.

  • Get information about an account and repository, including the list of collections. Does not require auth.

Lexicon Garden

@