Backfill in-progress. Some lexicons and records may be missing or incomplete.

com.atproto.lexicon.resolveLexicon

atproto-lexicons.bsky.social

Documentation

main query

Resolves an atproto lexicon (NSID) to a schema.

Parameters

nsid string nsid Required

The lexicon NSID to resolve.

Output

Encodingapplication/json
cid stringcid Required

The CID of the lexicon schema record.

uri stringat-uri Required

The AT-URI of the lexicon schema record.

Errors

LexiconNotFound No lexicon was resolved for the NSID.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
The lexicon NSID to resolve.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "LexiconNotFound",
      "description": "No lexicon was resolved for the NSID."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "schema"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "The CID of the lexicon schema record."
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "The AT-URI of the lexicon schema record."
        },
        "schema": {
          "ref": "com.atproto.lexicon.schema#main",
          "type": "ref",
          "description": "The resolved lexicon schema record."
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "nsid"
    ],
    "properties": {
      "nsid": {
        "type": "string",
        "format": "nsid",
        "description": "The lexicon NSID to resolve."
      }
    }
  },
  "description": "Resolves an atproto lexicon (NSID) to a schema."
}

Lexicon Garden

@