dev.knotless.getDelegation

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Fails with 403 when the authorization was refused or did not log in as the caller, and with 404 for a delegation the caller did not start or that has ended.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "done": {
              "description": "Whether the gateway now writes for the caller. False means ask again.",
              "type": "boolean"
            }
          },
          "required": [
            "done"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "state": {
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "state"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Waits, for a while, for a delegation the caller started with dev.knotless.putDelegation to be approved. Requires a service token from the caller's PDS, audience the gateway's DID, for this method.",
  "id": "dev.knotless.getDelegation",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.getDelegation

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreiebdydeatlneupeoxumkn4qi4mxis4raoiaxhmbudn4w5cfxslsmi
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.getDelegation

Similar Lexicons

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

  • Starts delegating the caller's writes to a gateway. The gateway, an OAuth client of the caller's PDS, pushes an authorization request for the caller and answers with the page where the caller approves it; once they do, …

  • Waits a while for the account logged in to this appview's pages to approve a delegation dev.knotless.delegateWrites started.

  • Starts delegating the writes of the account logged in to this appview's pages to the appview's gateway, as `knotless delegate` does.

Lexicon Garden

@