org.designtxt.getTokens
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Retrieve design tokens from a tokenCollection record. If no input modifiers are provided, returns the raw token document. If an input object is given (matching a resolver document's modifiers), tokens are resolved against that context.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"resolvedAt": {
"description": "Timestamp when the response was produced.",
"format": "datetime",
"maxLength": 64,
"type": "string"
},
"tokens": {
"description": "The requested token data. Either the full token collection, the subtree at the requested path, or the resolved token values.",
"type": "unknown"
}
},
"required": [
"tokens"
],
"type": "object"
}
},
"parameters": {
"properties": {
"path": {
"description": "JSON Pointer path to a specific subtree within the token collection. When set, only the sub-tree at this path is returned.",
"maxLength": 1024,
"type": "string"
},
"ref": {
"description": "AT-URI of the org.designtxt.tokenCollection record to retrieve.",
"format": "at-uri",
"maxLength": 8192,
"type": "string"
},
"resolveReferences": {
"description": "If true, resolve alias references ({token.name}) inline in the response. Defaults to false.",
"type": "boolean"
}
},
"required": [
"ref"
],
"type": "params"
},
"type": "query"
}
},
"description": "XRPC Query to retrieve a design token collection, optionally at a specific subtree path, and optionally with alias references resolved.",
"id": "org.designtxt.getTokens",
"lexicon": 1
}
Metadata
- DID
-
did:plc:34yvx4hv64znmh2i2fezoyqx - CID
-
bafyreiegt7ve72px65bkdvc5hwysz3be6pmdbagye47jhpp6tlundzjfte - Indexed At
- 2026-07-11 18:59 UTC
- AT-URI
-
at://did:plc:34yvx4hv64znmh2i2fezoyqx/com.atproto.lexicon.schema/org.designtxt.getTokens
Version History (2 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
org.designtxt.resolveTokens procedure
XRPC Procedure to resolve a design token resolver document against a set of contextual inputs, producing a fully resolved token collection. Implemented at https://xrpc.designtxt.org/xrpc/org.designtxt.resolveTokens
-
A record containing a collection of design tokens in DTCG 2025.10 format. The record has typed metadata fields (name, description, createdAt) alongside the token tree. Token/group keys sit at the same level as metadata;…