getLexical
Agent Runtimes / api/spacer/lexicals / getLexical
Function: getLexical()
getLexical(
token,id,baseUrl?):Promise<GetLexicalResponse>
Defined in: src/api/spacer/lexicals.ts:72
Get a lexical document by ID.
Parameters
token
string
Authentication token
id
string
The document ID
baseUrl?
string = DEFAULT_SERVICE_URLS.SPACER
Base URL for the API (defaults to production)
Returns
Promise<GetLexicalResponse>
Promise resolving to the document response